Update to 18.0.6

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 18.0.2): 18.0.4
Operating system and version (eg, Ubuntu 20.04):Ubuntu 20.04)
Apache or nginx version (eg, Apache 2.4.25): nginx/1.17.6
PHP version (eg, 7.1):PHP 7.4.3

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:
Start update in browser:

Nextcloud
Nextcloud will be updated to version 18.0.6
Please make sure that the database, the config folder and the data folder have been backed up before proceeding.

Update starts but fails:

Nextcloud
Update to 18.0.6

An error occurred.
Detailed logs

Preparing update

Set log level to debug

Turned on maintenance mode

Repair step: Repair MySQL collation

Repair info: All tables already have the correct collation -> nothing to do

Repair step: Repair SQLite autoincrement

Repair step: Copy data from accounts table when migrating from ownCloud

Repair step: Drop account terms table when migrating from ownCloud

Updating database schema

Updated database

Checking for update of app “accessibility” in appstore

Checked for update of app “accessibility” in appstore

Checking for update of app “activity” in appstore

Checked for update of app “activity” in appstore

Checking for update of app “bruteforcesettings” in appstore

Checked for update of app “bruteforcesettings” in appstore

Checking for update of app “calendar” in appstore

Checked for update of app “calendar” in appstore

Checking for update of app “cloud_federation_api” in appstore

Checked for update of app “cloud_federation_api” in appstore

Checking for update of app “comments” in appstore

Checked for update of app “comments” in appstore

Checking for update of app “contacts” in appstore

Checked for update of app “contacts” in appstore

Checking for update of app “dav” in appstore

Checked for update of app “dav” in appstore

Checking for update of app “documentserver_community” in appstore

Update app “documentserver_community” from appstore

An error occurred.

Please reload the page.

Reloading the page does nothing so I turn maintenance mode off in terminal:

Nextcloud
Maintenance mode

This Nextcloud instance is currently in maintenance mode, which may take a while. This page will refresh itself when the instance is available again.

Contact your system administrator if this message persists or appeared unexpectedly.

I wait half an hour, nothing happens so I turn maintenance mode off again. I end up back to where I started:

Nextcloud
Nextcloud will be updated to version 18.0.6
Please make sure that the database, the config folder and the data folder have been backed up before proceeding.
To avoid timeouts with larger installations, you can instead run the following command from your installation directory:

./occ upgrade

If I try and run ./occ upgrade from my installation directory:

root@ubuntuzfs:/var/www/nextcloud# ./occ upgrade
bash: ./occ: Permission denied

Any help with this would be much appreciated.

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

:eyes: looki looki :eyes: here

Ok that worked thanks but will I need to disable documentserver_community before every update from now on?

Be aware that after the update succeeds, you wont be able to enable documentserver anymore, so if you depend on it, dont update.

1 Like

This topic was automatically closed after 83 days. New replies are no longer allowed.