Nextcloud version: 11.0.2 (stable)
Operating system and version: Ubuntu 16.10
Apache or nginx version: Apache 2.4.18
PHP version: PHP 7.0.15-0ubuntu0.16.10.2 (cli) ( NTS )
Is this the first time you’ve seen this error?: Yes
The issue you are facing:
I haven’t touched nextcloud in a couple weeks, and all of a sudden, without any changes on my end to that server, I started to encounter the issues below.
Issue #1 - When logged into nextcloud via the web interface, I get a lot of the errors in the logs below.
Error PHP fopen(/var/www/html/drive/data/appdata_ocusojwev2p9/appstore/apps.json): failed to open stream: No such file or directory at /var/www/html/drive/lib/private/Files/Storage/Local.php#216 2017-04-27T07:16:08-0400 Error PHP filesize(): stat failed for /var/www/html/drive/data/appdata_ocusojwev2p9/appstore/apps.json at /var/www/html/drive/lib/private/Files/Storage/Local.php#211 2017-04-27T07:16:08-0400 Error PHP Invalid argument supplied for foreach() at /var/www/html/drive/lib/private/Installer.php#360 2017-04-27T07:16:08-0400 Error PHP fclose() expects parameter 1 to be resource, boolean given at /var/www/html/drive/lib/private/Files/Storage/Local.php#218 2017-04-27T07:16:08-0400 Error PHP fread() expects parameter 1 to be resource, boolean given at /var/www/html/drive/lib/private/Files/Storage/Local.php#217 2017-04-27T07:16:08-0400
Issue #2 - I can no longer access Passman, as I get the following message in a box when launching the app:
You have incoming share requests. If you want to put the credential in a other vault, logout of this vault and login to the vault you want the shared credential in. Label Permissions Received from Date
I close the message, and get the loading graphic, but it never advances to Passman.
Logs observed when trying to launch Passman:
Error PHP Method OC_L10N_String::__toString() must return a string value at /var/www/html/drive/lib/private/L10N/L10N.php#85 2017-04-27T07:29:03-0400 Error PHP vsprintf(): Too few arguments at /var/www/html/drive/lib/private/legacy/l10n/string.php#72 2017-04-27T07:29:03-0400
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
> <?php
> $CONFIG = array (
> ‘instanceid’ => ‘REMOVED’,
> ‘passwordsalt’ => ‘REMOVED’,
> ‘secret’ => ‘REMOVED’,
> ‘trusted_domains’ =>
> array (
> 0 => ‘REMOVED.com’,
> 1 => ‘10.0.0.23’,
> ),
> ‘overwritehost’ => ‘REMOVED.com’,
> ‘datadirectory’ => ‘/var/www/html/drive/data’,
> ‘overwrite.cli.url’ => ‘removed.com - removed Lähteet ja tiedot.’,
> ‘dbtype’ => ‘mysql’,
> ‘version’ => ‘11.0.2.7’,
> ‘dbname’ => ‘REMOVED’,
> ‘dbhost’ => ‘localhost’,
> ‘dbport’ => ‘’,
> ‘dbtableprefix’ => ‘oc_’,
> ‘dbuser’ => ‘REMOVED’,
> ‘dbpassword’ => ‘D@REMOVED’,
> ‘logtimezone’ => ‘UTC’,
> ‘installed’ => true,
> ‘maintenance’ => false,
> ‘theme’ => ‘7xtheme’,
> ‘loglevel’ => 0,
> ‘updater.secret’ => ‘REMOVED’,
> );
Apache output from /var/log/apache2/error.log:
> [Thu Apr 27 06:25:01.851288 2017] [ssl:warn] [pid 2265] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
> [Thu Apr 27 06:25:01.851459 2017] [mpm_prefork:notice] [pid 2265] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured – resuming normal operations
> [Thu Apr 27 06:25:01.851470 2017] [core:notice] [pid 2265] AH00094: Command line: ‘/usr/sbin/apache2’
> [Thu Apr 27 07:07:56.761546 2017] [authz_core:error] [pid 14839] [client 10.0.0.12:54325] AH01630: client denied by server configuration: /var/www/html/drive/data/.ocdata
> [Thu Apr 27 07:09:02.629316 2017] [authz_core:error] [pid 14963] [client 10.0.0.12:54337] AH01630: client denied by server configuration: /var/www/html/drive/data/.ocdata
> [Thu Apr 27 07:09:05.305927 2017] [authz_core:error] [pid 14836] [client 10.0.0.12:54338] AH01630: client denied by server configuration: /var/www/html/drive/data/.ocdata
> [Thu Apr 27 07:19:47.772962 2017] [authz_core:error] [pid 14868] [client 10.0.0.12:54390] AH01630: client denied by server configuration: /var/www/html/drive/data/.ocdata
> [Thu Apr 27 07:19:51.010809 2017] [authz_core:error] [pid 14837] [client 10.0.0.12:54391] AH01630: client denied by server configuration: /var/www/html/drive/data/.ocdata
> [Thu Apr 27 07:28:38.604890 2017] [authz_core:error] [pid 15022] [client 10.0.0.12:54420] AH01630: client denied by server configuration: /var/www/html/drive/data/.ocdata
> [Thu Apr 27 07:28:42.138948 2017] [authz_core:error] [pid 14837] [client 10.0.0.12:54421] AH01630: client denied by server configuration: /var/www/html/drive/data/.ocdata
> [Thu Apr 27 07:28:51.263479 2017] [authz_core:error] [pid 14837] [client 10.0.0.12:54427] AH01630: client denied by server configuration: /var/www/html/drive/data/.ocdata
> [Thu Apr 27 07:28:56.036847 2017] [authz_core:error] [pid 15043] [client 10.0.0.12:54424] AH01630: client denied by server configuration: /var/www/html/drive/data/.ocdata
> [Thu Apr 27 07:29:10.404674 2017] [authz_core:error] [pid 14839] [client 10.0.0.12:54434] AH01630: client denied by server configuration: /var/www/html/drive/data/.ocdata
> [Thu Apr 27 07:29:13.515388 2017] [authz_core:error] [pid 14836] [client 10.0.0.12:54436] AH01630: client denied by server configuration: /var/www/html/drive/data/.ocdata