Is it safe to delete old Seafile-server folders?

Hi all,

I’ve been using Seafile for a couple of years now and I have to say it’s been a great ride so far. The app is robust, the manual well documented and, so far, I’ve found answers to all my questions along the way in the forums, until now.

I have a - non-critical - question with respect to my installation. I’ve been updating my server from time to time and am left now with varios ‘seafile-server-xxx’ folders from the older versions.

I’m 99% sure that I can delete those folders without problem but I thought I’d double check here first as I’m real not interested in breaking what’s working…

my Seafile root likes as follows:

pyheme@cloud:~$sudo du -cksh /home/seafile/* | sort -rn
141M    /home/seafile/installed
102M    /home/seafile/seafile-server-5.0.3
100M    /home/seafile/seafile-server-6.0.4
100M    /home/seafile/seafile-server-4.3.2
98M     /home/seafile/seafile-server-4.2.2
97M     /home/seafile/seafile-server-5.1.3
90M     /home/seafile/seafile-server-4.1.2
86M     /home/seafile/seafile-server-3.1.7
86M     /home/seafile/seafile-server-3.1.6
65G     total
64G     /home/seafile/seafile-data
32K     /home/seafile/ccnet
26M     /home/seafile/seahub-data
24K     /home/seafile/conf
23M     /home/seafile/logs
16K     /home/seafile/pids
4.0K    /home/seafile/seahub_settings.pyc
4.0K    /home/seafile/seahub_settings.py.seafile-5.0.0-bak
4.0K    /home/seafile/seahub_settings.py
4.0K    /home/seafile/seafile-server
0       /home/seafile/seafile-server-latest

I’d like to delete the folders /home/seafile/seafile-server-3.1.6 through 5.0.3. Is it safe to do that?

Thanks in advance!

Pyheme

I deleted them without any Problems.
I Only let The Version before Last Version for a while. So i could Go Back if there is a Problem with The new Version.

2 Likes

Excellent, thanks.
I thought so, but you never know…
Thanks for the feedback.

I’m doing like fabianT and delete all past version right after the update and only keep the before latest version for some time. Never had any problems and using seafile since version 3.something on two servers.

Cool. Thanks both of you for the response.

I assumed that much but preferred to asked first before deleting the folders.

Thanks.