Support intro
Sorry to hear you’re facing problems
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
Nextcloud version (eg, 20.0.2): 27.0.2.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.2 LTS
Apache or nginx version (eg, Apache 2.4.25): 2.4.52-1ubuntu4.6
PHP version (eg, 7.4): 8.1.21
The issue you are facing:
After Upgrading via Web Updater from 27.0.1 to 27.0.2 i had some missing db indexes.
I was trying to fix this via sudo -u www-data ./occ db:add-missing-indices and got
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
So i was curious, a just updated to the latest version but got this message, so i did sudo -u www-data ./occ config:system:get version and got
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
25.0.8.2
Also my config.php stats version 25.0.8.2, but the Web UI and also security scan gives me 27.0.2.1
So i guess the db already is on 27.0.2.1 but the files in wwwroot are still 25.0.8.2?
If i try sudo -u www-data php --define apc.enable_cli=1 /var/www/nextcloud/updater/updater.phar
i get
Nextcloud Updater - version: v25.0.3-2-gd49ee0d
Current version is 25.0.8.
Update to Nextcloud 25.0.10 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-25.0.10.zip
Open changelog ↗
Any ideas what to do?
Thanks for any help in this.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
I don’t know
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!):
<?php
$CONFIG = array (
'instanceid' => 'octrg4w1hl10',
'passwordsalt' => 'xxxx',
'secret' => 'xxxx',
'trusted_domains' =>
array (
0 => '172.16.0.80',
),
'datadirectory' => '/home/data',
'dbtype' => 'mysql',
'version' => '25.0.8.2',
'overwrite.cli.url' => 'http://172.16.0.80',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextclouduser',
'dbpassword' => 'xxxx',
'installed' => true,
'maintenance' => false,
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
PASTE HERE