I’m using Nextcloud since some weeks now, and I would like making a backup of it thanks this tutorial. The thing is I got this :
root@localhost:~# sudo -u www-data php occ maintenance:mode --on Could not open input file: occ root@localhost:~# cd /var/www/ root@localhost:/var/www# dir html
I already searched on the forum a solution of :
Could not open input file: occ, and it seems for a majority of people it’s a permission problem. But for me, I don’t even have the Nextcloud folder !
So I tried to locate occ with
root@localhost:~# locate occ
I get a lot of results :
root@localhost:~# locate occ /snap/bin/nextcloud.occ /snap/nextcloud/26119/bin/occ /snap/nextcloud/26119/htdocs/occ etc...
From now, I’m a bit confused and I don’t know what to do next…
If someone could help, it would be awesome !