-
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
Updater fails to update to 5.0.11 (unable to move ...) #4857
Comments
I think this problem is caused by open-basedir settings. I had the same problem because /media/data/owncloud/data/ is not on the open-basedir-path. Replacing the absolute path to the data-dir in the config.php with a relative path + symlink in the owncloud-directory fixed the problem for me. |
Thank you for you answer! Regards,
|
Is this what you mean, or did I take things to literary? /home/username/www/owncloud/data -> /mnt/wd120/data
|
Looks alright. I also had an absolute path in my config.php -> "/data/owncloud/". Now I have "data/" because the symlink named "data" points to "/data/owncloud/. |
Ok, seems to work! I changed data-dir from /mnt/wd120/data to plain data/, and so far I have been able to see the content of my owncloud in my browser. However, after doing a update/upgrade, I saw a newer oc update 5.0.12 flashing by, but that was before I changed the path in the config.php Is there a way to re-invoke the oc 5.0.12 update/upgrade? I run ubuntu server 12.04.1 I'd hate to do it manually. Peace!
|
I have the same Problem since 5.0.11 |
@VicDeo What do you think? |
@karlitschek initial report was caused by open-basedir settings and resolved by symlinking data-dir. |
@VicDeo This is what is shown on the admin page:
php-Version: 5.3.26 / open_basedir: no value Supplement: Autoupdate to 5.0.12 and 5.0.13 had the same problem. |
@VicDeo Any idea? |
@Octopus2 remove |
Duplicate of owncloud-archive/apps#1561 |
Expected behaviour
The updater updates ownCloud from 5.0.10 to 5.0.11
Actual behaviour
The updater stops in the middle of the process and reports:
Update failed Please fix this and retry.
Steps to reproduce
I already reported this here: http://mail.kde.org/pipermail/owncloud/2013-September/010601.html
There was also somebody else reporting this in the forum: http://forum.owncloud.org/viewtopic.php?f=23&t=15787&p=41304#p41300
Checking the log (see below), at least in my case this seems to be related to the Updater being unable to move files.
Server configuration
Operating system: Ubuntu Server 12.04 (64 bit)
Web server: Apache 2.2.22
Database: MySQL 14.14 Distrib 5.5.32
PHP version: 5.4.13
ownCloud version: 5.0.11
Client configuration
Browser: Firefox 23
Operating system: Ubuntu 13.04
Logs
Web server error log
Nothing relevant, as far as I can tell
ownCloud log (data/owncloud.log)
It seems like the updater has the same problems to move data here which also caused a blank page in the Update center for me (see also here: http://mail.kde.org/pipermail/owncloud/2013-September/010585.html).
I double- and triple-checked the permissions and ownership. I definitely don't have any security extensions installed.
I checked to do some moving like this as www-data user from the command line, and that also works without problems (sudo -u www-data mv /www/owncloud/something /media/data/owncloud/data/).
So the updater seems to have some weird problems moving files/folders...
The text was updated successfully, but these errors were encountered: