What app is this about, and its version: Seafile latest What YunoHost version are you running: Latest What type of hardware are you using: Virtual machine
Describe your issue
Hi,
Can somebody shortly describe how to run a Garbage-Collection on Seafile inside Yunohost?
Deutsch:
Kann mir jemand kurz erklären wir ich bei Seafile unter Yunohost eine manuelle GC durchführe?
On 13.0.9:
root@yh4:~# ./seafile_gc.sh
Super User detected!!
Press [ENTER] to start the procedure, this will stop the seafile server!!
Stopping the Seafile-Server…
Giving the server some time to shut down properly…
Seafile cleanup started…
Running as unit: run-u32.service
Press ^] three times within 1s to disconnect TTY.
Cannot find JWT_PRIVATE_KEY value from environment, try to read .env file. Error: .env file not found.
Please follow the upgrade manual to set the .env file.
Finished with result: exit-code
Main processes terminated with: code=exited/status=255
Service runtime: 12ms
CPU time consumed: 13ms
Giving the server some time…
Starting the Seafile-Server…
Seafile cleanup done!
root@yh4:~#
Well it’s so easy to run seafile in the correct context because everything is made to be executed with docker context. So I created a PR to provide a correct script for this.