Hello,
here is my system setup:
Nextcloud version (eg, 20.0.5): 20.0.5
Operating system and version (eg, Ubuntu 20.04): FreeNas 11.3 U5
Apache or nginx version (eg, Apache 2.4.25): ?
PHP version (eg, 7.4): ?
The issue you are facing:
After the update to 20.0.5 I have two problems:
-
I can not sync with the Nextcloud Sync app anymore.
The error message is: "No connection to Nextcloud http://xxx Server replied “500 internal Server Error” to “GET http://xxx/status.php”
Despite this the adr and cal sync (carddav and caldav) is still working. -
I can login as admin but can not go to settings, I only get an empty white page.
Is this the first time you’ve seen this error? Y
To be precise - after the update to 20.0.3 this was already the case but I hoped that with the next update (this one) Nextcloud has solved the issue.
Steps to replicate it:
- Install FreeNas 11.3 U5
- Install Nextcloud 19 in a Jail and update to 20
- Sync your data with the Nextcloud app e.g. for Linux or try to open settings for admin
The output of your Nextcloud log in Admin > Logging:
Sorry, I do not have access to the admin settings… one of my issues. Is this the content of nextcloud.log? If yes, I have copied the content of the file since my last login (otherwise it is toooo long):
3,"time":"2021-01-24T00:00:08+00:00","remoteAddr":"192.168.33.103","user":"root","app":"PHP","method":"GET","url":"/settings/user","message":"Class OCA\\Support\\Subscription\\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Support\\Subscription\\ISubscription::isHardUserLimitReached) at /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"20.0.5.2"}
{"reqId":"zajiU5BtSePEmQYrIuPF","level":3,"time":"2021-01-24T00:00:14+00:00","remoteAddr":"192.168.33.103","user":"root","app":"PHP","method":"GET","url":"/settings/user","message":"Class OCA\\Support\\Subscription\\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Support\\Subscription\\ISubscription::isHardUserLimitReached) at /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"20.0.5.2"}
{"reqId":"iqU3pe7xDX2D5JWQUnHe","level":3,"time":"2021-01-24T00:00:27+00:00","remoteAddr":"192.168.33.103","user":"root","app":"PHP","method":"GET","url":"/settings/user","message":"Class OCA\\Support\\Subscription\\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Support\\Subscription\\ISubscription::isHardUserLimitReached) at /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"20.0.5.2"}
{"reqId":"MKaxJ6CpbCeuzcQB850B","level":3,"time":"2021-01-24T00:01:02+00:00","remoteAddr":"192.168.33.103","user":"root","app":"PHP","method":"GET","url":"/settings/apps","message":"Class OCA\\Support\\Subscription\\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Support\\Subscription\\ISubscription::isHardUserLimitReached) at /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"20.0.5.2"}
{"reqId":"O6lFUPMTkqXtZ7kDdIEZ","level":3,"time":"2021-01-24T12:10:18+00:00","remoteAddr":"192.168.33.103","user":"root","app":"PHP","method":"GET","url":"/settings/user","message":"Class OCA\\Support\\Subscription\\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Support\\Subscription\\ISubscription::isHardUserLimitReached) at /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"20.0.5.2"}
{"reqId":"13ZDoxjMsanReSOvQsZZ","level":3,"time":"2021-01-24T12:25:42+00:00","remoteAddr":"192.168.33.103","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"Class OCA\\Support\\Subscription\\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Support\\Subscription\\ISubscription::isHardUserLimitReached) at /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php#30","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1git (build 4317) (Nextcloud)","version":"20.0.5.2"}
{"reqId":"PNOVRl7ICs3Lu0X5EbwO","level":3,"time":"2021-01-24T12:26:13+00:00","remoteAddr":"192.168.33.103","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"Class OCA\\Support\\Subscription\\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Support\\Subscription\\ISubscription::isHardUserLimitReached) at /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php#30","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1git (build 4317) (Nextcloud)","version":"20.0.5.2"}
{"reqId":"RHFklmV16kRAtDwVZu06","level":3,"time":"2021-01-24T12:26:45+00:00","remoteAddr":"192.168.33.103","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"Class OCA\\Support\\Subscription\\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Support\\Subscription\\ISubscription::isHardUserLimitReached) at /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php#30","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1git (build 4317) (Nextcloud)","version":"20.0.5.2"}
{"reqId":"lET7wuQGsRuixhKo6YLz","level":3,"time":"2021-01-24T12:27:17+00:00","remoteAddr":"192.168.33.103","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"Class OCA\\Support\\Subscription\\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Support\\Subscription\\ISubscription::isHardUserLimitReached) at /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php#30","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1git (build 4317) (Nextcloud)","version":"20.0.5.2"}
{"reqId":"cRjNixzTZjNJCmegA9qj","level":3,"time":"2021-01-24T12:35:55+00:00","remoteAddr":"192.168.33.103","user":"root","app":"PHP","method":"GET","url":"/settings/apps","message":"Class OCA\\Support\\Subscription\\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Support\\Subscription\\ISubscription::isHardUserLimitReached) at /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"20.0.5.2"}
{"reqId":"B3Zkxf93100kP91b4aFD","level":3,"time":"2021-01-24T12:36:32+00:00","remoteAddr":"192.168.33.103","user":"root","app":"PHP","method":"GET","url":"/settings/user","message":"Class OCA\\Support\\Subscription\\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Support\\Subscription\\ISubscription::isHardUserLimitReached) at /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php#30","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"20.0.5.2"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?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' => true,
),
),
'logfile' => '/var/log/nextcloud/nextcloud.log',
'memcache.local' => '\\OC\\Memcache\\APCu',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '192.168.xxx',
2 => '192.168.xxx',
),
'datadirectory' => '/usr/local/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '20.0.5.2',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'xxx',
'dbhost' => 'xxx',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
'instanceid' => 'xxx',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.secret' => 'xxx',
'app_install_overwrite' =>
array (
0 => 'joplin',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
I have found in /var/log/nginx two files, I assume that the error.log is the more interesting of them. Again, I have added the entries of the last day of login:
2021/01/24 09:10:02 [warn] 17817#100492: *221 an upstream response is buffered to a temporary file /var/tmp/nginx/fastcgi_temp/2/00/0000000002 while reading upstream, client: 192.168.33.103, server: _, request: "GET /apps/theming/image/logo?useSvg=1&v=11 HTTP/1.1", upstream: "fastcgi://unix:/var/run/nextcloud-php-fpm.sock:", host: "192.168.33.11"
2021/01/24 09:10:02 [warn] 17821#101448: *218 an upstream response is buffered to a temporary file /var/tmp/nginx/fastcgi_temp/3/00/0000000003 while reading upstream, client: 192.168.33.103, server: _, request: "GET /apps/theming/image/logo?v=11 HTTP/1.1", upstream: "fastcgi://unix:/var/run/nextcloud-php-fpm.sock:", host: "192.168.33.11"
2021/01/24 09:10:18 [error] 17821#101448: *218 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class OCA\Support\Subscription\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\Support\Subscription\ISubscription::isHardUserLimitReached) in /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php on line 30" while reading response header from upstream, client: 192.168.33.103, server: _, request: "GET /settings/user HTTP/1.1", upstream: "fastcgi://unix:/var/run/nextcloud-php-fpm.sock:", host: "192.168.33.11"
2021/01/24 09:25:42 [error] 17821#101448: *266 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class OCA\Support\Subscription\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\Support\Subscription\ISubscription::isHardUserLimitReached) in /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php on line 30" while reading response header from upstream, client: 192.168.33.103, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/nextcloud-php-fpm.sock:", host: "192.168.33.11"
2021/01/24 09:26:13 [error] 17821#101448: *268 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class OCA\Support\Subscription\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\Support\Subscription\ISubscription::isHardUserLimitReached) in /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php on line 30" while reading response header from upstream, client: 192.168.33.103, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/nextcloud-php-fpm.sock:", host: "192.168.33.11"
2021/01/24 09:26:45 [error] 17821#101448: *270 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class OCA\Support\Subscription\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\Support\Subscription\ISubscription::isHardUserLimitReached) in /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php on line 30" while reading response header from upstream, client: 192.168.33.103, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/nextcloud-php-fpm.sock:", host: "192.168.33.11"
2021/01/24 09:27:17 [error] 17821#101448: *272 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class OCA\Support\Subscription\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\Support\Subscription\ISubscription::isHardUserLimitReached) in /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php on line 30" while reading response header from upstream, client: 192.168.33.103, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/nextcloud-php-fpm.sock:", host: "192.168.33.11"
2021/01/24 09:35:55 [error] 17818#101532: *317 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class OCA\Support\Subscription\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\Support\Subscription\ISubscription::isHardUserLimitReached) in /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php on line 30" while reading response header from upstream, client: 192.168.33.103, server: _, request: "GET /settings/apps HTTP/1.1", upstream: "fastcgi://unix:/var/run/nextcloud-php-fpm.sock:", host: "192.168.33.11"
2021/01/24 09:36:32 [error] 17818#101532: *317 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class OCA\Support\Subscription\SubscriptionAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\Support\Subscription\ISubscription::isHardUserLimitReached) in /usr/local/www/nextcloud/apps/support/lib/Subscription/SubscriptionAdapter.php on line 30" while reading response header from upstream, client: 192.168.33.103, server: _, request: "GET /settings/user HTTP/1.1", upstream: "fastcgi://unix:/var/run/nextcloud-php-fpm.sock:", host: "192.168.33.11"