zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Nextcloud trash shown as empty

July 28, 2019 by Igor Drobot Leave a Comment


For sure I run into a nextcloud server side bug again.
I deleted over the last year a lot of things in my nextcloud account as well as other users, which are running in the same instance.
One day, I looked into my Trash(Deleted files) and it was empty:
nextcloud empty trash
That is not real and not possible, I thought.

Tried to find a solution or at leased a bug report on the github nextcloud-repository-issue-tracker, I found many, and it seems like this issue comes from time-to-time again into new nextcloud releases.
In my case probable since the update to nextcloud version 16.0.3.

The solution is very simple delete all user trashes from the command line:
sudo -u www-data php occ trashbin:cleanup --all-users
And this magic freed 49GB of space on the instance, where nextcloud is running.

Maybe someone has a more efficient and less destructive solution for this one issue? Let me know :-)

Filed Under: Linux Tagged With: Cloud, Nextcloud, Nextcloud Trash

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok