cant restore file from trash

Hi nabavi.online,

Welcome to the forums!

First of all, to prevent the files in trash from being deleted automatically, have a look at your current trash settings in your configuration ([config.php](Deleted Items (trash bin) — Nextcloud latest Administration Manual latest documentation))

Files are moved within the user’s data directory, to a subfolder files_trashbin/files.

This goes for your own files. For shared files there are some exceptions.