Please help me. I’ve spent almost a week trying to transfer files from a hard drive to my yunohost nextcloud via webdav. No matter what i try i get error after error.
Since I can access the physical storage disk of the server I use, I thought it would be easier to transfer them locally, but when I do that, the files don’t appear in nextcloud. I’ve read forums that say I need to rescan the files for them to appear in nextcloud using an occ command. I just can’t figure out how to do that.
If my yunohost nextcloud username is user123, i can ssh into my server and become root and then change directories to /home/yunohost.app/nextcloud/data/user123/files/
Is this the right directory and if so, what is the command I use to have the files rescanned?
All parts are important: your execute the command as nextcloud user, using the right php version (8.1 right now), enable apcu cache during the command, and run occ tool (even if you’re not in Nextcloud directory thanks to the absolute path)
If you are running the latest version of Nextcloud (the yunohost package I mean), you shouldn’t use php7.4, as it’s php8.1 that is used.
Adjust the command