In order to help you as quickly as possible, before clicking Create Topic please provide as much of the following as you can (you can cut and paste this into your topic):
Nextcloud version: 12.0.4.3
Operating system and version: Ubuntu 16.04.3 LTS
Apache: Apache/2.4.18 (Ubuntu) (apache2handler)
PHP version: 7.0.22
Is this the first time you’ve seen this error?: Yes but it has been like this for a very long time
Can you reliably replicate it?:
Yes. the “Apps” page on my webpage doesn’t look like this. https://docs.nextcloud.com/server/12/admin_manual/installation/apps_management_installation.html
The issue you are facing:
On my “Apps” page I don’t see anything but “Your Apps”, “Enabled Apps”, “Disable Apps”, “App Bundles” on the sidebar. If I look at my “Enabled Apps” I can click “View in store” but only because I have I have manually put said apps there (Group folders for example). I cannot actually choose to install new apps from my web interface at all.
I cannot download apps right from the server. It is actually laughable because I never knew you could. It has always been normal practice to do it all manually, i.e. grab if from https://apps.nextcloud.com/ and pscp it over to my server put it in my app directory and go from there. This way obviously works, albeit it is very time consuming…
The output of your Nextcloud log in Admin > Logging:
{"reqId":"QHUzOSEN5J2VfC5UOCmn","level":3,"time":"2017-12-22T15:28:21+00:00","remoteAddr":"10.10.93.129","user":"ncadmin","app":"PHP","method":"GET","url":"\/settings\/apps\/list?category=installed","message":"file_put_contents(\/var\/ncdata\/appdata_ocjpfpi04mdk\/appstore\/apps.json): failed to open stream: Permission denied at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#213","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/63.0.3239.84 Safari\/537.36","version":"12.0.4.3"}
file_put_contents(/var/ncdata/appdata_ocjpfpi04mdk/appstore/apps.json): failed to open stream: Permission denied at /var/www/nextcloud/lib/private/Files/Storage/Local.php#213
The output of your config.php file in /path/to/nextcloud
:
{
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"",
"",
"nextcloud"
],
"datadirectory": "\/var\/ncdata",
"overwrite.cli.url": "https:\/\/nextcloud\/",
"dbtype": "mysql",
"version": "12.0.4.3",
"dbname": "nextcloud_db",
"dbhost": "localhost",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "UTC",
"logfile": "\/var\/log\/nextcloud.log",
"loglevel": 0,
"installed": true,
"instanceid": "ocjpfpi04mdk",
"appstore.experimental.enabled": "true",
"trashbin_retention_obligation": "D30, auto",
"mail_smtpmode": "smtp",
"mail_smtpport": "25",
"mail_smtphost": "IP Address",
"mail_from_address": "cloud",
"mail_domain": "Domain.com",
"preview_libreoffice_path": "\/usr\/bin\/libreoffice",
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "\/var\/run\/redis\/redis.sock",
"port": 0,
"timeout": 0,
"dbindex": 0
},
"htaccess.RewriteBase": "\/",
"maintenance": false,
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
"updater.release.channel": "production",
"mail_smtpauthtype": "LOGIN"
}
The output of /var/log/Apache2/error.log:
[Fri Dec 22 09:17:55.591290 2017] [:error] [pid 10121] [client 10.10.93.129:61109] PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /var/www/nextcloud/index.php:69\nStack trace:\n#0 {main}\n thrown in /var/www/nextcloud/index.php on line 69
Notes:
I am obviously having a permission issue. I simply can’t find what the permissions are supposed to be. I found similar issue but not any quite as extensive as mine. Thanks for any help,