Hi I juste downloaded nextbackup from the apps menu but I don’t know where it is?
I copied manualy (drag and drop) the folder nextbackup from custom_apps to apps in my docker instalation folder on my nas. I know in the manual it should be done with the terminal but I don’t know how. I tried with the ssh and connect to may nas go to the location and do the copy but it did not work. I tried to go to the docker and open the terminal there and it also did not work.
After moving the folder to apps I still can’t see it.
Is user www-data the owner of the folder for this App? If he is not the Adminpanel of Nextcloud will not show you the App. And take a look at all App packages and not only on the active ones. sudo chown -R www-data:www-data /folder_nextbackup should bring the rights for www-data on you folder. Make sure to adjust it to your needs.
You must logon to your system with ssh or use OCC Web
Understand the command:
sudo -u www-data
execute the following command with user www-data (webserver and nextcloud user) php
use php-cli occ or /var/www/html/nextcloud/occ")
(perhaps you must use full path, test it, it is an nextcloud/ownclowd command) maintenance:mode --on
occ-command
hmm the sudo -u www-data php occ maintenance:mode --on didn’t work on occ.
What worked was maintenance:mode --on
After putting myself out of my own system, I wen to the config.php and changed manually the the maintenance mode to false and uploaded the file back in the config folder.
to come back to the initial problem. I would rather prefer to do it in the ssh.
But what I still do not understand is, what is that for a user? Do I have to creat it? And if yes how and where? if I execute that on my ssh I get this