2019-10-26 00:00:00

Communications|Technologycloud|configure|install|linux|nextcloud|server|software|update

Upgrade to Nextcloud version 17

Open source cloud server Nextcloud development team has released version 17 of the software. We decided to upgrade our Nextcloud 16 system to version 17, and document the required steps while doing it. Here is a guide you can follow if you have an older version of Nextcloud installation that you want to upgrade to the latest version.

If you have to start from scratch with Nextcloud, this guide for installing Nextcloud 17 on Debian 10 Linux server covers the steps and potential problems during the process.

New features in Nextcloud 17

New features in Nextcloud 17 include:

  • Collaborative rich text editor
  • Remote wipe - allows an admin to wipe synced data from remote (mobile) devices.
  • Secure mailbox for Outlook
  • Additional security options
  • More options for two factor authentication
  • Default apps updated

All the new features of Nextcloud 17 are introduced in this blog post

Prepare for the upgrade

Major releases of Nextcloud must be upgraded in ascending order without skipping a release. You can't jump from version 15 to 17, but first you have to upgrade to 16 and after that to 17.

Making a backup copy of Nextcloud database and user files is an essential task to do before starting. Three key directories to backup are:

  1. Nextcloud database (usually stored in mysql or mariadb).
  2. Nextcloud data directory (default location is your-nextcloud-path/data)
  3. Nextcloud configuration directory (your-nextcloud-path/config).

Detailed backup instructions by Carsten Rieger outlines every step, and has even a script that could be created to automate future backups.

nextcloud 16, update to  version 17
Nextcloud admin panel - Overview.

How to upgrade to Nextcloud 17

As the Nextcloud documentation states, there are three ways to update the software:

  1. Running the upgrade with the Updater tool that can be found in the admin panel. This is the easiest method, and the one that we will follow in this guide.
  2. Download the new software package and install it manually. User data must be saved before installation. Here is our guide how to install a shiny new Nextcloud 17 on a server.
  3. Ubuntu Linux server admins may use a tool known as snap.

Nextcloud 17 was available when we were writing this guide, but in the admin panel it was categorized as Beta. For the purpose of writing this, I changed our Nextcloud update channel to beta, although I normally only update Stable releases.

Anyway, let's start and walk through the installation with the Updater tool.

  1. Point your web browser to your Nextcloud, and login to the admin account.
  2. Click on the account icon at top right corner. At the left column, select Overview, and scroll down to Version.
  3. If you see line "A new version is available Nextcloud 17" push Open Updater. The upgrade process will start.
nextcloud updater upgrading to release 17
  • 4. After a few initial steps, the process stops, and waits for you to push Start Update.
  • 5. The program will take some time to run. Also Nextcloud apps you may have installed are being updated.
  • 6. When Continue to Nextcloud is displayed, the Updater has done its job.
  • 7. Open Overview in the admin panel, and check for any error messages.
  • 8. Update all your Nextcloud mobile apps and desktop apps.
nextcloud update from 16 to 17

Possible problems during the upgrade

Before the Updater tool begins installing new version of the software, it performs some checks. This is why you may see error messages before the software has been updated.

For instance, I had some extra test directories in the Nextcloud directory that Updater tool didn't like at all. I had to remove the directories and files before the Updater would proceed.

Then, Nextcloud makes a backup copy of a number of files. I had multiple versions of the config file for testing purposes. Again, the Updater tool didn't like that at all, but stopped. I had to remove the files.

After the Updater tool had done its job, I checked the Admin Panel - Overview section. A warning message was displayed:
'Your web server is not properly set up to resolve "/ocm-provider/"

To correct it, edit Apache configuration file in /etc/apache2/sites-available/nextcloud.conf
(or whatever your Nextcloud Apache configuration file happens to be). Insert two lines into the file (enter your own path):
Alias /ocm-provider "/var/www/nextcloud/ocm-provider/"
Alias /ocs-provider "/var/www/nextcloud/ocs-provider/"

Activate the changes:
systemctl reload apache2

