You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running 4 seafile server on 1 physical maschine (3 CE + 1 PRO)
every seafileserver has its own user and folder
/srv/seafile-1/ running with user seafile-1
/srv/seafile-2/ running with user seafile-2
/srv/seafile-3/ running with user seafile-3
/srv/seafile-4/ running with user seafile-4
while upgrading all my seafile instances to 5.1.8 I had the problem, that the upgrade script told me, the server is still running. but it wasnt.
function ensure_server_not_running() {
# test whether seafile server has been stopped.
if pgrep seaf-server 2>/dev/null 1>&2 ; then
echo
echo "seafile server is still running !"
echo "stop it using scripts before upgrade."
echo
exit 1
elif pgrep -f "${manage_py} run_gunicorn" 2>/dev/null 1>&2
|| pgrep -f "seahub.wsgi:application" 2>/dev/null 1>&2; then
echo
echo "seahub server is still running !"
echo "stop it before upgrade."
echo
exit 1
elif pgrep -f "${manage_py} runfcgi" 2>/dev/null 1>&2 ; then
echo
echo "seahub server is still running !"
echo "stop it before upgrade."
echo
exit 1
fi
}
so I had to stop all seafile instances at once.
the script checks if seaf-server is running. there would might be a way to check it with "path-to-seafile-server"
maybe there is an easier way...
thx for ideas / fixing.
greetz
fabian
The text was updated successfully, but these errors were encountered:
I am running 4 seafile server on 1 physical maschine (3 CE + 1 PRO)
every seafileserver has its own user and folder
while upgrading all my seafile instances to 5.1.8 I had the problem, that the upgrade script told me, the server is still running. but it wasnt.
so I had to stop all seafile instances at once.
the script checks if seaf-server is running. there would might be a way to check it with "path-to-seafile-server"
maybe there is an easier way...
thx for ideas / fixing.
greetz
fabian
The text was updated successfully, but these errors were encountered: