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: 20.0.6
Operating system and version: CentOS 8
Apache version: Apache 2.4.37
PHP version: 7.4.15
When trying to update NC (to 20.0.7 version) via command line I get the error: Command “./updater/updater.phar” is not defined. In addition, an attempt to run the update via the web panel freezes the window. I only see “Initializing” and nothing happens next.
Is this the first time you’ve seen this error? (Y/N): Yes
Steps to replicate it:
- Go to NC path.
- Run: sudo -u apache php occ ./updater/updater.phar -vvv
- Output is:
In Application.php line 669:
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "./updater/updater.phar" is not defined.
Exception trace:
at /var/www/cloud.ecs.gda.pl/3rdparty/symfony/console/Application.php:669
Symfony\Component\Console\Application->find() at /var/www/cloud.domain.pl/3rdparty/symfony/console/Application.php:235
Symfony\Component\Console\Application->doRun() at /var/www/cloud.domain.pl/3rdparty/symfony/console/Application.php:147
Symfony\Component\Console\Application->run() at /var/www/cloud.domain.pl/lib/private/Console/Application.php:215
OC\Console\Application->run() at /var/www/cloud.domain.pl/console.php:100
require_once() at /var/www/cloud.domain.pl/occ:11
The output of Nextcloud log:
{"reqId":"Ofu26K5cl2mZsHZ2uk2V","level":3,"time":"2021-02-05T08:05:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"Trying to access array offset on value of type null at /var/www/cloud.domain.pl/apps/dav/lib/CalDAV/BirthdayService.php#304","Code":0,"Trace":[{"file":"/var/www/cloud.domain.pl/apps/dav/lib/CalDAV/BirthdayService.php","line":304,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/cloud.domain.pl/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php","line":71,"function":"resetForUser","class":"OCA\\DAV\\CalDAV\\BirthdayService","type":"->"},{"file":"/var/www/cloud.domain.pl/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\DAV\\BackgroundJob\\GenerateBirthdayCalendarBackgroundJob","type":"->"},{"file":"/var/www/cloud.domain.pl/lib/private/BackgroundJob/QueuedJob.php","line":46,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/cloud.domain.pl/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/var/www/cloud.domain.pl/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"--","version":"20.0.6.1"}
{"reqId":"Ofu26K5cl2mZsHZ2uk2V","level":3,"time":"2021-02-05T08:05:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"Trying to access array offset on value of type null at /var/www/cloud.domain.pl/apps/dav/lib/CalDAV/BirthdayService.php#304","Code":0,"Trace":[{"file":"/var/www/cloud.domain.pl/apps/dav/lib/CalDAV/BirthdayService.php","line":304,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/cloud.domain.pl/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php","line":71,"function":"resetForUser","class":"OCA\\DAV\\CalDAV\\BirthdayService","type":"->"},{"file":"/var/www/cloud.domain.pl/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\DAV\\BackgroundJob\\GenerateBirthdayCalendarBackgroundJob","type":"->"},{"file":"/var/www/cloud.domain.pl/lib/private/BackgroundJob/QueuedJob.php","line":46,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/cloud.domain.pl/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/var/www/cloud.domain.pl/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"--","version":"20.0.6.1"}
{"reqId":"Ofu26K5cl2mZsHZ2uk2V","level":3,"time":"2021-02-05T08:05:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"Trying to access array offset on value of type null at /var/www/cloud.domain.pl/apps/dav/lib/CalDAV/BirthdayService.php#304","Code":0,"Trace":[{"file":"/var/www/cloud.domain.pl/apps/dav/lib/CalDAV/BirthdayService.php","line":304,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/cloud.domain.pl/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php","line":71,"function":"resetForUser","class":"OCA\\DAV\\CalDAV\\BirthdayService","type":"->"},{"file":"/var/www/cloud.domain.pl/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\DAV\\BackgroundJob\\GenerateBirthdayCalendarBackgroundJob","type":"->"},{"file":"/var/www/cloud.domain.pl/lib/private/BackgroundJob/QueuedJob.php","line":46,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/cloud.domain.pl/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/var/www/cloud.domain.pl/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"--","version":"20.0.6.1"}
{"reqId":"Ofu26K5cl2mZsHZ2uk2V","level":3,"time":"2021-02-05T08:05:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"Trying to access array offset on value of type null at /var/www/cloud.domain.pl/apps/dav/lib/CalDAV/BirthdayService.php#304","Code":0,"Trace":[{"file":"/var/www/cloud.domain.pl/apps/dav/lib/CalDAV/BirthdayService.php","line":304,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/cloud.domain.pl/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php","line":71,"function":"resetForUser","class":"OCA\\DAV\\CalDAV\\BirthdayService","type":"->"},{"file":"/var/www/cloud.domain.pl/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\DAV\\BackgroundJob\\GenerateBirthdayCalendarBackgroundJob","type":"->"},{"file":"/var/www/cloud.domain.pl/lib/private/BackgroundJob/QueuedJob.php","line":46,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/cloud.domain.pl/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/var/www/cloud.domain.pl/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"--","version":"20.0.6.1"}
The output of config.php file:
<?php
$CONFIG = array (
'instanceid' => 'ID',
'passwordsalt' => 'pass_salt',
'secret' => 'very_secret',
'trusted_domains' =>
array (
0 => 'cloud.domain.pl',
),
'datadirectory' => '/var/www/cloud.domain.pl/data',
'dbtype' => 'mysql',
'version' => '20.0.6.1',
'overwrite.cli.url' => 'https://cloud.domain.pl',
'dbname' => 'dbname',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'dbuser',
'dbpassword' => 'dbpassword',
'installed' => true,
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Memcached',
'memcached_servers' =>
array (
0 =>
array (
0 => 'localhost',
1 => 11211,
),
),
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.secret' => 'updater.secret',
'app.mail.verify-tls-peer' => false,
'updater.release.channel' => 'stable',
);
The output of Apache:
[Fri Feb 05 08:44:36.514326 2021] [access_compat:error] [pid 1942:tid 139911352547072] [client 192.168.21.48:21279] AH01797: client denied by server configuration: /var/www/cloud.domain.pl/data/.ocdata
[Fri Feb 05 08:44:46.545949 2021] [access_compat:error] [pid 1942:tid 139911327368960] [client 192.168.21.48:21281] AH01797: client denied by server configuration: /var/www/cloud.domain.pl/data/.ocdata
[Fri Feb 05 08:46:15.450863 2021] [access_compat:error] [pid 1942:tid 139911327368960] [client 192.168.21.48:21317] AH01797: client denied by server configuration: /var/www/cloud.domain.pl/data/.ocdata
[Fri Feb 05 08:58:27.170559 2021] [access_compat:error] [pid 1942:tid 139911327368960] [client 192.168.21.48:21536] AH01797: client denied by server configuration: /var/www/cloud.domain.pl/data/.ocdata
[Fri Feb 05 08:58:45.347151 2021] [access_compat:error] [pid 1942:tid 139911310583552] [client 192.168.21.48:21551] AH01797: client denied by server configuration: /var/www/cloud.domain.pl/data/.ocdata
[Fri Feb 05 09:56:09.215565 2021] [access_compat:error] [pid 1942:tid 139911327368960] [client 192.168.21.48:22871] AH01797: client denied by server configuration: /var/www/cloud.domain.pl/data/.ocdata
[Fri Feb 05 10:01:15.490264 2021] [access_compat:error] [pid 24656:tid 140170647459584] [client 192.168.21.48:22967] AH01797: client denied by server configuration: /var/www/cloud.domain.pl/data/.ocdata
[Fri Feb 05 10:02:11.570181 2021] [access_compat:error] [pid 24424:tid 140170493789952] [client 192.168.21.48:22992] AH01797: client denied by server configuration: /var/www/cloud.domain.pl/data/.ocdata
[Fri Feb 05 10:17:31.302416 2021] [access_compat:error] [pid 24656:tid 140170639066880] [client 192.168.21.48:23352] AH01797: client denied by server configuration: /var/www/cloud.domain.pl/data/.ocdata
[Fri Feb 05 10:36:30.490331 2021] [access_compat:error] [pid 24424:tid 140170477004544] [client 192.168.21.48:23720] AH01797: client denied by server configuration: /var/www/cloud.domain.pl/data/.ocdata
This is a fresh NC setup, AD integration and nothing else.