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, 12.0.2): 16.0.4
PHP version (eg, 7.1): 7.3
I followed the steps for manual upgrade because web updater is running in timeouts while doing the backup.
How to upgrade
Manual Upgrade with Shared Hosting/Webhosting
So I
- download and extract the nextcloud files for 16.0.9
- set maintenance to true
- copied config.php, data and 3rd party apps to directory of new version
- renamed old version to “nc_old” and new version to “nc”
- set maintenance to false
- opened my instance via browser and clicked “upgrade”
I’m running in a timeout here again. Web Updater says I "to prevent timeouts use ./occ upgrade
", but I’m not able to do this on sharedHosting (I have SSH access but can not run sudo commands, so I get a "permission denied when running ./occ upgrade
).
So: How can I finish the upgrade process after manual file update on a system without sudo permissions?
Thank you for your responses!
config.php
<?php
$CONFIG = array (
'instanceid' => 'oc6cbvwhknq6',
'passwordsalt' => 'IZZ3cW55Q8sAseDOnuKjcX7ux2AV+7',
'secret' => 'ztM77bf0X8IOfkwmvMA6unDtO21SeHVCYZnUPEOyw64v4OdT',
'trusted_domains' =>
array (
0 => '********',
),
'datadirectory' => '/var/www/vhosts/*********/httpdocs/nc/data',
'overwrite.cli.url' => '*******',
'dbtype' => 'mysql',
'version' => '16.0.4.1',
'dbname' => '******',
'dbhost' => '**********',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '*****',
'dbpassword' => ******',
'installed' => true,
'updater.release.channel' => 'production',
'maintenance' => true,
'mail_from_address' => '*****',
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_domain' => '******',
'theme' => '',
'loglevel' => 0,
'mail_smtphost' => '******',
'mail_sendmailmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_smtpauth' => 1,
'mail_smtpname' => '*******',
'mail_smtppassword' => '*******',
'mail_smtpport' => '***',
'skeletondirectory' => '',
'app_install_overwrite' =>
array (
0 => 'mail',
1 => 'occweb',
),
'trashbin_retention_obligation' => 'auto, 180',
'updater.secret' => '$2y$10$UHvKGZ/rdVycW.uaPZ1areN2ud7qQ9S9EWBR69T4fV4gH7AqTWmsm',
);