I just updated to 19.0.5 via the browser updater.
Now the instance is useless.
Navigating to the web page results in either a 504 gateway error nginx/1.18.0 (Ubuntu), or the login page appears, only to hang when credentials are entered, resulting in finally showing the 504 error.
I have put nextcloud in and out of maintenance mode. The maintenance mode page loads quickly.
I have restarted nginx with sudo systemctl reload nginx
and sudo nginx -t
shows that nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful
I tested the page on www.ssllabs.com and received an A rating, with this message: “HTTP request to this server failed”.
/usr/share/nginx/nextcloud/config/config.php
<?php
$CONFIG = array (
'instanceid' => 'xxx',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'www.dysoncloud.net',
),
'datadirectory' => '/usr/share/nginx/nextcloud-data',
'dbtype' => 'mysql',
'version' => '19.0.5.2',
'overwrite.cli.url' => 'https://www.dysoncloud.net',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextclouduser',
'dbpassword' => 'xxx',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'mail_from_address' => 'dysonsphere',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'startmail.com',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.startmail.com',
'mail_smtpport' => '465',
'mail_smtpname' => 'dysonsphere@startmail.com',
'mail_smtppassword' => 'xxxxxxxxxxxxxxxxx',
'mail_smtpsecure' => 'ssl',
'maintenance' => false,
'updater.release.channel' => 'stable',
'updater.secret' => 'xxx',
'theme' => '',
'loglevel' => 2,
);
/var/log/nginx/error.log
2020/12/05 00:10:43 [error] 368778#368778: *26402 open() "/usr/share/nginx/html/hudson" failed (2: No such file or directory), client: 192.>
2020/12/05 00:20:04 [error] 368778#368778: *26610 open() "/usr/share/nginx/html/.env" failed (2: No such file or directory), client: 3.238.>
2020/12/05 01:09:27 [error] 368778#368778: *27037 open() "/usr/share/nginx/html/phpmyadmin/index.php" failed (2: No such file or directory)>
2020/12/05 01:09:27 [error] 368778#368778: *27037 open() "/usr/share/nginx/html/pmd/index.php" failed (2: No such file or directory), clien>
2020/12/05 01:47:36 [error] 368778#368778: *27297 open() "/usr/share/nginx/html/.env" failed (2: No such file or directory), client: 3.238.>
2020/12/05 02:47:39 [error] 368778#368778: *27706 open() "/usr/share/nginx/html/GponForm/diag_Form" failed (2: No such file or directory), >
2020/12/05 02:55:40 [error] 368778#368778: *27772 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.>
2020/12/05 02:55:40 [error] 368778#368778: *27772 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.>
2020/12/05 02:55:40 [error] 368778#368778: *27775 no live upstreams while connecting to upstream, client: 192.168.1.1, server: collabra.ddn>
2020/12/05 04:16:45 [error] 374714#374714: *493 open() "/usr/share/nginx/html/robots.txt" failed (2: No such file or directory), client: 15>
2020/12/05 04:16:51 [error] 374714#374714: *495 open() "/usr/share/nginx/html/sitemap.xml" failed (2: No such file or directory), client: 1>
2020/12/05 04:38:33 [error] 374714#374714: *635 open() "/usr/share/nginx/html/sitemap_index.xml" failed (2: No such file or directory), cli>
2020/12/05 05:13:24 [error] 374714#374714: *890 open() "/usr/share/nginx/html/owa/auth/logon.aspx" failed (2: No such file or directory), c>
2020/12/05 05:14:56 [error] 374714#374714: *900 open() "/usr/share/nginx/html/sitemaps.xml" failed (2: No such file or directory), client: >
2020/12/05 05:22:47 [error] 374714#374714: *946 open() "/usr/share/nginx/html/robots.txt" failed (2: No such file or directory), client: 66>
2020/12/05 05:35:32 [error] 374714#374714: *1034 open() "/usr/share/nginx/html/api/jsonws/invoke" failed (2: No such file or directory), cl>
2020/12/05 05:35:32 [error] 374714#374714: *1033 open() "/usr/share/nginx/html/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php" failed (>
2020/12/05 05:35:35 [error] 374714#374714: *1035 open() "/usr/share/nginx/html/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php" failed (>
2020/12/05 05:35:35 [error] 374714#374714: *1036 open() "/usr/share/nginx/html/index.php" failed (2: No such file or directory), client: 91>
2020/12/05 05:35:37 [error] 374714#374714: *1037 open() "/usr/share/nginx/html/mifs/.;/services/LogService" failed (2: No such file or dire>
2020/12/05 05:35:39 [error] 374714#374714: *1038 open() "/usr/share/nginx/html/wp-content/plugins/wp-file-manager/readme.txt" failed (2: No>
2020/12/05 05:35:39 [error] 374714#374714: *1039 "/usr/share/nginx/html/console/index.html" is not found (2: No such file or directory), cl>
2020/12/05 05:35:42 [error] 374714#374714: *1042 open() "/usr/share/nginx/html/Autodiscover/Autodiscover.xml" failed (2: No such file or di>
2020/12/05 07:16:14 [error] 374714#374714: *1731 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: >
2020/12/05 08:12:12 [error] 374714#374714: *2112 open() "/usr/share/nginx/html/config/getuser" failed (2: No such file or directory), clien>
2020/12/05 08:47:45 [error] 374714#374714: *2401 open() "/usr/share/nginx/html/config/getuser" failed (2: No such file or directory), clien>
2020/12/05 09:56:18 [error] 374714#374714: *2923 open() "/usr/share/nginx/html/index.php" failed (2: No such file or directory), client: 91>
2020/12/05 09:56:19 [error] 374714#374714: *2924 open() "/usr/share/nginx/html/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php" failed (>
2020/12/05 09:56:19 [error] 374714#374714: *2925 open() "/usr/share/nginx/html/api/jsonws/invoke" failed (2: No such file or directory), cl>
2020/12/05 09:56:20 [error] 374714#374714: *2926 open() "/usr/share/nginx/html/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php" failed (>
2020/12/05 09:56:20 [error] 374714#374714: *2927 open() "/usr/share/nginx/html/solr/admin/info/system" failed (2: No such file or directory>
2020/12/05 09:56:21 [error] 374714#374714: *2930 open() "/usr/share/nginx/html/Autodiscover/Autodiscover.xml" failed (2: No such file or di>
2020/12/05 09:56:22 [error] 374714#374714: *2931 open() "/usr/share/nginx/html/wp-content/plugins/wp-file-manager/readme.txt" failed (2: No>
2020/12/05 09:56:22 [error] 374714#374714: *2932 "/usr/share/nginx/html/console/index.html" is not found (2: No such file or directory), cl>
2020/12/05 10:51:04 [error] 374714#374714: *3335 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1>
2020/12/05 10:51:04 [error] 374714#374714: *3335 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1>
2020/12/05 11:19:06 [error] 374714#374714: *4794 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1>
2020/12/05 11:19:06 [error] 374714#374714: *4794 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1>
2020/12/05 11:25:11 [error] 374714#374714: *5589 open() "/usr/share/nginx/html/portal/redlion" failed (2: No such file or directory), clien>
2020/12/05 11:52:13 [notice] 393087#393087: signal process started
2020/12/05 11:52:46 [crit] 393088#393088: *86 SSL_do_handshake() failed (SSL: error:14201044:SSL routines:tls_choose_sigalg:internal error)>
/var/log/nginx/nextcloud.error
2020/05/12 08:36:35 [crit] 2594#2594: *44 SSL_do_handshake() failed (SSL: error:14201044:SSL routines:tls_choose_sigalg:internal error) whi>
2020/05/12 08:40:35 [error] 2594#2594: *195 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot declare class OCA\Talk\Migration>
2020/05/12 13:12:49 [error] 72129#72129: *25038 recv() failed (104: Connection reset by peer) while reading response header from upstream, >
2020/05/13 21:03:21 [error] 102673#102673: *19364 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[4>
Stack trace:
#0 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute()
#1 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1054): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /usr/share/nginx/nextcloud/lib/private/DB/Connection.php(220): Doctrine\DBAL\Connection->executeUpdate()
#3 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(203): OC\DB\Connection->executeUpdate()
#4 /usr/share/nginx/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(215): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /usr/share/nginx/nextcloud/lib/private/Lock/DBLockingProvider.php(316): OC\DB\QueryBuilder\QueryBuild" while reading upstream, client: 1>
2020/05/13 21:03:22 [error] 102673#102673: *19364 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[4>
Stack trace:
#0 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute()
#1 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1054): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /usr/share/nginx/nextcloud/lib/private/DB/Connection.php(220): Doctrine\DBAL\Connection->executeUpdate()
#3 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(203): OC\DB\Connection->executeUpdate()
#4 /usr/share/nginx/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(215): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /usr/share/nginx/nextcloud/lib/private/Lock/DBLockingProvider.php(316): OC\DB\QueryBuilder\QueryBuild" while reading upstream, client: 1>
2020/05/13 21:03:22 [error] 102673#102673: *19364 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[4>
Stack trace:
#0 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute()
#1 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1054): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /usr/share/nginx/nextcloud/lib/private/DB/Connection.php(220): Doctrine\DBAL\Connection->executeUpdate()
#3 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(203): OC\DB\Connection->executeUpdate()
#4 /usr/share/nginx/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(215): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /usr/share/nginx/nextcloud/lib/private/Lock/DBLockingProvider.php(316): OC\DB\QueryBuilder\QueryBuild" while reading response header fro>
2020/05/13 21:03:22 [error] 102673#102673: *19364 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[4>
Stack trace:
#0 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute()
#1 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1054): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /usr/share/nginx/nextcloud/lib/private/DB/Connection.php(220): Doctrine\DBAL\Connection->executeUpdate()
#3 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(203): OC\DB\Connection->executeUpdate()
#4 /usr/share/nginx/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(215): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /usr/share/nginx/nextcloud/lib/private/Lock/DBLockingProvider.php(316): OC\DB\QueryBuilder\QueryBuild" while reading upstream, client: 1>
2020/05/13 21:03:22 [error] 102673#102673: *19364 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[4>
Stack trace:
#0 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute()
#1 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1054): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /usr/share/nginx/nextcloud/lib/private/DB/Connection.php(220): Doctrine\DBAL\Connection->executeUpdate()
#3 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(203): OC\DB\Connection->executeUpdate()
#4 /usr/share/nginx/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(215): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /usr/share/nginx/nextcloud/lib/private/Lock/DBLockingProvider.php(316): OC\DB\QueryBuilder\QueryBuild" while reading upstream, client: 1>
2020/05/13 21:03:22 [error] 102673#102673: *19364 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[4>
Stack trace:
#0 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute()
#1 /usr/share/nginx/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1054): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /usr/share/nginx/nextcloud/lib/private/DB/Connection.php(220): Doctrine\DBAL\Connection->executeUpdate()
I am at a loss for what to do at this point.
Any advice would be much appreciated.
Thanks