Can't get Apache information

Nextcloud version (eg, 20.0.5): 22.2.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04.3 LTS x86_64
Apache or nginx version (eg, Apache 2.4.25): unknown
PHP version (eg, 7.4): PHP 8.0.14 (cli) (built: Dec 20 2021 21:22:57) ( NTS )

The issue you are facing:
I am trying to update my instance from 22.2.3 to 22.2.10 due to running into this problem and deciding to roll back to a previous image that was working.

However, when I try to update it fails at step 6 “Verifying integrity”. I thought it might be an issue with running out of memory, as seen here, but I have allocated 1024MB as can be seen in my Admin panel system page. The overview page also indicates that “All checks pass”.

So I started writing a post here, but I can’t provide the Apache information as seen here:

ubuntu@cnsp-hub-server:~$ apache2 --version
[Wed Jan 11 17:06:04.266564 2023] [core:warn] [pid 16089] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot

and

ubuntu@cnsp-hub-server:~$ apachectl -t
AH00526: Syntax error on line 29 of /etc/apache2/sites-enabled/nextcloud-le-ssl.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/hub.cnsp-rcps.ca/fullchain.pem' does not exist or is empty
Action '-t' failed.
The Apache error log may have more information.

Here is what the Apache error log looks like (the last line is repeated multiple times):

[Wed Jan 11 00:00:04.508833 2023] [mpm_prefork:notice] [pid 888] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Wed Jan 11 00:00:04.508859 2023] [core:notice] [pid 888] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jan 11 04:53:48.414064 2023] [proxy_fcgi:error] [pid 2831] [client 164.90.218.232:51766] AH01071: Got error 'Primary script unknown'
[Wed Jan 11 05:36:25.277673 2023] [mpm_prefork:notice] [pid 888] AH00171: Graceful restart requested, doing restart
[Wed Jan 11 05:36:25.296177 2023] [mpm_prefork:notice] [pid 888] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Wed Jan 11 05:36:25.296190 2023] [core:notice] [pid 888] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jan 11 13:58:11.547514 2023] [proxy_fcgi:error] [pid 5995] [client 85.175.73.137:35659] AH01071: Got error 'Primary script unknown'

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

  1. type apache2 --version or apachectl -t

The output of your Nextcloud log in Admin > Logging (Lines since reinstating the system):

