Nextcloud version : 15.0.0
Operating system and version : 18.04.1 LTS
Apache : 2.0
PHP version : 7.1.26
I tried to delete two videos of 2GB or 3GB each via the internet browser and it didn’t work. I then connected to my ftp and manually forced the files to be deleted with Filezilla
Problem : when I sync with the Desktop client, it shows an error saying the 2 videos in question can’t be synced… when I go back to the FTP and also in the browser… the 2 videos are gone…
Is this the first time you’ve seen this error? Yes
How would you fix it ?
The output of your Nextcloud log in Admin > Logging:
You shouldn’t not change the data folder manually. If you do it, it is clear that the filecache-table is not up to date and shows files that do not exist any more (or doesn’t show files that were place manually). If you can’t delete them via web-interface in the first place, then there is probably something wrong with the permissions (were they placed manually)? FTP user and the webserver user might be different.
Can you create a new file on the web-interface and delete it afterward via webinterface as well?
Thanks @tflidd for your answer
Indeed I just created a text file on my web interface, wrote one sentence, saved it. Then deleted it without any problem, here is the printscreen of the activity board (in French) = supprimé = deleted
I also made a copy of the 2 big videos of 2GB and 3GB to another file in the webinterface before manually delete by FTP those which I could’nt delete via the webinterface
And yesterday I tried to delete the copy of the 2 videos and it worked fine…
What can I do to fix the sync Desktop client ?
It keeps sending me notifications about the error of the 2 deleted videos by ftp
Actually @tflidd I tried for ages to do the occ command but never worked
When I do this : sudo -u www-data php occ
I end up with : -u : command not found
I went on google, read some tutorials but I am stuck
That’s strange. Maybe you are in the wrong directory?
Do a ls -alt
There should be at least some directories like config, data, settings, core etc.
And some files like .htaccess, cron.php, index.html, public.php, remote.php etc.
As far as I can see those files are in your home directory.
You have to go to your document root /var/www/nextcloud
I’m sure there you will find the occ command. You must execute this command in this directory too.