nextcloud version 13.0.4
Operating system and version Debian Stretch (9.04) stable
Apache or nginx version Apache 2.4.25
PHP version 7.0
The issue you are facing:
when adding or enabling apps for nextcloud, getting those errors
Is this the first time you’ve seen this error? (Y/N):N
Steps to replicate it:
- add or enable an app
The output of your Nextcloud log in Admin > Logging:
Error core Error while running background job (InvalidArgumentException): Invalid serialized command 2018-07-05T12:09:47+0200
Error core Error while running background job (InvalidArgumentException): Invalid serialized command 2018-07-05T12:09:44+0200
Error core Error while running background job (InvalidArgumentException): Invalid serialized command 2018-07-05T12:09:26+0200
Error PHP closedir() expects parameter 1 to be resource, boolean given at /var/www/html/apps/files_snapshots/lib/SnapshotManager.php#62 2018-07-05T12:09:22+0200
Error PHP readdir() expects parameter 1 to be resource, boolean given at /var/www/html/apps/files_snapshots/lib/SnapshotManager.php#56 2018-07-05T12:09:22+0200
Error PHP Undefined offset: 1 at /var/www/html/apps/files_snapshots/lib/SnapshotManager.php#48 2018-07-05T12:09:22+0200
Error core Error while running background job (InvalidArgumentException): Invalid serialized command 2018-07-05T12:09:15+0200
Error PHP closedir() expects parameter 1 to be resource, boolean given at /var/www/html/apps/files_snapshots/lib/SnapshotManager.php#62 2018-07-05T12:09:03+0200
Error PHP readdir() expects parameter 1 to be resource, boolean given at /var/www/html/apps/files_snapshots/lib/SnapshotManager.php#56 2018-07-05T12:09:03+0200
Error PHP Undefined offset: 1 at /var/www/html/apps/files_snapshots/lib/SnapshotManager.php#48
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'instanceid' => 'redacted',
'passwordsalt' => 'redacted',
'secret' => 'redacted',
'trusted_domains' =>
array (
0 => 'redacted.ovh',
),
'datadirectory' => '/mnt/raid6/nextcloud',
'overwrite.cli.url' => 'https://redacted.ovh',
'dbtype' => 'mysql',
'version' => '13.0.4.0',
'dbname' => 'nextcloudDB',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_nextadmin',
'dbpassword' => 'redacted',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => 'tech',
'mail_domain' => 'redacted',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.sendgrid.net',
'mail_smtpport' => '465',
'mail_smtpname' => 'apikey',
'mail_smtppassword' => 'redacted
'maintenance' => false,
'loglevel' => 1,
);