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.5): 24.0.7
Operating system and version (eg, Ubuntu 20.04): TrueNAS 13.0U2
Apache or nginx version (eg, Apache 2.4.25): Caddy 2.5.2
PHP version (eg, 7.4): PHP 8.0
The issue you are facing:
Can’t update through the web interface or command line. It seem to think all the steps to update are already done. All the steps to update have a green check before I do anything. Update button goes to immediately to the main page. The log files have could not verify token errors. I am able to login to NC as admin without issue that I know of.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Try to update NC version with the update button
- or Issue OCC command to update NC
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 (
'passwordsalt' => 'redacted',
'secret' => 'redacted',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'cloud.mydomain.com',
2 => '192.168.5.81',
),
'datadirectory' => '/mnt/files',
'dbtype' => 'mysql',
'version' => '24.0.7.1',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:/tmp/mysql.sock',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'redacted',
'installed' => true,
'instanceid' => 'redacted',
'logtimezone' => 'America/New_York',
'log_type' => 'file',
'logfile' => '/var/log/nextcloud.log',
'loglevel' => '2',
'logrotate_size' => '104847600',
'memcache.local' => '\\OC\\Memcache\\APCu',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'htaccess.RewriteBase' => '/',
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => 'redacted',
'mail_domain' => 'gmail.com',
'mail_smtpauth' => '1',
'mail_smtpport' => '465',
'mail_smtpname' => 'redacted',
'mail_smtppassword' => 'redacted',
'mail_smtphost' => 'smtp.gmail.com',
'maintenance' => false,
'overwriteprotocol' => 'https',
'overwritehost' => 'cloud.mydomain.com',
'default_phone_region' => 'US',
'overwrite.cli.url' => 'https://cloud.mydomain.com',
'theme' => '',
'data-fingerprint' => 'redacted',
'trusted_proxies' =>
array (
0 => '192.168.5.81',
1 => 'localhost',
2 => 'cloud.mydomain.com',
3 => '::1',
),
'updater.secret' => 'redacted',
);
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.
Error core Tried to log in admin but could not verify token