Folks - thanks in advance for your help. I have been stumbling around for over a month and cannot find a solution on my own.
I am using UCS via the downloaded VMWare image and have installed the NextCloud app earlier this year and all was running smoothly until about a month ago. I am unaware what initially caused the problem, upgrading UCS, upgrading NextCloud… my son pressing the power button on my server… … at one point I noticed the IP address was incorrect on the UCS server start-up page, restarting a couple of times and tinkering with VMWare network settings and it is now back to the correct IP address…
Now when navigating to NextCloud using the ip address I see it is in ‘maintenance mode’. Also when attempting to navigate using x.com I get a message that x.com is not in the trusted domains.
I tried manually adjusting the config.php file using:
sudo vi /var/lib/univention-appcenter/apps/nextcloud/conf/config/config.php
adding the line for
2 => 'x.com',
also set
'maintenance' => false,
no luck when restarting.
The currently installed release version is 4.3-2 errata257.
I receive a WARNING Check File Permissions when running System Diagnostics from UCS:
File ‘/var/cache/univention-system-activation’ has mode 777, 700 was expected.
Checking my license from UCS and looks okay.
I do keep seeing a notification to upgrade UCS, I check, no upgrades available… except for Kopano webapp… so I will upgrade that too…
NextCloud Log File
looking at…
sudo vi /var/lib/univention-appcenter/apps/nextcloud/data/nextcloud-data/nextcloud.log
… and I see a number of
…Trusted domain error … [IP Adress] tried to access using "x.com" as host…
seeing this even after manually fixing the config.php file.
I then changed ‘loglevel’ => 0 (e.g. changed to 0 from 2)… I also noticed the errors were because all our devices were trying to upload files to NextCloud - so I turned off my Port Forwarding… now I see no new messages in the log… doesn’t quite help.
Receiving this when attempting to navigate to NextCloud instance:
This Nextcloud instance is currently in maintenance mode, which may take a while.
This page will refresh itself when the Nextcloud instance is available again.
Contact your system administrator if this message persists or appeared unexpectedly.
Thank you for your patience.
- as you can likely tell - I am very new to UCS, NextCloud and not very skilled in Linux as of yet, again, appreciate any help! Thanks for your time and have an awesome day!
… continuing on
I also tried
sudo univention-app shell nextcloud
sudo -u www-data /var/www/html/occ upgrade --verbose
it runs through to
Repair step:Clean tags and favorites
then I see
OC\ServerNotAvailableException: Lost Connection to LDAP Server
Update Failed
Maintenance mode is kept active
Reset log level