-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change configuration hint on admin page #25963
Comments
Right... the only moment when it's ok to move the data directory is directly after the install, before any user data has been written. |
Unfortunately, it is quite popular to change the data-directory and many point like this indicate that it is possible. Is there a way to make it possible? We could check in database, which apps use the absolute path so it can be fixed there (either don't use it from the database at all or provide an occ-command to allow a migration). |
It is not directly possible, because after moving the data folder, ownCloud has no way to know what the old folder was. And oc_storages is a big mess, we can't directly trust which paths it uses. Now thinking of it, maybe if there was an "occ" command "occ maintenance:migrate-data-folder /path/to/target" it could take care of changing everything that's needed. |
Closing in favor of #25970 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
If the data/-directory is accessible, the admin page will show this advice:
The problem is that we do not support moving the data directory:
owncloud-archive/documentation#2303
The text was updated successfully, but these errors were encountered: