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): 22.0.0 - 22.0.0.11
Operating system and version (eg, Ubuntu 20.04): Linux 5.16.9-arch1-1 x86_64
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.38 (Debian) (apache2handler)
PHP version (eg, 7.4): 7.4.22
The issue you are facing:
- attempting to update nextcloud always fails. I have downloaded all version above my current on with the intention of sequentially updgrading, but simply attempting to upgrade from 22.0.0.11 → 22.1.0 fails. This has been several months of trying to figure this out on my own from the documentation, forums, repo issues, and random blog posts, but at this point i need some definitive instructions on what exactly the upgrade process steps should be.
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
- stop++remove containers
- replace
nexctloud
application folder with new version - update version in config.php
- “compose up”
- put nextcloud in maintenance mode
- try to updgrade (have tried both ways, always after running through all the previous steps)
6a.docker-compose exec -u www-data nextcloud-app php occ upgrade
- this will complete successfully, but the web UI perpetually states I need to complete an upgrade
6b.docker-compose exec -u www-data nextcloud-app php updater/updater.phar
- this starts and immediately stops, none of the boxes get checked
The output of your Nextcloud log in Admin > Logging:
too large to paste;
https://nextcloud.ammanas.ddns.net/index.php/s/58sTR5kXPC2mpHG
pw: pHtLwgZ9Gn
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'trashbin_retention_obligation' => 'auto, 30',
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'overwrite.cli.url' => 'overwrite.cli.url',
'overwritehost' => 'overwritehost',
'overwriteprotocol' => 'https',
'overwritewebroot' => '',
'overwritecondaddr' => 'overwriteconaddr',
'instanceid' => 'instanceid',
'passwordsalt' => 'passwordsalt',
'secret' => 'secret',
'trusted_domains' =>
array (
0 => 'localhost',
),
'csrf.optout' =>
array (
0 => '/KeeWeb\\/\\d+\\.\\d+\\.\\d+/',
1 => '/^WebDAVFS/',
2 => '/^Microsoft-WebDAV-MiniRedir/',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '22.0.0.11',
'installed' => true,
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'maintenance' => true,
'loglevel' => 0,
'dbname' => 'dbname',
'dbhost' => 'dbhost:port',
'dbuser' => 'dbuser',
'dbpassword' => 'dbpassword',
'mysql.utf8mb4' => true,
'app_install_overwrite' =>
array (
0 => 'joplin',
1 => 'announcementcenter',
2 => 'files_retention',
3 => 'keeweb',
4 => 'bookmarks',
),
'theme' => '',
'has_rebuilt_cache' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'mail_from_address',
'mail_domain' => 'mail_domain',
'mail_smtpauth' => 1,
'mail_smtpport' => '465',
'mail_smtphost' => 'smtphost',
'mail_smtpname' => 'smtpname',
'mail_smtppassword' => 'smtppassword',
'trusted_proxies' =>
array (
0 => 'localhost',
),
'mail_smtpsecure' => 'ssl',
'onlyoffice' =>
array (
'DocumentServerUrl' => '/ds-vpath/',
'DocumentServerInternalUrl' => 'documentserverinternalurl',
'StorageUrl' => 'storageurl',
'verify_peer_off' => true,
),
'allow_local_remote_servers' => 'true',
'default_phone_region' => 'US',
);
The output of your Apache/nginx/system log in /var/log/____
: