I was a bit desperate today, while trying to update my owncloud from version 8.2.1 to 8.2.2. I always got this message in red characters.
Update failed. Unable to move /DOCUMENTROOT/_oc-upgrade/8.2.2.2/core/resources to /DOCUMENTROOT/resources
First I thought the problems were wrong permissions, but the solution is much easier. The owncloud version number in the file
[DOCUMENTROOT]/owncloud/apps/updater/lib/location/core.php
must be 8.2 (see screenshot above)!
In my file it was 8.1. Just change it and start the update again, then it will work :)
Thanks for this post! Solved the exact problem I was having upgrading ownCloud from 8.2.1.4 to 8.2.7. You saved me a ton of time!
Hi, thanks for this post! Like Frank, solved my problem when migrated ownCloud version :)
Hagen, thanks a lot for this post. I don’t think there is any chance that I would have come by it myself.
To say “the solution was easier” sounds like an understatement for me.
All the best!
Perfect solution, thanks a lot!!
Thanks a lot!
Great!
It helps me to solve the problem.
Thanks!