{"reqId":"vm6h9OzrGc9SexjlNvhd","level":3,"time":"2023-01-10T22:20:26+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Cannot use object of type stdClass as array","userAgent":"--","version":"22.2.0.2","exception":{"Exception":"Error","Message":"Cannot use object of type stdClass as array","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":278,"function":"setArgument","class":"OC\\Security\\VerificationToken\\CleanUpJob","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":213,"function":"buildJob","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":121,"function":"getNext","class":"OC\\BackgroundJob\\JobList","type":"->"}],"File":"/var/www/nextcloud/lib/private/Security/VerificationToken/CleanUpJob.php","Line":63,"CustomMessage":"--"}}
{"reqId":"KApDWSmTZBUKFfAXXoCv","level":3,"time":"2023-01-10T22:30:35+00:00","remoteAddr":"","user":"--","app":"files","method":"","url":"--","message":"Redis server localhost:6379 went away","userAgent":"--","version":"22.2.0.2","exception":{"Exception":"RedisException","Message":"Redis server localhost:6379 went away","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":169,"function":"watch","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/Lock/MemcacheLockingProvider.php","line":104,"function":"cad","class":"OC\\Memcache\\Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Common.php","line":784,"function":"releaseLock","class":"OC\\Lock\\MemcacheLockingProvider","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":602,"function":"releaseLock","class":"OC\\Files\\Storage\\Common","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":346,"function":"releaseLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/LocalRootScanner.php","line":39,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":510,"function":"scan","class":"OC\\Files\\Cache\\LocalRootScanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":521,"function":"OC\\Files\\Cache\\{closure}","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":509,"function":"runBackgroundScanJob","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Utils/Scanner.php","line":185,"function":"backgroundScan","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/BackgroundJob/ScanFiles.php","line":89,"function":"backgroundScan","class":"OC\\Files\\Utils\\Scanner","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/BackgroundJob/ScanFiles.php","line":125,"function":"runScanner","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":51,"function":"run","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":58,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":169,"Previous":{"Exception":"RedisException","Message":"read error on connection to localhost:6379","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":121,"function":"incrBy","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/Lock/MemcacheLockingProvider.php","line":79,"function":"inc","class":"OC\\Memcache\\Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Common.php","line":752,"function":"acquireLock","class":"OC\\Lock\\MemcacheLockingProvider","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":591,"function":"acquireLock","class":"OC\\Files\\Storage\\Common","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":147,"function":"acquireLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/LocalRootScanner.php","line":31,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":427,"function":"scanFile","class":"OC\\Files\\Cache\\LocalRootScanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":388,"function":"handleChildren","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":391,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":391,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":391,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":391,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":340,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/LocalRootScanner.php","line":39,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":510,"function":"scan","class":"OC\\Files\\Cache\\LocalRootScanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":521,"function":"OC\\Files\\Cache\\{closure}","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":509,"function":"runBackgroundScanJob","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Utils/Scanner.php","line":185,"function":"backgroundScan","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/BackgroundJob/ScanFiles.php","line":89,"function":"backgroundScan","class":"OC\\Files\\Utils\\Scanner","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/BackgroundJob/ScanFiles.php","line":125,"function":"runScanner","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":51,"function":"run","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":58,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":121},"CustomMessage":"--"}}
{"reqId":"KApDWSmTZBUKFfAXXoCv","level":3,"time":"2023-01-10T22:30:36+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\Files\\BackgroundJob\\ScanFiles, arguments: )","userAgent":"--","version":"22.2.0.2","exception":{"Exception":"Doctrine\\DBAL\\Exception\\ConnectionLost","Message":"An exception occurred while executing a query: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":2006,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1728,"function":"convert","class":"Doctrine\\DBAL\\Driver\\API\\MySQL\\ExceptionConverter","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1667,"function":"handleDriverException","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1146,"function":"convertExceptionDuringQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":262,"function":"executeStatement","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":213,"function":"executeStatement","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":331,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":55,"function":"setExecutionTime","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":58,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php","Line":101,"Previous":{"Exception":"Doctrine\\DBAL\\Driver\\PDO\\Exception","Message":"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":2006,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":84,"function":"new","class":"Doctrine\\DBAL\\Driver\\PDO\\Exception","type":"::"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1136,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDO\\Statement","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":262,"function":"executeStatement","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":213,"function":"executeStatement","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":331,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":55,"function":"setExecutionTime","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":58,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php","Line":26,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":"HY000","Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":82,"function":"execute","class":"PDOStatement","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1136,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDO\\Statement","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":262,"function":"executeStatement","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":213,"function":"executeStatement","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":331,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":55,"function":"setExecutionTime","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":58,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","Line":82}},"CustomMessage":"Error while running background job (class: OCA\\Files\\BackgroundJob\\ScanFiles, arguments: )"}}
{"reqId":"KApDWSmTZBUKFfAXXoCv","level":3,"time":"2023-01-10T22:30:36+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","userAgent":"--","version":"22.2.0.2","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","Code":2002,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1486,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":770,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/Expression/ExpressionBuilder.php","line":307,"function":"quote","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php","line":422,"function":"literal","class":"Doctrine\\DBAL\\Query\\Expression\\ExpressionBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":304,"function":"literal","class":"OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":292,"function":"unlockJob","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":131,"function":"setLastJob","class":"OC\\BackgroundJob\\JobList","type":"->"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":87,"CustomMessage":"--"}}
{"reqId":"TQCc6E0MdibD2lvNbtea","level":3,"time":"2023-01-10T22:30:37+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\Settings\\BackgroundJobs\\VerifyUserData, arguments: Array\n(\n    [verificationCode] => \n    [data] => kenneth.dyson@mcgill.ca\n    [type] => email\n    [uid] => kdys\n    [try] => 16\n    [lastRun] => 1634217017\n)\n)","userAgent":"--","version":"22.2.0.2","exception":{"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing a query: SQLSTATE[70100]: <<Unknown error>>: 1927 Connection was killed","Code":1927,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1728,"function":"convert","class":"Doctrine\\DBAL\\Driver\\API\\MySQL\\ExceptionConverter","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1667,"function":"handleDriverException","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1146,"function":"convertExceptionDuringQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":262,"function":"executeStatement","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":213,"function":"executeStatement","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":331,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":83,"function":"setExecutionTime","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/BackgroundJobs/VerifyUserData.php","line":98,"function":"execute","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OCA\\Settings\\BackgroundJobs\\VerifyUserData","type":"->"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php","Line":114,"Previous":{"Exception":"Doctrine\\DBAL\\Driver\\PDO\\Exception","Message":"SQLSTATE[70100]: <<Unknown error>>: 1927 Connection was killed","Code":1927,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":84,"function":"new","class":"Doctrine\\DBAL\\Driver\\PDO\\Exception","type":"::"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1136,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDO\\Statement","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":262,"function":"executeStatement","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":213,"function":"executeStatement","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":331,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":83,"function":"setExecutionTime","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/BackgroundJobs/VerifyUserData.php","line":98,"function":"execute","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OCA\\Settings\\BackgroundJobs\\VerifyUserData","type":"->"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php","Line":26,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[70100]: <<Unknown error>>: 1927 Connection was killed","Code":"70100","Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":82,"function":"execute","class":"PDOStatement","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1136,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDO\\Statement","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":262,"function":"executeStatement","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":213,"function":"executeStatement","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":331,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":83,"function":"setExecutionTime","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/BackgroundJobs/VerifyUserData.php","line":98,"function":"execute","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OCA\\Settings\\BackgroundJobs\\VerifyUserData","type":"->"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","Line":82}},"CustomMessage":"Error while running background job (class: OCA\\Settings\\BackgroundJobs\\VerifyUserData, arguments: Array\n(\n    [verificationCode] => \n    [data] => kenneth.dyson@mcgill.ca\n    [type] => email\n    [uid] => kdys\n    [try] => 16\n    [lastRun] => 1634217017\n)\n)"}}
{"reqId":"TQCc6E0MdibD2lvNbtea","level":3,"time":"2023-01-10T22:30:37+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"An exception occurred while executing a query: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away","userAgent":"--","version":"22.2.0.2","exception":{"Exception":"Doctrine\\DBAL\\Exception\\ConnectionLost","Message":"An exception occurred while executing a query: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":2006,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1728,"function":"convert","class":"Doctrine\\DBAL\\Driver\\API\\MySQL\\ExceptionConverter","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1667,"function":"handleDriverException","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1146,"function":"convertExceptionDuringQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":262,"function":"executeStatement","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":213,"function":"executeStatement","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":110,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/BackgroundJobs/VerifyUserData.php","line":99,"function":"remove","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OCA\\Settings\\BackgroundJobs\\VerifyUserData","type":"->"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php","Line":101,"Previous":{"Exception":"Doctrine\\DBAL\\Driver\\PDO\\Exception","Message":"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":2006,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":84,"function":"new","class":"Doctrine\\DBAL\\Driver\\PDO\\Exception","type":"::"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1136,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDO\\Statement","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":262,"function":"executeStatement","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":213,"function":"executeStatement","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":110,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/BackgroundJobs/VerifyUserData.php","line":99,"function":"remove","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OCA\\Settings\\BackgroundJobs\\VerifyUserData","type":"->"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php","Line":26,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":"HY000","Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":82,"function":"execute","class":"PDOStatement","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1136,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDO\\Statement","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":262,"function":"executeStatement","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":213,"function":"executeStatement","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":110,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/BackgroundJobs/VerifyUserData.php","line":99,"function":"remove","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OCA\\Settings\\BackgroundJobs\\VerifyUserData","type":"->"}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","Line":82}},"CustomMessage":"--"}}
{"reqId":"f12tiRkWVui9xU9UZ18i","level":3,"time":"2023-01-10T22:36:15+00:00","remoteAddr":"166.62.236.50","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/theming/styles?v=7","message":"file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/theming/a472-fb6b-theming.css): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"22.2.0.2","exception":{"Exception":"Error","Message":"file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/theming/a472-fb6b-theming.css): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Local.php","line":277,"function":"file_get_contents"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":247,"function":"file_get_contents","class":"OC\\Files\\Storage\\Local","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1171,"function":"file_get_contents","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":601,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/File.php","line":56,"function":"file_get_contents","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":90,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/nextcloud/lib/public/AppFramework/Http/FileDisplayResponse.php","line":68,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":203,"function":"callback","class":"OCP\\AppFramework\\Http\\FileDisplayResponse","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":301,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1000,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'blahblah',
  'passwordsalt' => 'blahblahblah',
  'secret' => 'blahblahblahblahblah',
  'trusted_domains' => 
  array (
    0 => 'example.com',
  ),
  'datadirectory' => '/home/ubuntu/data',
  'dbtype' => 'mysql',
  'version' => '22.2.3.0',
  'overwrite.cli.url' => 'https://example.com,
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'admin',
  'dbpassword' => 'password',
  'installed' => true,
  'mail_from_address' => 'admin.example',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'use.somemail.com',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtpsecure' => 'ssl',
  'mail_smtphost' => 'smtp.somemail.com',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'me@somemail.com',
  'mail_smtppassword' => 'blahblahblah',
  'default_phone_region' => 'ISO 3166-2:CA',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'maintenance' => false,
  'theme' => '',
'loglevel' => 2,
  'updater.secret' => '$2y$10$jDC81eCN3AB3U9Jm7KkS3uzl65Tg6suMJNRsCc4T3UGCgDCFx7Qb2',
);

The output of your Apache/nginx/system log in /var/log/____:

[Wed Jan 11 00:00:04.508833 2023] [mpm_prefork:notice] [pid 888] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Wed Jan 11 00:00:04.508859 2023] [core:notice] [pid 888] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jan 11 04:53:48.414064 2023] [proxy_fcgi:error] [pid 2831] [client 164.90.218.232:51766] AH01071: Got error 'Primary script unknown'
[Wed Jan 11 05:36:25.277673 2023] [mpm_prefork:notice] [pid 888] AH00171: Graceful restart requested, doing restart
[Wed Jan 11 05:36:25.296177 2023] [mpm_prefork:notice] [pid 888] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Wed Jan 11 05:36:25.296190 2023] [core:notice] [pid 888] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jan 11 13:58:11.547514 2023] [proxy_fcgi:error] [pid 5995] [client 85.175.73.137:35659] AH01071: Got error 'Primary script unknown'

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

