Nextcloud version (eg, 18.0.2): 20.0.0.1
Operating system and version (eg, Ubuntu 20.04): Freebsd 12.1
Apache or nginx version (eg, Apache 2.4.25): 1.18
PHP version (eg, 7.1): 7.4
The issue you are facing:
since jail upgrade, the occ command is stuck and don’t answer
root@nextcloud:/usr/local/www/nextcloud # su -m www -c /usr/local/bin/php ./occ upgrade
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- upgrade a truenas nextcloud plugins : iocage upgrade nextcloud
- restart jail
- launch occ command
The output of your Nextcloud log in Admin > Logging:
/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'instanceid' => 'XXXXX',
'passwordsalt' => 'XXXXX',
'secret' => 'XXXXXXX',
'trusted_domains' =>
array (
0 => 'XXXXXXXXX',
1 => 'XXXXXX',
2 => 'XXXXXX',
),
'datadirectory' => '/mnt/cloud',
'overwrite.cli.url' => 'http://XXXXXXXX/nextcloud',
'dbtype' => 'mysql',
'version' => '20.0.1.1',
'dbname' => 'nextcloud',
'dbhost' => 'XXXXXXXXX',
'dbport' => '3306',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud_admin',
'dbpassword' => 'XXXXXXXXXX',
'installed' => true,
'logfile' => '/var/log/nextcloud/nextcloud.log',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/config/nextcloud/apps/',
'url' => '/apps',
'writable' => true,
),
1 =>
array (
'path' => '/mnt/cloud/apps-pkg',
'url' => '/apps-pkg',
'writable' => false,
),
),
'theme' => '',
'loglevel' => 0,
'maintenance' => false,
'mail_from_address' => 'mailer.nas',
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_domain' => 'XXXXX.xyz',
'mail_smtphost' => 'XXXXXXX.xyz',
'mail_smtpport' => '465',
'mail_smtpsecure' => 'ssl',
'mail_smtpauth' => 1,
'mail_smtpname' => 'XXXXXXXX',
'mail_smtppassword' => 'XXXXXXXX',
'updater.release.channel' => 'stable',
'app_install_overwrite' =>
array (
0 => 'secsignid',
1 => 'unsplash',
),
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
0 => 'admin',
),
'twofactor_enforced_excluded_groups' =>
array (
),
'mysql.utf8mb4' => true,
'updater.secret' => 'XXXXXXXXX',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
);
The output of your Apache/nginx/system log in /var/log/____
:
nothing in error.log
nothing revelant in access.log