Error 500 after "I did nothing"

I did nothing :slight_smile:

Dont remember the exact things when updating in September, but no problems and NC ran afterwards. (used sometimes, not too often)
Yesterday configured Mac-Client to sync (copy 5GB down to client). That worked OK.
12Hrs later: only error 500, Client has lost connection.

Nextcloud version (eg, 10.0.2): 12.0.3.3
Operating system and version (eg, Ubuntu 16.04): debian
Apache or nginx version (eg, Apache 2.4.25): apache 2.2.22
PHP version (eg, 5.6): 5.6.32
Is this the first time you’ve seen this error?: yes

Can you reliably replicate it? (If so, please outline steps): yes, always in Browser

The issue you are facing: 500

The output of your Nextcloud log in Admin > Logging: data/nextcloud.log
"GET",“url”:"/status.php",“message”:“array_key_exists() expects parameter 2 to be array, string given at /var/www/nextcloud/lib/autoloader.php#94”,“userAgent”:“Mozilla/5.0 (Macintosh) mirall/2.2.4 (build 3709)”,“version”:""}
{“reqId”:“wLR7EdGOn0sfT4zl0sdR”,“level”:3,“time”:“2017-11-07T20:15:04+00:00”,“remoteAddr”:“94.218.170.2”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/status.php",“message”:“array_key_exists() expects parameter 2 to be array, string given at /var/www/nextcloud/lib/autoloader.php#94”,“userAgent”:“Mozilla/5.0 (Macintosh) mirall/2.2.4 (build 3709)”,“version”:""}
{“reqId”:“wLR7EdGOn0sfT4zl0sdR”,“level”:3,“time”:“2017-11-07T20:15:04+00:00”,“remoteAddr”:“94.218.170.2”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/status.php",“message”:“array_key_exists() expects parameter 2 to be array, string given at /var/www/nextcloud/lib/autoloader.php#94”,“userAgent”:“Mozilla/5.0 (Macintosh) mirall/2.2.4 (build 3709)”,“version”:""}
{“reqId”:“OkcbXWMlCgBBJvwbfDr0”,“level”:3,“time”:“2017-11-07T20:15:04+00:00”,“remoteAddr”:“94.218.170.2”,“user”:"–",“app”:“PHP”,“method”:“PROPFIND”,“url”:"/remote.php/webdav/",“message”:“array_key_exists() expects parameter 2 to be array, string given at /var/www/nextcloud/lib/autoloader.php#94”,“userAgent”:“Mozilla/5.0 (Macintosh) mirall/2.2.4 (build 3709)”,“version”:""}
{“reqId”:“OkcbXWMlCgBBJvwbfDr0”,“level”:3,“time”:“2017-11-07T20:15:04+00:00”,“remoteAddr”:“94.218.170.2”,“user”:"–",“app”:“PHP”,“method”:“PROPFIND”,“url”:"/remote.php/webdav/",“message”:“array_key_exists() expects parameter 2 to be array, string given at /var/www/nextcloud/lib/autoloader.php#94”,“userAgent”:“Mozilla/5.0 (Macintosh) mirall/2.2.4 (build 3709)”,“version”:""}
{“reqId”:“OkcbXWMlCgBBJvwbfDr0”,“level”:3,“time”:“2017-11-07T20:15:04+00:00”,“remoteAddr”:“94.218.170.2”,“user”:"–",“app”:“PHP”,“method”:“PROPFIND”,“url”:"/remote.php/webdav/",“message”:“array_key_exists() expects parameter 2 to be array, string given at /var/www/nextcloud/lib/autoloader.php#94”,“userAgent”:“Mozilla/5.0 (Macintosh) mirall/2.2.4 (build 3709)”,“version”:""}

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

<?php $CONFIG = array ( 'instanceid' => 'o.....c', 'passwordsalt' => 'TeND...................f', 'secret' => 'XX2...........................', 'trusted_domains' => array ( 0 => 'nextcloud.teecee.de', ), 'datadirectory' => '/var/www/nextclouddata', 'overwrite.cli.url' => 'http://nextcloud............e', 'dbtype' => 'mysql', 'version' => '12.0.3.3', 'dbname' => 'nextcloud', 'dbhost' => '127.0.0.1', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => '........', 'dbpassword' => '......', 'logtimezone' => 'Europe/Berlin', 'installed' => true, 'memcache.local' => '\\OC\\Memcache\\APCu', 'log_type' => 'owncloud', 'logfile' => '/var/www/nextcloud.log', 'loglevel' => 4, 'syslog_tag' => 'Nextcloud', 'logdateformat' => 'F d, Y H:i:s', 'log_query' => false, 'cron_log' => true, 'log_rotate_size' => false, 'updater.release.channel' => 'stable', 'maintenance' => false, 'theme' => '', 'mail_from_address' => 'nextcloud', 'mail_smtpmode' => 'php', 'mail_domain' => 'teecee.de', 'versions_retention_obligation' => 'auto, 30', ); The output of your Apache/nginx/system log in `/var/log/____`: [Tue Nov 07 21:20:56 2017] [error] [client 94.218.170.2] PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /var/www/nextcloud/lib/autoloader.php on line 94 [Tue Nov 07 21:20:56 2017] [error] [client 94.218.170.2] PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /var/www/nextcloud/lib/autoloader.php on line 94 [Tue Nov 07 21:20:56 2017] [error] [client 94.218.170.2] PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /var/www/nextcloud/lib/autoloader.php on line 94 [Tue Nov 07 21:20:56 2017] [error] [client 94.218.170.2] PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /var/www/nextcloud/lib/autoloader.php on line 94 [Tue Nov 07 21:20:56 2017] [error] [client 94.218.170.2] PHP Fatal error: Class 'OC_Mount_Config' not found in /var/www/nextcloud/apps/files_external/appinfo/app.php on line 35 ---
1 Like

We receive Error 500 on Firefox browser. The error seems to occur when we’re logged in to the Nextcloud app on an Android mobile device. The Error 500 briefly appeared on Google Chrome while logged in to the Nextcloud app on an Android device.

I face the same problem, did nothing, uploaded 5GB, linux ubuntu 16.04, nextcloud 12.0.3 and “error 500” yesterday.
And I accidently cleared the logs.

If anyone can help, much appreciated ! :slight_smile:

After some days of “not working” with Error 500 in Browser and in the app:
Again I did nothing and it started working again: Web and App is running again.

This is NOT a reason to be happy.
This is THE reason why I CANNOT USE IT PROFESSIONALLY. Neither OC nor NC.

I am trying OC/NC since years. and try and try and try.
About every year I have a longer outage or loss of data.

Hmmm.
I want OSS. But it must run stable.

Mine started to work 24h later, and did it twice.
Each time I uploaded about 5GB via nextcloud desktop client.

I read somewhere it might be because I am currently using a sqlite database.
I am now trying to change it for a mariadb database instead.

ps : even with sqlite, and the nextcloud desktop client, it is working just fine if I stop the client and restart it every 1GB I upload. Keep faith in Nextcloud, this beautiful opportunity to open source the cloud ! :slight_smile: