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): 17.?
Operating system and version (eg, Ubuntu 20.04): Ubuntu 18.04.6 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.29 (Ubuntu)
PHP version (eg, 7.4): PHP 8.1.2 (cli) (built: Jan 24 2022
The issue you are facing:
Continuous issues trying to update this server.
Actual Nextcloud operation has been relatively trouble free otherwise.
Can I backup the database and just move it to a newly built Ubuntu 22.04 with Nextcloud 24.03?
Current error:
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘ALTER TABLE oc_addressbooks
CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;’: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
Previous error:
# Cannot declare class OCA\Talk\Migration\Version2000Date20170707093535
I keep
Is this the first time you’ve seen this error? (Y/N): I get a new error everytime I resolve one error and rerun the upgrade.
Steps to replicate it:
- Launch update
The output of your Nextcloud log in Admin > Logging:
server currently in maintenance
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'ffggffbg tv gdd',
'passwordsalt' => ‘dgbdaxxfgfxsst5)',
'secret' => 'zzdhdvvhhnngf',
'trusted_domains' =>
array (
0 => '
1 => 'localhost',
2 => '127.0.0.1',
3 =>
4 => '
5 => '
6 => 'files',
7 => '',
8 => '
),
'datadirectory' => '/var/www/nextcloud/data',
'overwrite.cli.url' => 'https://192.168.1.1/nextcloud',
'dbtype' => 'mysql',
'version' => '17.0.10.1',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' =>
'dbpassword' =>
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'cloud',
'mail_domain' =>
'mail_smtpauth' => 1,
'maintenance' => false,
'updater.release.channel' => 'stable',
'theme' => '',
'loglevel' => 0,
'mail_smtphost' => 'mail.office365.com',
'mail_sendmailmode' => 'smtp',
The output of your Apache/nginx/system log in /var/log/____
:
no system log. just access.log and error.log
output from error.log:
/var/log/apache2$ more error.log
[Wed Aug 24 06:25:04.414329 2022] [ssl:warn] [pid 41522] AH01909: 127.0.1.1:443:0 serve
r certificate does NOT include an ID which matches the server name
[Wed Aug 24 06:25:04.414765 2022] [mpm_prefork:notice] [pid 41522] AH00163: Apache/2.4.
29 (Ubuntu) OpenSSL/1.1.1g configured -- resuming normal operations
[Wed Aug 24 06:25:04.414780 2022] [core:notice] [pid 41522] AH00094: Command line: '/us
r/sbin/apache2'
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.
Nothing .log in /var/nextcloud