Trash Can not empty?

henrikpontusjohansson4609

New Member
YetiShare User
Jan 3, 2015
5
0
0
Hello, have installed and run this script for quite some time now.

I have setup cron jobs, and the files are successfully deleted when a user deletes them in their account.

Why is the file still in the "file" in database, + Trash Can in user account.
How to get it to remove successfully?

Have setup settings correct with "purge_deleted_files_minutes" have it set to 0, thought it first was because of my Direct web server it didn't work but its the same with localhost server.

Run on NGINX with php-fpm, am I missing something?

Cron jobs are setup as following for testing,

*** secret-website.com ***

*/5 * * * * php /mnt/data/hdd1/nginx/secret-website.com/admin/tasks/auto_prune.cron.php >> /dev/null 2>&1
*/5 * * * * php /mnt/data/hdd1/nginx/secret-website.com/admin/tasks/create_internal_notifications.cron.php >> /dev/null 2>&1
*/5 * * * * php /mnt/data/hdd1/nginx/secret-website.com/admin/tasks/delete_redundant_files.cron.php >> /dev/null 2>&1
*/5 * * * * php /mnt/data/hdd1/nginx/secret-website.com/admin/tasks/process_file_queue.cron.php >> /dev/null 2>&1

*** fs1.secret-website.com ***

*/5 * * * * php /mnt/data/hdd1/nginx/fs1.secret-website.com/admin/tasks/delete_redundant_files.cron.php >> /dev/null 2>&1
*/5 * * * * php /mnt/data/hdd1/nginx/fs1.secret-website.com/admin/tasks/process_file_queue.cron.php >> /dev/null 2>&1

Have not added all cron jobs on the main server since, as I can't see why it would be necessary for what i'm looking to achieve.

Run version V4.2

Cheers for any help!

Regards,
Henrik J.
 

enricodias4654

Member
YetiShare User
Jan 13, 2015
411
1
16
The files stay in the database to keep the file's statistics data. If the user empties the trash, the stats and the file entry would be removed from the db.
 

henrikpontusjohansson4609

New Member
YetiShare User
Jan 3, 2015
5
0
0
enricodias4654 said:
The files stay in the database to keep the file's statistics data. If the user empties the trash, the stats and the file entry would be removed from the db.
Hello there!

Yepp, I just realized it is right there when you right click on the 'Trash Can'.

I don't know why I make my life hard for myself when it's actually simple.

Thanks tho!

Regards,
Henrik J.