Upgrade to Nextcloud 13

Upgrade Nextcloud 13

Before we start upgrading our server please create and verify a backup of your entire environment. It is described in a separate post called “Nextcloud installation guide ext.”. Then ensure having the Nextcloud Release 12.0.5 in place although it would be possible to upgrade from e.g. 12.0.4 to 13 directly:

If your aren’t on 12.0.5 (as shown above) just run the updater to upgrade from ≤ 12.0.4 to 12.0.5 as shown below:

Now you should ensure that all apps are ready for Nextcloud 13. If not (as shown above and printed out by the “Can I Update”-app) you have to decide whether to

  • disable those apps

sudo -u www-data php /var/www/nextcloud/occ app:disable files_clipboard
sudo -u www-data php /var/www/nextcloud/occ app:disable keeweb
  • or wait until compatible versions will be published. I decided to disable those apps using Nextclouds cli.

Now all apps fits Nextclouds new realease requirements and we can start upgrade to Nextcloud 13 using Nextcloud internal Updater:

Start the major upgrade using the internal Updater-app:

 

Follow the Updater-wizzard and after few minutes your Server is upgraded properly:

That’s it…you are already running Nextcloud 13!

My examplarily new config.php looks like:

<?php
$CONFIG = array (
 'instanceid' => 'o***0',
 'passwordsalt' => 'R***X',
 'secret' => 'r***d',
 'trusted_domains' =>
 array (
 0 => '192.168.2.118',
 ),
 'datadirectory' => '/var/nc_data',
 'dbtype' => 'mysql',
 'version' => '13.0.0.14',
 'dbname' => 'nextcloud',
 'dbhost' => 'localhost',
 'dbport' => '',
 'dbtableprefix' => 'oc_',
 'mysql.utf8mb4' => true,
 'dbuser' => 'nextcloud',
 'dbpassword' => 'n***d',
 'installed' => true,
 'htaccess.RewriteBase' => '/',
 'overwriteprotocol' => 'https',
 'loglevel' => 1,
 'logtimezone' => 'Europe/Berlin',
 'logfile' => '/var/nc_data/nextcloud.log',
 'log_rotate_size' => 104857600,
 'cron_log' => true,
 'filesystem_check_changes' => 1,
 'quota_include_external_storage' => false,
 'knowledgebaseenabled' => false,
 'memcache.local' => '\\OC\\Memcache\\APCu',
 'filelocking.enabled' => 'true',
 'memcache.locking' => '\\OC\\Memcache\\Redis',
 'redis' =>
 array (
 'host' => '/var/run/redis/redis.sock',
 'port' => 0,
 'timeout' => 0.0,
 ),
 'maintenance' => false,
 'theme' => '',
 'enable_previews' => true,
 'enabledPreviewProviders' =>
 array (
 0 => 'OC\\Preview\\PNG',
 1 => 'OC\\Preview\\JPEG',
 2 => 'OC\\Preview\\GIF',
 3 => 'OC\\Preview\\BMP',
 4 => 'OC\\Preview\\XBitmap',
 5 => 'OC\\Preview\\Movie',
 6 => 'OC\\Preview\\PDF',
 7 => 'OC\\Preview\\MP3',
 8 => 'OC\\Preview\\TXT',
 9 => 'OC\\Preview\\MarkDown',
 ),
 'preview_max_x' => 512,
 'preview_max_y' => 512,
 'preview_max_scale_factor' => 1,
 'auth.bruteforce.protection.enabled' => true,
 'trashbin_retention_obligation' => 'auto, 7',
 'mail_smtpmode' => 'smtp',
 'skeletondirectory' => '',
 'defaultapp' => 'files',
 'mail_from_address' => 'nextcloud',
 'mail_smtpauthtype' => 'LOGIN',
 'mail_domain' => '***.de',
 'activity_expire_days' => 14,
 'mail_smtpsecure' => 'tls',
 'mail_smtpauth' => 1,
 'mail_smtphost' => '***.kasserver.com',
 'mail_smtpport' => '587',
 'mail_smtpname' => '***',
 'mail_smtppassword' => '***',
 'integrity.check.disabled' => false,
 'overwrite.cli.url' => 'https://192.168.2.118',
 'updater.secret' => '$***S',
 'updater.release.channel' => 'stable',
);

Have fun and enjoy your Nextcloud 13 Server… brings Improved UI, Video and Text Chat, End-to-end Encryption, Improved performance and more


Carsten Rieger

Leave a Reply

Your email address will not be published. Required fields are marked *