Upgrading to ownCloud Server 8.2
ownCloud Server 8.2 was released yesterday with a much improved user interface and many new admin goodies! It is time to start thinking about upgrading and this blog post aims to tell you everything you need to know. Note that there’s a change in location for the Linux Packages, be sure to carefully read what’s […]
ownCloud Server 8.2 was released yesterday with a much improved user interface and many new admin goodies! It is time to start thinking about upgrading and this blog post aims to tell you everything you need to know. Note that there’s a change in location for the Linux Packages, be sure to carefully read what’s going on there.
Why Should I Upgrade?
ownCloud Server 8.2 introduces many smaller and larger improvements all over ownCloud, from the redesigned user interface with the new sidebar and rewritten Gallery app to many new capabilities for administrators to configure and control ownCloud. You can find out more about what is new in our announcement blog and see a full overview on the website.
— Owncube (@Owncube) October 21, 2015
If you would like the benefit of these improvements then it’s time for you to move to ownCloud 8.2!
Before you upgrade, be sure to carefully read the ownCloud 8.2 release notes. It is very important to note, for example, these things:
config.phpis set to
0by default. This prevents unnecessary update checks and improves performance. If you are using external storage mounts such as NFS on a remote storage server, set this to
1so that ownCloud will detect remote file changes.
XSendFilesupport has been removed, so there is no longer support for serving static files from your ownCloud server. It does not work with our new High Level File Locking capability (which protects against certain race conditions).
There are more important changes like these so give the release notes a good read.
Be sure that you have the base requirements for ownCloud 8.2:
- A Linux or BSD server (Mac OS X is possible but less tested)
- MySQL 5.5 + / MariaDB 10.x
- PHP 5.4 +
- Apache 2.4 +
There are other web servers (like Ngnix) and databases (like PostgreSQL) supported as well.
Usually, newer versions mean better performance with ownCloud. This is especially true for PHP. If you use ownCloud with other web servers like Ngnix or on platforms like a NAS, be sure to have an extra careful look at the documentation!
Not all ownCloud apps developed for and on earlier releases are yet modified to work with ownCloud 8.2, so we urge you to check if your favorite apps are already compatible with ownCloud 8.2. You can usually check on the online ownCloud app overview.
When it comes to stability and potential upgrade issues, we always urge users to test ownCloud Betas before of the release and to report any bugs you come across. Only a test on your specific circumstances can tell you if a piece of software will work for you. However, ownCloud 8.2 has seen significant testing, including by using our automated Smashbox testing, a tool developed by CERN. We are therefore very confident in the stability of this release.
We still strongly recommend to make a backup of your database and data. You can find instructions on how to do that here.
The Upgrade Itself
We have written a great guide on upgrading ownCloud in our documentation. Carefully read the document, make the appropriate choices about how you will upgrade (with packages, manually or the updater app), and proceed with the steps described.
Note that if you wish to use the updater app, we usually release a new major ownCloud version for the updater app within a week after the release, provided no big problems are found, so this is currently not yet available. If we notice serious upgrade issues we will delay the automatic update until we released the first maintenance update.
With regard to Linux Packages, there are two major changes.
- First of all, from now on, packages will appear on download.owncloud.org. For ownCloud 8.2 you can find them on this page. You will find the familiar installation instructions for our supported Linux distributions there.
If you are currently using the
Stablerelease channel, you will have to manually change over to this new repository!
- Second, the Linux packages will show a different upgrade behavior. Linux packages before 8.2 send an existing ownCloud server into maintenance mode, install the new code base, perform
occ upgradeon behalf of the system administrator, then exit out of maintenance mode. This often came unexpected to the admin and is in general not safe as an unattended install. Third party apps are also likely to break this automated process.
Linux packages 8.2 and up change an existing ownCloud server into maintenance mode, install the new code base, and leave the server in maintenance mode. It is up to the system administrator to finalize the upgrade.
While we strive to keep managing ownCloud as easy as possible (including the upgrade procedure!) and test as many upgrade scenarios, the documentation contains a troubleshooting section with instruction on how to recover from the most typical problems.
If this does not help you, there is a support page on owncloud.org which links to the various resources available to you. Home users should check out the forums, which have a special section devoted to ownCloud 8.2 upgrades with excellent and up to date information. Professional users can find resources on owncloud.com and are strongly urged to wait with the upgrade until the availability of the ownCloud support subscriptions. These will become available next month. It is, as usual, recommended to test this release of ownCloud Server to ensure compatibility with your infrastructure and see if the features fulfill your needs.
If you currently don’t have ownCloud, there is a new and easy way to get up and running! In the Appliance tab on our download page we offer a fully pre-configured virtual machine image which you can easily run in a tool like VirtualBox. Thanks to the built in ownCloud Proxy app you can have a stable url and an easy way through firewalls blocking you from accessing your ownCloud.