After updating all our mobile apps and desktop apps to the latest versions, and waiting for (and getting) updates to a few Nextcloud server apps, release 17 has been running smoothly.

News

2025-01-21 18:01:00

Well, they are capitals of European countries that have been awarded an extra honor for 2025 by the #EU Commission. These capital awards are annual, so here are the cities selected to represent the best city in each category in 2025. #Europehttps://klaava.com/sure-states-have-capitals-but-in-europe-there-are-also-culture-smart-and-green-capitals/


News

2025-01-15 08:59:00

Not to mention travel – when real life experiences in a destination don’t match the expectations and everything that can go wrong, goes wrong. Well, that’s the beauty of #travel. #Europehttps://klaava.com/nitpickers-travel-journal-travel-lessons-learned-in-2024/


News

2025-01-11 13:25:00

A conclusion from the Traffic Scorecard 2024 results is it takes about double the time to drive along the streets of London (the most congested city in #Europe) than the streets of Munich, which is ranked the 21st most congested European city. #traffic #travelhttps://klaava.com/the-cities-in-europe-where-people-are-stuck-in-traffic-most-often/


A shop dedicated to tasty juice

2025-01-09 14:04:10

arihak

A shop dedicated to tasty juice


in the busy old town center.

2025-01-08 16:16:08

in the busy old town center.


News

2025-01-07 14:56:00

A reminder for keeping your data safe when traveling. Why? It is likely that you have to access your most critical data in risky situations on the road.https://cybernews.com/privacy/how-to-protect-your-sensitive-information-while-traveling/


News

2025-01-02 16:33:00

What about the scenery, you who are hurrying to the other side?#streetphotography#streetphoto


News

2025-01-01 16:06:00

According to a survey, third of travelers are victims of online booking scams. Since it is so convenient to make travel reservations online, that’s what we do. The problem is that we haven’t adopted new methods to avoid online scams. #travel #scamhttps://klaava.com/a-traveler-is-more-likely-to-get-scammed-when-booking-a-trip-than-being-robbed-in-a-destination/


Perhaps road builders had too much time?

2024-12-29 15:19:44

Perhaps road builders had too much time?


News

2024-12-27 18:25:00

#Photography is full of so-called “rules” that can feel overwhelming. However, some of these “rules” are downright myths.https://www.diyphotography.net/debunking-seven-common-myths-photographers-still-believe-in/


What should I read next?

2024-12-25 15:18:22

arihak

What should I read next?


News

2024-12-23 11:34:00

Since #EU #DMA has specified #Apple as a #gatekeeper in #mobile devices, EU considers Apple should implement several iOS connectivity features, predominantly used for and by connected devices. For instance, notifications, automatic Wi-Fi connection, AirPlay, AirDrop, or Bluetooth audio switching.https://digital-markets-act.ec.europa.eu/commission-seeks-feedback-measures-apple-should-take-ensure-interoperability-under-digital-markets-2024-12-19_en


News

2024-12-21 14:51:00

Smartphone users in the US are not impressed with the latest artificial intelligence features on their devices with 73 percent of Apple users and 87 percent of Samsung users unsatisfied, according to a new study. #phone #AIhttps://petapixel.com/2024/12/19/majority-of-smartphone-users-are-unimpressed-with-ai-features-study-finds/


There should be enough ice already to open the hotel

2024-12-20 16:40:17

There should be enough ice already to open the hotel


Hiking on a mountain experience: the end of an ancient tunnel

2024-12-09 14:12:31

arihak

Hiking on a mountain experience: the end of an ancient tunnel


on a hot summer day

2024-12-02 18:47:01

on a hot summer day


Cloudy day in a valley

2024-11-25 16:31:59

arihak

Cloudy day in a valley


In the shade of a lone palm tree

2024-11-25 15:46:29

In the shade of a lone palm tree


an abandoned town?

2024-11-07 18:35:22

an abandoned town?


A quiet moment between heavy rain

2024-10-24 17:34:45

A quiet moment between heavy rain