Parsing Error Preventing auto update from working

Nextcloud version (eg, 20.0.5): 20.0.1
Operating system and version (eg, Ubuntu 20.04): FreeBSD 12.2 (jail)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.43 (FreeBSD)
PHP version (eg, 7.4): PHP 7.4.7

Hello nextcloud community! I’m facing an error where whenever I attempt to use the auto-updater, I receive an error: image

I’ve had this issue since a few versions back but can’t give an exact version number, perhaps 2 years back. And I’ve never been able to solve it, and have always resorted to a manual update which I find very tedious, id really like to get the auto-updater to work! and I’m willing to try anything.

To replicate: Have the same version of apache, and PHP as me, and use the older 20.0.1 release, untar, serve and test.

{"reqId":"KUrFKxWkLXlR6mEBL1zD","level":2,"time":"2021-08-02T00:30:02+00:00","remoteAddr":"","user":"--","app":"OC\\Log\\Rotate","method":"","url":"/nextcloud/cron.php","message":"Log file \"/var/log/nextcloud/nextcloud.log\" was over 104857600 bytes, moved to \"/var/log/nextcloud/nextcloud.log.1\"","userAgent":"--","version":"20.0.1.1"}
...
{"reqId":"pP2wkb8IKK5wI5lMb0OD","level":1,"time":"2021-09-23T01:09:33+00:00","remoteAddr":"10.85.3.1","user":"joe","app":"no app in context","method":"PROPFIND","url":"/nextcloud/remote.php/webdav/Documents/","message":"Deprecated event type for {\"[object] (OCP\\SabrePluginEvent)\":{\"*statusCode\":200,\"*message\":\"\",\"*server\":{\"[object] (OCA\\DAV\\Connector\\Sabre\\Server)\":{\"tree\":\"[object] (OCA\\DAV\\Connector\\Sabre\\ObjectTree)\",\"*baseUri\":\"/nextcloud/remote.php/webdav/\",\"httpResponse\":\"[object] (Sabre\\HTTP\\Response)\",\"httpRequest\":\"[object] (Sabre\\HTTP\\Request)\",\"sapi\":\"[object] (Sabre\\HTTP\\Sapi)\",\"*plugins\":[],\"transactionType\":null,\"protectedProperties\":{\"...\":\"Over 20 items, aborting normalization\"},\"debugExceptions\":false,\"resourceTypeMapping\":[],\"enablePropfindDepthInfinity\":true,\"xml\":\"[object] (Sabre\\DAV\\Xml\\Service)\",\"*listeners\":{\"...\":\"Over 20 items, aborting normalization\"},\"*wildcardListeners\":[],\"*listenerIndex\":[],\"*logger\":null}},\"Symfony\\Contracts\\EventDispatcher\\EventpropagationStopped\":false}}: null","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"20.0.1.1"}
{"reqId":"TNFiH1yulG6m5SR2nxxG","level":1,"time":"2021-09-23T01:09:33+00:00","remoteAddr":"10.85.3.1","user":"joe","app":"no app in context","method":"PROPFIND","url":"/nextcloud/remote.php/webdav/Music/","message":"Deprecated event type for {\"[object] (OCP\\SabrePluginEvent)\":{\"*statusCode\":200,\"*message\":\"\",\"*server\":{\"[object] (OCA\\DAV\\Connector\\Sabre\\Server)\":{\"tree\":\"[object] (OCA\\DAV\\Connector\\Sabre\\ObjectTree)\",\"*baseUri\":\"/nextcloud/remote.php/webdav/\",\"httpResponse\":\"[object] (Sabre\\HTTP\\Response)\",\"httpRequest\":\"[object] (Sabre\\HTTP\\Request)\",\"sapi\":\"[object] (Sabre\\HTTP\\Sapi)\",\"*plugins\":[],\"transactionType\":null,\"protectedProperties\":{\"...\":\"Over 20 items, aborting normalization\"},\"debugExceptions\":false,\"resourceTypeMapping\":[],\"enablePropfindDepthInfinity\":true,\"xml\":\"[object] (Sabre\\DAV\\Xml\\Service)\",\"*listeners\":{\"...\":\"Over 20 items, aborting normalization\"},\"*wildcardListeners\":[],\"*listenerIndex\":[],\"*logger\":null}},\"Symfony\\Contracts\\EventDispatcher\\EventpropagationStopped\":false}}: null","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"20.0.1.1"}
...
{"reqId":"W0PQuf7lTJxyWyFIAIBA","level":1,"time":"2021-09-23T01:15:00+00:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"/nextcloud/cron.php","message":"Memcache \\OC\\Memcache\\APCu not available for local cache","userAgent":"--","version":"20.0.1.1"}
{"reqId":"W0PQuf7lTJxyWyFIAIBA","level":1,"time":"2021-09-23T01:15:00+00:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"/nextcloud/cron.php","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache","userAgent":"--","version":"20.0.1.1"}
{"reqId":"W0PQuf7lTJxyWyFIAIBA","level":1,"time":"2021-09-23T01:15:01+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"/nextcloud/cron.php","message":"External storage not available: stat() failed","userAgent":"--","version":"20.0.1.1"}
{"reqId":"W0PQuf7lTJxyWyFIAIBA","level":1,"time":"2021-09-23T01:15:03+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"/nextcloud/cron.php","message":"Process not found AND bridge enabled in config : relaunching","userAgent":"--","version":"20.0.1.1"}
{"reqId":"W0PQuf7lTJxyWyFIAIBA","level":1,"time":"2021-09-23T01:15:03+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"/nextcloud/cron.php","message":"Process not found AND bridge enabled in config : relaunching","userAgent":"--","version":"20.0.1.1"}
{"reqId":"W0PQuf7lTJxyWyFIAIBA","level":1,"time":"2021-09-23T01:15:03+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"/nextcloud/cron.php","message":"Checked if Matterbridge instances are running correctly.","userAgent":"--","version":"20.0.1.1"}
{"reqId":"W0PQuf7lTJxyWyFIAIBA","level":3,"time":"2021-09-23T01:15:03+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"/nextcloud/cron.php","message":"DateTime::createFromFormat(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. at /usr/local/www/nextcloud/lib/private/Log/LogDetails.php#48","userAgent":"--","version":"20.0.1.1"}
...
{"reqId":"HfplB3lkAuCb4ZUYjRGu","level":1,"time":"2021-09-23T01:23:54+00:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"/nextcloud/occ","message":"Memcache \\OC\\Memcache\\APCu not available for local cache","userAgent":"--","version":"20.0.1.1"}
{"reqId":"HfplB3lkAuCb4ZUYjRGu","level":1,"time":"2021-09-23T01:23:54+00:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"/nextcloud/occ","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache","userAgent":"--","version":"20.0.1.1"}
{"reqId":"HfplB3lkAuCb4ZUYjRGu","level":3,"time":"2021-09-23T01:23:56+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"/nextcloud/occ","message":"DateTime::createFromFormat(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. at /usr/local/www/nextcloud/lib/private/Log/LogDetails.php#48","userAgent":"--","version":"20.0.1.1"}
{"reqId":"tFV3cjZJHfMwZzF1NuYP","level":1,"time":"2021-09-23T01:24:02+00:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"/nextcloud/occ","message":"Memcache \\OC\\Memcache\\APCu not available for local cache","userAgent":"--","version":"20.0.1.1"}
{"reqId":"tFV3cjZJHfMwZzF1NuYP","level":1,"time":"2021-09-23T01:24:02+00:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"/nextcloud/occ","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache","userAgent":"--","version":"20.0.1.1"}
{"reqId":"tFV3cjZJHfMwZzF1NuYP","level":3,"time":"2021-09-23T01:24:03+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"/nextcloud/occ","message":"DateTime::createFromFormat(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. at /usr/local/www/nextcloud/lib/private/Log/LogDetails.php#48","userAgent":"--","version":"20.0.1.1"}
...
{"reqId":"GSrP1LlPwP703GFNedlw","level":1,"time":"2021-09-23T01:30:00+00:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"/nextcloud/cron.php","message":"Memcache \\OC\\Memcache\\APCu not available for local cache","userAgent":"--","version":"20.0.1.1"}
{"reqId":"GSrP1LlPwP703GFNedlw","level":1,"time":"2021-09-23T01:30:00+00:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"/nextcloud/cron.php","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache","userAgent":"--","version":"20.0.1.1"}
{"reqId":"GSrP1LlPwP703GFNedlw","level":1,"time":"2021-09-23T01:30:02+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"/nextcloud/cron.php","message":"External storage not available: stat() failed","userAgent":"--","version":"20.0.1.1"}
{"reqId":"GSrP1LlPwP703GFNedlw","level":1,"time":"2021-09-23T01:30:05+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"/nextcloud/cron.php","message":"Process not found AND bridge enabled in config : relaunching","userAgent":"--","version":"20.0.1.1"}
{"reqId":"GSrP1LlPwP703GFNedlw","level":1,"time":"2021-09-23T01:30:05+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"/nextcloud/cron.php","message":"Process not found AND bridge enabled in config : relaunching","userAgent":"--","version":"20.0.1.1"}
{"reqId":"GSrP1LlPwP703GFNedlw","level":1,"time":"2021-09-23T01:30:05+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"/nextcloud/cron.php","message":"Checked if Matterbridge instances are running correctly.","userAgent":"--","version":"20.0.1.1"}
{"reqId":"GSrP1LlPwP703GFNedlw","level":3,"time":"2021-09-23T01:30:05+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"/nextcloud/cron.php","message":"DateTime::createFromFormat(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. at /usr/local/www/nextcloud/lib/private/Log/LogDetails.php#48","userAgent":"--","version":"20.0.1.1"}
{"reqId":"LBchHsBZREWcR1HxZsGh","level":1,"time":"2021-09-23T01:33:30+00:00","remoteAddr":"10.85.3.1","user":"matthew","app":"no app in context","method":"GET","url":"/nextcloud/remote.php/webdav/","message":"Deprecated event type for {\"[object] (OCP\\SabrePluginEvent)\":{\"*statusCode\":200,\"*message\":\"\",\"*server\":{\"[object] (OCA\\DAV\\Connector\\Sabre\\Server)\":{\"tree\":\"[object] (OCA\\DAV\\Connector\\Sabre\\ObjectTree)\",\"*baseUri\":\"/nextcloud/remote.php/webdav/\",\"httpResponse\":\"[object] (Sabre\\HTTP\\Response)\",\"httpRequest\":\"[object] (Sabre\\HTTP\\Request)\",\"sapi\":\"[object] (Sabre\\HTTP\\Sapi)\",\"*plugins\":[],\"transactionType\":null,\"protectedProperties\":{\"...\":\"Over 20 items, aborting normalization\"},\"debugExceptions\":false,\"resourceTypeMapping\":[],\"enablePropfindDepthInfinity\":true,\"xml\":\"[object] (Sabre\\DAV\\Xml\\Service)\",\"*listeners\":{\"...\":\"Over 20 items, aborting normalization\"},\"*wildcardListeners\":[],\"*listenerIndex\":[],\"*logger\":null}},\"Symfony\\Contracts\\EventDispatcher\\EventpropagationStopped\":false}}: null","userAgent":"--","version":"20.0.1.1"}
{"reqId":"lYCj9F3qs0Uu2MzsqNJu","level":1,"time":"2021-09-23T01:33:31+00:00","remoteAddr":"10.85.3.1","user":"matthew","app":"no app in context","method":"GET","url":"/nextcloud/remote.php/webdav/","message":"Deprecated event type for {\"[object] (OCP\\SabrePluginEvent)\":{\"*statusCode\":200,\"*message\":\"\",\"*server\":{\"[object] (OCA\\DAV\\Connector\\Sabre\\Server)\":{\"tree\":\"[object] (OCA\\DAV\\Connector\\Sabre\\ObjectTree)\",\"*baseUri\":\"/nextcloud/remote.php/webdav/\",\"httpResponse\":\"[object] (Sabre\\HTTP\\Response)\",\"httpRequest\":\"[object] (Sabre\\HTTP\\Request)\",\"sapi\":\"[object] (Sabre\\HTTP\\Sapi)\",\"*plugins\":[],\"transactionType\":null,\"protectedProperties\":{\"...\":\"Over 20 items, aborting normalization\"},\"debugExceptions\":false,\"resourceTypeMapping\":[],\"enablePropfindDepthInfinity\":true,\"xml\":\"[object] (Sabre\\DAV\\Xml\\Service)\",\"*listeners\":{\"...\":\"Over 20 items, aborting normalization\"},\"*wildcardListeners\":[],\"*listenerIndex\":[],\"*logger\":null}},\"Symfony\\Contracts\\EventDispatcher\\EventpropagationStopped\":false}}: null","userAgent":"--","version":"20.0.1.1"}
{"reqId":"Awzj6cseohKXs548d6me","level":1,"time":"2021-09-23T01:33:32+00:00","remoteAddr":"10.85.3.1","user":"matthew","app":"no app in context","method":"OPTIONS","url":"/nextcloud/remote.php/webdav","message":"Deprecated event type for {\"[object] (OCP\\SabrePluginEvent)\":{\"*statusCode\":200,\"*message\":\"\",\"*server\":{\"[object] (OCA\\DAV\\Connector\\Sabre\\Server)\":{\"tree\":\"[object] (OCA\\DAV\\Connector\\Sabre\\ObjectTree)\",\"*baseUri\":\"/nextcloud/remote.php/webdav/\",\"httpResponse\":\"[object] (Sabre\\HTTP\\Response)\",\"httpRequest\":\"[object] (Sabre\\HTTP\\Request)\",\"sapi\":\"[object] (Sabre\\HTTP\\Sapi)\",\"*plugins\":[],\"transactionType\":null,\"protectedProperties\":{\"...\":\"Over 20 items, aborting normalization\"},\"debugExceptions\":false,\"resourceTypeMapping\":[],\"enablePropfindDepthInfinity\":true,\"xml\":\"[object] (Sabre\\DAV\\Xml\\Service)\",\"*listeners\":{\"...\":\"Over 20 items, aborting normalization\"},\"*wildcardListeners\":[],\"*listenerIndex\":[],\"*logger\":null}},\"Symfony\\Contracts\\EventDispatcher\\EventpropagationStopped\":false}}: null","userAgent":"gvfs/1.47.91","version":"20.0.1.1"}
{"reqId":"zrwskDYFNBoC0wi5Sc21","level":1,"time":"2021-09-23T01:33:32+00:00","remoteAddr":"10.85.3.1","user":"matthew","app":"no app in context","method":"PROPFIND","url":"/nextcloud/remote.php/webdav","message":"Deprecated event type for {\"[object] (OCP\\SabrePluginEvent)\":{\"*statusCode\":200,\"*message\":\"\",\"*server\":{\"[object] (OCA\\DAV\\Connector\\Sabre\\Server)\":{\"tree\":\"[object] (OCA\\DAV\\Connector\\Sabre\\ObjectTree)\",\"*baseUri\":\"/nextcloud/remote.php/webdav/\",\"httpResponse\":\"[object] (Sabre\\HTTP\\Response)\",\"httpRequest\":\"[object] (Sabre\\HTTP\\Request)\",\"sapi\":\"[object] (Sabre\\HTTP\\Sapi)\",\"*plugins\":[],\"transactionType\":null,\"protectedProperties\":{\"...\":\"Over 20 items, aborting normalization\"},\"debugExceptions\":false,\"resourceTypeMapping\":[],\"enablePropfindDepthInfinity\":true,\"xml\":\"[object] (Sabre\\DAV\\Xml\\Service)\",\"*listeners\":{\"...\":\"Over 20 items, aborting normalization\"},\"*wildcardListeners\":[],\"*listenerIndex\":[],\"*logger\":null}},\"Symfony\\Contracts\\EventDispatcher\\EventpropagationStopped\":false}}: null","userAgent":"gvfs/1.47.91","version":"20.0.1.1"}
...
{"reqId":"G6qJuqgUZuBMhxb2VdC8","level":1,"time":"2021-09-23T01:33:41+00:00","remoteAddr":"10.85.3.1","user":"joe","app":"no app in context","method":"PROPFIND","url":"/nextcloud/remote.php/webdav","message":"Deprecated event type for {\"[object] (OCP\\SabrePluginEvent)\":{\"*statusCode\":200,\"*message\":\"\",\"*server\":{\"[object] (OCA\\DAV\\Connector\\Sabre\\Server)\":{\"tree\":\"[object] (OCA\\DAV\\Connector\\Sabre\\ObjectTree)\",\"*baseUri\":\"/nextcloud/remote.php/webdav/\",\"httpResponse\":\"[object] (Sabre\\HTTP\\Response)\",\"httpRequest\":\"[object] (Sabre\\HTTP\\Request)\",\"sapi\":\"[object] (Sabre\\HTTP\\Sapi)\",\"*plugins\":[],\"transactionType\":null,\"protectedProperties\":{\"...\":\"Over 20 items, aborting normalization\"},\"debugExceptions\":false,\"resourceTypeMapping\":[],\"enablePropfindDepthInfinity\":true,\"xml\":\"[object] (Sabre\\DAV\\Xml\\Service)\",\"*listeners\":{\"...\":\"Over 20 items, aborting normalization\"},\"*wildcardListeners\":[],\"*listenerIndex\":[],\"*logger\":null}},\"Symfony\\Contracts\\EventDispatcher\\EventpropagationStopped\":false}}: null","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0","version":"20.0.1.1"}
{"reqId":"qbxhWxwCPsruqEIetRy6","level":1,"time":"2021-09-23T01:33:44+00:00","remoteAddr":"10.85.3.1","user":"joe","app":"no app in context","method":"GET","url":"/nextcloud/index.php/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_INDEXES: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0","version":"20.0.1.1"}
{"reqId":"qbxhWxwCPsruqEIetRy6","level":1,"time":"2021-09-23T01:33:44+00:00","remoteAddr":"10.85.3.1","user":"joe","app":"no app in context","method":"GET","url":"/nextcloud/index.php/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_INDEXES: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0","version":"20.0.1.1"}
{"reqId":"qbxhWxwCPsruqEIetRy6","level":1,"time":"2021-09-23T01:33:44+00:00","remoteAddr":"10.85.3.1","user":"joe","app":"no app in context","method":"GET","url":"/nextcloud/index.php/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_COLUMNS: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0","version":"20.0.1.1"}
{"reqId":"qbxhWxwCPsruqEIetRy6","level":1,"time":"2021-09-23T01:33:44+00:00","remoteAddr":"10.85.3.1","user":"joe","app":"no app in context","method":"GET","url":"/nextcloud/index.php/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_COLUMNS: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0","version":"20.0.1.1"}
root@nextcloud:~ # cat /usr/local/www/nextcloud/config/config.php
<?php
$CONFIG = array (
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/usr/local/www/nextcloud/apps',
      'url' => '/apps',
      'writable' => true,
    ),
    1 => 
    array (
      'path' => '/usr/local/www/nextcloud/apps-pkg',
      'url' => '/apps-pkg',
      'writable' => false,
    ),
  ),
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'instanceid' => 'oc5ca8mvqvio',
  'passwordsalt' => 'CSV5ttMC2Gn8z1JLs/AjkR5W2Orc96',
  'secret' => '6Fb2yBTStUQdHLke5CFRmXmn3L2EaQIdWO1bXHDouRGsWqtx',
  'trusted_domains' => 
  array (
    0 => 'MY LOCAL SERVER IP',
    1 => 'MY.DOMAIN.COM',
    2 => 'MY.OLD_DOMAIN.COM',
    3 => 'MY.SOON-TO-BE-NEWDOMAIN.COM',
  ),
  'datadirectory' => '/mnt/data',
  'dbtype' => 'mysql',
  'version' => '20.0.1.1',
  'overwrite.cli.url' => 'https://MY.OLD_DOMAIN.COM/nextcloud',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ADMIN',
  'dbpassword' => 'PASSWORD',
  'installed' => true,
  'maintenance' => false,
  'allow_local_remote_servers' => true,
  'app_install_overwrite' => 
  array (
    0 => 'files_external_gdrive',
    1 => 'keeporsweep',
    2 => 'files_external_onedrive',
  ),
  'trusted_proxies' => 
  array (
    0 => 'REVERSE.PROXY.IP',
  ),
  'overwritewebroot' => '/nextcloud',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'FROM USERNAME',
  'mail_domain' => 'gmail.com',
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'TO USERNAME',
  'mail_smtppassword' => 'PASSWORD',
  'mail_smtpsecure' => 'ssl',
  'loglevel' => 1,
  'updater.secret' => 'SECRET?',
);
root@nextcloud:~ # cat /var/log/httpd-error.log
...
[Fri Sep 10 16:38:32.847460 2021] [access_compat:error] [pid 73259] [client 10.85.3.10:37724] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
...
[Mon Sep 13 13:42:56.993574 2021] [access_compat:error] [pid 5862] [client 10.85.3.10:44042] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
[Mon Sep 13 14:42:03.531501 2021] [proxy_fcgi:error] [pid 85588] [client 10.85.3.10:60046] AH01071: Got error 'PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242'
...
[Mon Sep 13 15:44:09.073144 2021] [proxy_fcgi:error] [pid 85552] [client 10.85.3.10:45786] AH01071: Got error 'PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242'
[Mon Sep 13 15:44:14.824292 2021] [proxy_fcgi:error] [pid 85552] [client 10.85.3.10:45786] AH01071: Got error 'PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242PHP message: PHP Warning:  date(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/updater/index.php on line 1242'
[Tue Sep 14 10:11:43.991263 2021] [access_compat:error] [pid 73184] [client 10.85.3.10:37446] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
[Tue Sep 14 17:11:01.374948 2021] [access_compat:error] [pid 22139] [client 10.85.3.10:57090] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
[Tue Sep 14 22:29:21.050653 2021] [access_compat:error] [pid 89685] [client 10.85.3.10:35418] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
[Wed Sep 15 19:24:15.556218 2021] [access_compat:error] [pid 24517] [client 10.85.3.10:35954] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
[Wed Sep 15 21:07:59.420159 2021] [access_compat:error] [pid 42783] [client 10.85.3.10:56028] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
[Wed Sep 15 22:44:21.239245 2021] [access_compat:error] [pid 39083] [client 10.85.3.10:48612] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
[Thu Sep 16 14:52:07.434005 2021] [proxy_fcgi:error] [pid 84973] [client 10.85.3.10:46052] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:127\nStack trace:\n#0 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(127): PDOStatement->execute()\n#1 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1062): Doctrine\\DBAL\\Driver\\PDOStatement->execute()\n#2 /usr/local/www/nextcloud/lib/private/DB/Connection.php(214): Doctrine\\DBAL\\Connection->executeUpdate()\n#3 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(209): OC\\DB\\Connection->executeUpdate()\n#4 /usr/local/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(217): Doctrine\\DBAL\\Query\\QueryBuilder->execute()\n#5 /usr/local/www/nextcloud/lib/private/Lock/DBLockingProvider.php(312): OC\\DB\\QueryBuilder\\QueryBuilder->execute()\n...'
...
[Sun Sep 19 20:23:56.322782 2021] [access_compat:error] [pid 95315] [client 10.85.3.10:45798] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
[Sun Sep 19 20:35:16.346322 2021] [access_compat:error] [pid 52564] [client 10.85.3.10:47980] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
[Sun Sep 19 23:17:46.320228 2021] [proxy_fcgi:error] [pid 52564] (70007)The timeout specified has expired: [client 10.85.3.10:55130] AH01075: Error dispatching request to : (polling)
[Mon Sep 20 00:09:41.100707 2021] [proxy_fcgi:error] [pid 37660] (70007)The timeout specified has expired: [client 10.85.3.10:38632] AH01075: Error dispatching request to : (polling)
...
[Tue Sep 21 21:47:58.060353 2021] [access_compat:error] [pid 16072] [client 10.85.3.10:56312] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
[Tue Sep 21 21:52:43.069068 2021] [access_compat:error] [pid 16072] [client 10.85.3.10:57306] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config
...
[Wed Sep 22 21:33:46.018902 2021] [access_compat:error] [pid 57004] [client 10.85.3.10:32886] AH01797: client denied by server configuration: /usr/local/www/nextcloud/config

I also tried using the OCC updater

root@nextcloud:~ # su -m www -c 'php /usr/local/www/nextcloud/occ upgrade'
PHP Warning:  DateTime::createFromFormat(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/lib/private/Log/LogDetails.php on line 48
PHP Warning:  DateTime::createFromFormat(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/lib/private/Log/LogDetails.php on line 48
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
Nextcloud is already latest version

it spits out saying its already on the latest version?

Thanks for reading!

Try to run occ without parameters, or occ -V and check version in a first line. Was it upgraded?

Ill give this a go!
Heres the output

root@nextcloud:~ # su -m www -c 'php /usr/local/www/nextcloud/occ -V'
PHP Warning:  DateTime::createFromFormat(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/lib/private/Log/LogDetails.php on line 48
PHP Warning:  DateTime::createFromFormat(): Invalid date.timezone value 'America/Eastern', we selected the timezone 'UTC' for now. in /usr/local/www/nextcloud/lib/private/Log/LogDetails.php on line 48
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
Zinc 20.0.1

Looks like it was not upgraded.

Anything else i could try? It looks like running occ with -V shows i am not actually upgraded as the upgrade command says i am.

Hi, sorry, was on vacation in Mountains :smiley:
Try to perform manual update then: https://docs.nextcloud.com/server/latest/admin_manual/maintenance/manual_upgrade.html

No worries, thanks for getting back to me
But… no… thats literally my issue

I can update manually but that just pushes my problem further down the road, for the past 4 times ive updated manually i want to use the automatic updater doing it by hand is what im trying to fix…

The problem is that you do not know what causing an error.

How about this: Open a Developer Console in Network section (Control+Shift+E for Firefox, or Control+Shift+J for Chrome) and than click on “Start Update”. You will see an error and it will be possible to see the last message what was send to UI and maybe find out what is in the response, but could not be parsed.

I’m trying to give this a go but… it’s just sorta, staying stuck on initializing, I would really like to try and see what the console output is is but im not getting anything.
image
I promise I have not touched it at all since we last spoke.

I’m getting the same result now in firefox and chromium, even after restarting the nextcloud host, thats so odd…

Heres what i see in the output anyway
image

Thank you again for working with me on this, In the IRC people tucker out way before we get to this stage.

I mean this one “Network”
изображение

Just open it only before to hit “Start update” or “Retry update”. We are intresting about last message, when you click on it, you can see more details on the right side. Main Part is not Headers, but “Answer”.

I still cant push any buttons… so odd? Idk why, but i have not tried adjusting anything, waiting for further input on that. Heres what i see in the mean time.
image

All good, try to disable cache:
grafik

And reload the page.
Than, if it works when error comes, click on last message with green status 200.

Tried disabling cache and using a different web browser, vm, looks like its not working at all anymore, just stuck on initializing, everything else works on my install, idk why the updater always seems so terribly broken.

1 Like