Hardware: 2012 Intel Nuc
YunoHost version: 11.2.10.3
I have access to my server : Through SSH, Through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance? : no
If yes, please explain:**
If your request is related to an app, specify its name and version: 27.1.4~ynh1
The command is found in /var/www/nextcloud/. I always struggle with it
You’d log into your Yunohost and then
$ sudo su -
# cd /var/www/nextcloud/
# sudo -u nextcloud php ./occ config:system:set theme "Nextcloud"
… whit some caveats:
the php command probably needs a specific version. If I run it with just php, occ complains it needs PHP > 8.xy. I get best results substituting php with php8.1; try php8.2 as well.
I don’t know how the theme is named internally. I guessed “Nextcloud”, as that is the name of the theme in my installation and the name of the theme in the screenshot in the Nextcloud docs
The screenshot in your last post does not look very helpful. Perhaps there are more details in the browser console at F12.
You can use sudo yunohost app shell nextcloud to run occ commands as nextcloud user. You just run php8.2 --define apc.enable_cli=1 occ app:list for example.
In the case of @Joe224, you’ll have to run the first command above then php8.2 --define apc.enable_cli=1 occ app:remove breezedark
Okay I figured it out. @wbk and @jarod5001 Thank you guys, honestly.
sudo su -
cd /var/www/nextcloud/
sudo -u nextcloud php ./occ config:system:set theme “Nextcloud”
This worked I tried “Nextcloud” and “default” so i dont know which one it was probably Nextcloud.
After that I ran into the issue of having the login page with this message: We have detected multiple invalid login attempts from your IP. Therefore your next login is throttled up to 30 seconds.
So I was thinking I must have disabled an essential app while trying to force this update so I brought up the applist in ssh reading around the forum and noticed suspicious_login, twofactor_totp and something else was disabled and I realized what i did. Now everything is how it should be.
I will continue to learn and try to pass on the help to someone else that is new or needs help.