Plesk for Windows
Plesk for Linux
kb: how-to
ABT: Group B
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
Does Plesk have a Recycle Bin in File Manager?
Answer
The Recycle Bin functionality in the File Manager is turned on by default for all Plesk installations starting Plesk 18.0.38.
The Recycle Bin has been implemented in Plesk 18.0.34 and is turned off by default on versions prior to 18.0.38. In order to turn it on follow these steps:
-
Install the Panel.ini Editor extension as described here: How to manage Plesk extensions (install, disable, remove, update)
-
Go to Extensions > Panel.ini Editor > Editor tab and add the following lines:
[fileManager]
trash.enabled = true
trash.folder = .trash ; the name of the the Recycle Bin folder
Note: The Recycle Bin appears after a user deletes a file.
Comments
9 comments
Be careful, because the trashbin has no retention time for deleting the files automatically. you have to this by hand.
The recycle bin seems to be turned on by default now:

So in case you suddenly run out of disk space on your server, this could be one "new" reason.
This feature really needs a retention time feature otherwise the server will just fill up.
If I disable the trashbin in Panel.ini, will the files within trash also be removed?
Thx
G
Glenn: No. You have to delete the files manually.
Any plans to add plesk admin capability to limit how long files are kept in trashbin?
Hi Glenn, the feature you are requesting is already in progress with ID PPP-54200. It will be most likely implemented in version 18.0.39. You can monitor this website https://docs.plesk.com/release-notes/obsidian/change-log/.
As a workaround, this could be resolved with a cron job.
Log into Plesk
Go to Tools & Settings > Scheduled Tasks > Add Task
Awesome. Thanks for the update Julian.
Very annoying feature. Customer's account gets disabled because of overusage. So we re-enable it, then the customer's account goes offline again.
Reason? Files are in the stupid thrash can.
Please make this a default disabled feature instead. So people who want to use it, can enable this crap instead of being enabled by default. We now have to make changes to over 200 servers by hand because of this "great" feature! Very, very annoying.
You increase pricing, because of these kind of new features, however the whole Plesk experience is going down. So disable this crrap feature by default.
So we had our first server customer who crashed his server (Oops... Something went wrong) thanks to this trash can function!
He deleted a big amount of GB's, then he restored files from a back-up and the server was 100% full and crashed.
Excellent function.... Not!
Next time when you add such "fantastic" functions, make them disabled by default! Let the provider (or customer) decide if he wants to enable it! And not force it enabled instead! We are already paying top price for Plesk, but we do not want this nonsense. Thank you kindly.
Please sign in to leave a comment.