Steps to reproduce
- Moved data folder to an external HDD
- modifications to the path in the config.php were done
- When uploading or creating a folder on owncloud, it recreates the data folder inside the previous default location
- Gives me the message (in owncloud.log which is in the right new location): User backend OC User Database is returning home … user which differs from existing value
Expected behaviour
Have the data in the new location
Actual behaviour
The owncloud.log file is in the correct new location but nothing else is here. What can I do? I haven’t seen on the forum or anywhere how to solve this problem…
Content of owncloud.log:
“reqId”:“Jvj0dpLwJjsMYP4pWyXI”,“level”:3,“time”:“2019-12-22T09:17:48+00:00”,“remoteAddr”:“192.168.1.154”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/index.php/login?redirect_url=%252Findex.php%252Fapps%252Ffiles%252F%253Fdir%253D%252F%2526fileid%253D3",“message”:“User backend OC\User\Database is returning home: /mnt/ExternalWD/owncloud/data/jauf for user: jauf which differs from existing value: /var/www/html/owncloud/data/jauf”}
The folder data is recreated in the old location.
Server configuration
Operating system: Ubuntu server 18.04.3 LTS
Web server: Apache
Database: MariaDB
ownCloud version: (see ownCloud admin page) 10.3.2.2
The content of config/config.php:
{
“system”: {
“instanceid”: “ocp3e1uubcv8”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“192.168.1.105”
],
“datadirectory”: “/mnt/ExternalWD/owncloud/data”,
“overwrite.cli.url”: “http://192.168.1.105/owncloud”,
“dbtype”: “mysql”,
“version”: “10.3.2.2”,
“dbname”: “owncloud”,
“dbhost”: “localhost”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “UTC”,
“installed”: true,
“loglevel”: 2,
“maintenance”: false,
“theme”: “”,
“updater.secret”: “REMOVED SENSITIVE VALUE”
},
“apps”: {
“audioplayer”: {
“enabled”: “yes”,
“installed_version”: “2.8.4”,
“signed”: “true”,
“types”: “filesystem”
},
“backgroundjob”: {
“lastjob”: “128”
},
“comments”: {
“enabled”: “yes”,
“installed_version”: “0.3.0”,
“types”: “logging,dav”
},
“configreport”: {
“enabled”: “yes”,
“installed_version”: “0.2.0”,
“types”: “filesystem”
},
“core”: {
“backgroundjobs_mode”: “cron”,
“enable_external_storage”: “no”,
“first_install_version”: “10.0.10.4”,
“installedat”: “1538424966.4386”,
“lastcron”: “1570891449”,
“lastupdateResult”: “[]”,
“lastupdatedat”: “1577006268”,
“oc.integritycheck.checker”: “[]”,
“public_files”: “files_sharing/public.php”,
“public_webdav”: “dav/appinfo/v1/publicwebdav.php”,
“updater.secret.created”: “1573414247”,
“vendor”: “owncloud”
},
“dav”: {
“enabled”: “yes”,
“installed_version”: “0.5.0”,
“types”: “filesystem”
},
“federatedfilesharing”: {
“enabled”: “yes”,
“installed_version”: “0.5.0”,
“types”: “filesystem”
},
“federation”: {
“enabled”: “yes”,
“installed_version”: “0.1.0”,
“types”: “authentication”
},
“fictitious”: {
“datadir”: “/mnt/ExternalWD/owncloud/”
},
“files”: {
“cronjob_scan_files”: “500”,
“enabled”: “yes”,
“installed_version”: “1.5.2”,
“types”: “filesystem”
},
“files_external”: {
“enabled”: “yes”,
“installed_version”: “0.7.1”,
“ocsid”: “166048”,
“types”: “filesystem”
},
“files_mediaviewer”: {
“enabled”: “yes”,
“installed_version”: “1.0.1”,
“types”: “”
},
“files_pdfviewer”: {
“enabled”: “no”,
“installed_version”: “0.11.1”,
“ocsid”: “166049”,
“signed”: “true”,
“types”: “”
},
“files_sharing”: {
“enabled”: “yes”,
“installed_version”: “0.12.0”,
“types”: “filesystem”
},
“files_trashbin”: {
“enabled”: “yes”,
“installed_version”: “0.9.1”,
“types”: “filesystem”
},
“files_versions”: {
“enabled”: “yes”,
“installed_version”: “1.3.0”,
“types”: “filesystem”
},
“files_videoplayer”: {
“enabled”: “yes”,
“installed_version”: “0.10.1”,
“types”: “”
},
“firstrunwizard”: {
“enabled”: “yes”,
“installed_version”: “1.2.0”,
“ocsid”: “166055”,
“types”: “”
},
“gallery”: {
“enabled”: “yes”,
“installed_version”: “16.1.1”,
“signed”: “true”,
“types”: “”
},
“impersonate”: {
“enabled”: “yes”,
“installed_version”: “0.5.0”,
“signed”: “true”,
“types”: “”
},
“market”: {
“audioplayer”: “2.8.4”,
“enabled”: “yes”,
“files_pdfviewer”: “0.11.0”,
“gallery”: “16.1.1”,
“impersonate”: “0.5.0”,
“installed_version”: “0.5.0”,
“key”: null,
“market”: “0.4.0”,
“richdocuments”: “2.1.2”,
“signed”: “true”,
“types”: “”
},
“notifications”: {
“enabled”: “yes”,
“installed_version”: “0.5.0”,
“types”: “logging”
},
“provisioning_api”: {
“enabled”: “yes”,
“installed_version”: “0.5.0”,
“types”: “prevent_group_restriction”
},
“richdocuments”: {
“enabled”: “yes”,
“installed_version”: “2.2.0”,
“ocsid”: “174727”,
“signed”: “true”,
“types”: “prevent_group_restriction”
},
“systemtags”: {
“enabled”: “yes”,
“installed_version”: “0.3.0”,
“types”: “logging”
},
“updatenotification”: {
“core”: “10.2.1”,
“enabled”: “yes”,
“installed_version”: “0.2.1”,
“notify_groups”: “[]”,
“types”: “”
},
“wallpaper”: {
“enabled”: “no”,
“installed_version”: “0.1”,
“signed”: “true”,
“types”: “”
}
}
}