Level	App	Message		Time
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/serverinfo/4039-fb6b-style.css.deps): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	

    Copy raw
    Copy formatted

	2023-01-11T11:28:38-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T18:16:02-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/settings/1bf6-fb6b-settings.css): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T18:16:02-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T18:14:43-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/settings/1bf6-fb6b-settings.css.gzip): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T18:14:43-0500
Error	PHP	Error: fopen(/home/ubuntu/data/appdata_ocj3jbc4qrb1/collectives/22/Meeting 2021-12-16.md): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T18:03:56-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T18:03:47-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/preview/2/5/f/2/5/8/1/30067/64-64-crop.png): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T18:03:47-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T18:02:54-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/theming/11/touchIcon-core): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T18:02:54-0500
Error	PHP	Error: fopen(/home/ubuntu/data/appdata_ocj3jbc4qrb1/collectives/2/Newsletter/Readme.md): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T18:02:42-0500
Error	integration_whiteboard	[ERROR] Spacedeck is unreachable, it might not be running. cURL error 7: Failed to connect to localhost port 9666: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:9666/api/spaces	
2023-01-10T18:02:32-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/theming/a472-fb6b-theming.css.deps): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T18:01:31-0500
Error	no app in context	Sabre\DAV\Exception\BadRequest: Expected filesize of 277794466 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 0 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.	
2023-01-10T17:40:00-0500
Error	no app in context	Sabre\DAV\Exception\BadRequest: Expected filesize of 277794466 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 12419072 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.	
2023-01-10T17:40:00-0500
Error	no app in context	Sabre\DAV\Exception\BadRequest: Expected filesize of 277794466 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 24166400 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.	
2023-01-10T17:39:57-0500
Error	no app in context	Sabre\DAV\Exception\BadRequest: Expected filesize of 277794466 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 158253056 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.	
2023-01-10T17:39:53-0500
Error	PHP	Error: fopen(/home/ubuntu/data/kdys/files/Nextcloud intro.mp4): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:38:14-0500
Error	PHP	Error: fopen(/home/ubuntu/data/kdys/files/Nextcloud Manual.pdf): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:38:14-0500
Error	PHP	Error: fopen(/home/ubuntu/data/admin/files/WelcomeToCNSPHUB.docx): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:37:56-0500
Error	PHP	Error: fopen(/home/ubuntu/data/kdys/files/WelcomeToCNSPHUB.docx): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:37:56-0500
Error	PHP	Error: fopen(/home/ubuntu/data/kdys/files/Nextcloud.png): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:37:08-0500
Error	PHP	Error: fopen(/home/ubuntu/data/kdys/files/Nextcloud Manual.pdf): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:37:08-0500
Error	PHP	Error: fopen(/home/ubuntu/data/kdys/files/Nextcloud intro.mp4): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:37:08-0500
Error	PHP	Error: fopen(/home/ubuntu/data/admin/files/WelcomeToCNSPHUB.docx): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:37:04-0500
Error	PHP	Error: fopen(/home/ubuntu/data/kdys/files/WelcomeToCNSPHUB.docx): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:37:04-0500
Error	PHP	Error: fopen(/home/ubuntu/data/kdys/files/Nextcloud.png): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:37:00-0500
Error	PHP	Error: fopen(/home/ubuntu/data/kdys/files/Nextcloud Manual.pdf): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:37:00-0500
Error	PHP	Error: fopen(/home/ubuntu/data/kdys/files/Nextcloud intro.mp4): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:37:00-0500
Error	PHP	Error: fopen(/home/ubuntu/data/admin/files/WelcomeToCNSPHUB.docx): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:36:51-0500
Error	PHP	Error: fopen(/home/ubuntu/data/kdys/files/WelcomeToCNSPHUB.docx): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#363	
2023-01-10T17:36:50-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:46-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/contacts/f855-fb6b-icons.css.gzip): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:45-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:45-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/core/dd9a-fb6b-server.css): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:45-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:30-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/spreed/89b3-fb6b-unified-search.css.gzip): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:30-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:30-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/notes/737e-fb6b-global.css.gzip): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:30-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:30-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/deck/3c1d-fb6b-deck.css.gzip): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:30-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:30-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/announcementcenter/0e56-fb6b-announcementcenter-global.css.gzip): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:30-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:30-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/announcementcenter/0e56-fb6b-dashboard.css.gzip): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:30-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:30-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/spreed/89b3-fb6b-icons.css.gzip): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:30-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:29-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/core/dd9a-fb6b-css-variables.css.gzip): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:29-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:29-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/spreed/89b3-fb6b-merged-files.css.gzip): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:29-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:29-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/css/core/dd9a-fb6b-server.css.gzip): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:29-0500
Error	index	OCP\Files\NotFoundException: File does not exist	
2023-01-10T17:36:16-0500
Error	PHP	Error: file_get_contents(/home/ubuntu/data/appdata_ocj3jbc4qrb1/theming/7/touchIcon-core): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#277	
2023-01-10T17:36:16-0500

The instance is running fine, but I need to update it as 22.2.3 is no longer supported and I need to get all the new up-to-date functionality of Nexcloud Hub 3!

I would also like to update my Ubuntu to the latest LTS, for safety and performance, but last time I did that it borked my instance, and I now assume that it has something to do with the Apache issues I am seeing here.