I’m a novice when it comes to Linux systems and ownCloud. So when I do updates, I’m pretty terrified at the idea. However, I like to keep up with the latest before I get to far behind and they don’t support the desktop software or the software leaves my server version behind. So here’s my most recent upgrade steps to migrate from v9.0.1 to v9.0.4 Keep in mind, I may not be doing it properly, or your way, but it works for me, for now.
My system consists of:
Ubuntu Server 14.04LTS
Before any Ubuntu server updates or ownCloud changes, I make a backup of ownCloud. I suggest you do the same.
Since the new v9.1 has been released, you need to obtain 9.0.4 in a different repository than the default. I like to REM out any old sources in my owncloud.list file and start over before any upgrades.
sudo nano /etc/apt/sources.list.d/owncloud.list
Comment out all the entries. Typically adding a “#” to the beginning of the line will REM/COMMENT those statements. You can also just delete them. Especially any OLD version repositories.
# deb http://download.opensuse.org/repositories/isv:/ownCloud:/community:/7.0/xUbuntu_14.04/ /
# deb http://download.opensuse.org/repositories/isv:/ownCloud:/community:/8.0/xUbuntu_14.04/ /
# deb http://download.opensuse.org/repositories/isv:/ownCloud:/community:/8.1/xUbuntu_14.04/ /
# deb http://download.owncloud.org/download/repositories/8.2.3/xUbuntu_14.04/ /
# deb http://download.owncloud.org/download/repositories/stable/xUbuntu_14.04/ /
Put ownCloud into Maintenance Mode: