bugy / script-server

Web UI for your scripts with execution management
Other
1.59k stars 247 forks source link

Temporary upload folder does not seem to be cleaned-up #683

Closed tristanlatr closed 1 year ago

tristanlatr commented 1 year ago

Hello @bugy,

I'm running into "Internal Error" when executing any scripts, looking at the logs I see a "No space left on device".

I believe that script-server should manage itself the temporary files so they get deleted after some or when there is no space left on the volume anymore.

Where are the temporary files located? so I can fix the issue for the short term.

Note that I'm using script-server version 1.16 currently, so it might already be fixed in the latest version.

Thanks

bugy commented 1 year ago

Hi @tristanlatr temp files should be cleaned up automatically. The files are located in temp folder of script server. Could you check how old are they? They should be removed after 7 days

tristanlatr commented 1 year ago

Thanks for you quick reply, I've checked the temp folders and there were all empty. I've deleted all the folders and it seems to be working again. No idea why the "No space left on device" error appeared, there is actually much space available on the volume script-server is installed on, so I don't really get it.

bugy commented 1 year ago

It could be because of logs. Logs are not cleaned up automatically unfortunately