Problem with Update from OwnCloud 8.2.1 to 8.2.2 – [solved]

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 🙂

6 Replies to “Problem with Update from OwnCloud 8.2.1 to 8.2.2 – [solved]”

  1. 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!

  2. 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!

Leave a Reply