Steps to reproduce
- Install ownCloud
- Enable encryption (master key)
- Move Key Location
Expected behaviour
Changing the key location from the original location to /etc/keys
Actual behaviour
Getting an error saying “New root folder doesn’t exist. Please create the folder or check the permissions and try again.”
Server configuration
Operating system:
Ubuntu Server 18.04 LTS
Web server:
Apache 2.4.29
Database:
MySQL 5.7.23-0ubuntu0.18.04.1
PHP version:
PHP Version 7.2.7-0ubuntu0.18.04.2
ownCloud version: (see ownCloud admin page)
10.0.9.5
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
The official owncloud repositories
Signing status (ownCloud 9.0 and above):
No errors have been found.
The content of config/config.php:
{
“system”: {
“updatechecker”: false,
“instanceid”: “oczn6emam469”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“192.168.70.206”,
],
“datadirectory”: “/media/owncloud”,
“overwrite.cli.url”: “http://192.168.70.206/”,
“dbtype”: “mysql”,
“version”: “10.0.9.5”,
“dbname”: “owncloud”,
“dbhost”: “localhost”,
“dbtableprefix”: “oc_”,
“mysql.utf8mb4”: true,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “Europe/Berlin”,
“installed”: true,
“memcache.local”: “\OC\Memcache\Redis”,
“filelocking.enabled”: “true”,
“memcache.distributed”: “\OC\Memcache\Redis”,
“memcache.locking”: “\OC\Memcache\Redis”,
“redis”: {
“host”: “localhost”,
“port”: 6379,
“timeout”: 0,
“dbindex”: 0
},
“singleuser”: false
}
}
List of activated apps:
Enabled:
- comments: 0.3.0
- configreport: 0.1.1
- dav: 0.3.2
- encryption: 1.3.1
- federatedfilesharing: 0.3.1
- federation: 0.1.0
- files: 1.5.1
- files_external: 0.7.1
- files_sharing: 0.10.1
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- market: 0.2.5
- notifications: 0.3.4
- provisioning_api: 0.5.0
- systemtags: 0.3.0
- updatenotification: 0.2.1
Are you using external storage, if yes which one:
Are you using encryption: yes/no
yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
no
Client configuration
Browser:
Google Chrome Version 68.0.3440.84
Operating system:
Windows 7 Professional
I’ve done all the steps like said in the documentation but everytime I’m running into the same issue. The www-data and root user have both access to the folder and also the neccessary permissions.
It’s worth to notice that my data folder is on a second partition mounted on /media/owncloud.
Also I’m accessing the ubuntu-server via PuTTY (SSH).
I’ve also re-done these steps with different folders (e.g. /keys/ or /etc/enc/ and so on) but I always got the same error message.
Hope you guys can help me - thanks in advance!
Best
jf712