Unable to erase old files

[details=“Support intro”]

I created a new server, proxmox container, debian and copied all my files with filezilla.
Unable to erase them on the web version. (no delete option displayed on these files). Only the web uploaded files are deletable.

I did :

root@nextcloud /var/www# find nextcloud-data -type d -exec chmod 750 {} \;
root@nextcloud /var/www# find nextcloud-data -type f -exec chmod 640 {} \;
root@nextcloud /var/www# chown -R www-data:www-data nextcloud-data  

But no luck…

( [Nextcloud Hub 7] (28.0.2))

Maybe you can re-scan all files:

sudo -u www-data php /path/to/nextcloud/occ files:scan --all
documentation

Although the file permissions are probably incorrect. Have a look at a user /path/to/nextcloud/data/username/files. Post examples (ls -l filename) with correct/incorrect files.

Oh great !
Your first proposition did the trick !
Thanks so much :slight_smile:

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.