-
Notifications
You must be signed in to change notification settings - Fork 78
Upgrading existing image #37
Comments
There is nothing we have added to the image to handle upgrading. On startup, the script only copies in the owncloud files if owncloud/8.2/apache/docker-entrypoint.sh Lines 4 to 7 in 974d72d
I would assume that the regular upgrade process would work: https://doc.owncloud.org/server/8.0/admin_manual/maintenance/upgrade.html. |
I noticed that self upgrading from the webUI failed: I personally prefer to mount just the necessary data (like just I found a "nice" way of handling that, I run this: I post this here for people that might be interested to upgrade on an unattended way. But I'd like to know if you are interested in a PR that we could put this in the docker-entrypoint. Let me know! |
Any news on this? Currently i am using version 8-apache and i would like to upgrade to version 9-apache. Data is stored inside a volume, and mysql is running in a second container. Is it enough to stop the container, delete the file verison.php, pull in the newest version and start up everything again? |
I just upgraded, it was almost "smooth". I have my own setup on docker-compose: I replaced this line: https://github.com/indiehosters/ownCloud/blob/master/docker-compose.yml#L10 I pulled and restarted, and everything was almost fine. |
I also don't like the way this image is build, because all code is in a volume instead of the image itself ! Take a look at this Nextcloud image https://github.com/chrootLogin/docker-nextcloud/blob/master/Dockerfile to see how to build a portable and upgradable image |
@vbauchart this is free software, please use what you feel comfortable with :) In the mean time, we are discussing this also in Nextcloud: |
Just tried the self-updater, and it appears the problem with it is a simple fix:
😅 |
Hi guys,
I wonder how the upgrade is handled. Let's say I'm running owncloud image 7.0 and I want to upgrade to the latest. How should one handle that?
I assume a volume container should be used for data but will new image over the data from older image able to handle the (if necessary) upgrade?
The text was updated successfully, but these errors were encountered: