Hi!
(Starting new thread to discuss problems with the container upgrade.)
I’ve upgraded my docker owncloud/server from 10.3.2 to 10.9.1
New container runs using old data/files plus new config. In theory, should just work.
When I runuser -u www-data php occ upgrade, I get:
Your Data directory must be an absolute path
Check the value of "datadirectory" in your configuration
Your Data directory is invalid
Please check that the data directory contains a file ".ocdata" in its root.
Cannot create "data" directory
This can usually be fixed by <a href="https://doc.owncloud.com/server/10.9/go.php?to=admin-
dir_permissions" target="_blank" rel="noreferrer">giving the webserver write access to the root
directory</a>.
An unhandled exception has been thrown:
Exception: Environment not properly prepared. in
/var/www/owncloud/lib/private/Console/Application.php:139
Stack trace:
#0 /var/www/owncloud/console.php(115): OC\Console\Application->loadCommands()
#1 /var/www/owncloud/occ(11): require_once('/var/www/ownclo...')
#2 {main}
I’ve been searching all afternoon and don’t see anything obvious.
My config file points datadirectory to /mnt/data/files
I do have a .ocdata in that directory.
My /mnt/data/files directory is owned by www-data:root
Any suggestions for fixing?
Thanks,
Bobby