I installed Nextcloud a few days ago on my unraid server and am very happy with it. I have the linuxserver letsencrypt and duckdns dockers for ssl remote access.
Unfortunately, i am unable to install any nextcloud app.
My problem: When i click on “Enable” to enable an app (any app), i get within a fraction of a second the following message: " Error while enabling app".
When clicking “Disable” to disable an app, the button turns to “Disabling app…” but stays like this and nothing actually happens.
Log status: Nothing in the Nextcloud, or letsencrypt dockers. Nothing relevant in the web browser console (just a missing font not being downloaded).
What i have already tried: I have tried this guys solution : Error while enabling app
But it didn’t work for me (and yes i did restart the docker and even the whole server).
I have seen this and do not have this problem: https://github.com/linuxserver/docker-nextcloud/issues/22
I have searched limetech’s, nextcloud’s and owncloud’s forums for other possible solutions but didn’t find anything relevant or that helped with my problem.
I also accessed the web interface via the local IP (instead of the remote ), but the problem still persists.
I added some lines in config.php, hoping it would help, but it didn’t. Here is the version i tried (i erased the private stuff):
<?php $CONFIG = array ( 'memcache.local' => '\\OC\\Memcache\\APCu', 'datadirectory' => '/data', 'instanceid' => '', 'passwordsalt' => '', 'secret' => '', 'trusted_domains' => array ( 0 => '', 1 => '', 2 => '', ), 'trusted_proxies' => array ( 0 => '', ), 'overwritewebroot' => '/nextcloud', 'overwrite.cli.url' => '/nextcloud', 'dbtype' => 'mysql', 'version' => '188.8.131.52', 'dbname' => 'nextcloud', 'dbhost' => '', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'oc_root', 'dbpassword' => '', 'installed' => true, 'mail_smtpmode' => 'smtp', 'mail_smtpauthtype' => 'LOGIN', 'mail_from_address' => '', 'mail_domain' => 'gmail.com', 'mail_smtpauth' => 1, 'mail_smtpsecure' => 'ssl', 'mail_smtpport' => '465', 'mail_smtphost' => 'smtp.gmail.com', 'mail_smtpname' => '', 'mail_smtppassword' => '', 'has_internet_connection' => true, 'appstoreenabled' => true, 'apps_paths' => array( array( 'path'=> '/config/www/nextcloud/apps', 'url' => '/apps', 'writable' => true, ), ), 'appcodechecker' => false, );
I would really appreciate any suggestions as to how i could download nextcloud apps.
A big thanks to all the nextclouds developers for developing such an amazing solution for giving the users control over their own data.
PS: Full disclosure: I also posted this question on the unraid forums but i haven’t got a solution to my problem yet. I will report back here if i do (and vice versa).