-
-
Notifications
You must be signed in to change notification settings - Fork 12
Updating Xabber Server
Use the current version of the script to update the server.
Before the update please ensure that you turn off all services connected to the Xabber Server.
sudo systemctl stop xabberserver
To be sure that all process are down - you can see it throws ps command:
ps aux | grep xabberserver
You will see the pid of processes connected to the Xabber Server.
In case if it is some processes - you can kill them with following command:
sudo kill -9 NUM_OF_PROCCESS
You can also stop all processes connected with Xabber Server, if you are sure that it will not affect other services:
sudo killall -9 -u xabberserver
Download the latest Xabber Server installer:
wget https://www.xabber.com/xabberserver/releases/xabberserver_installer.bin
Make installer executable:
chmod +x xabberserver_installer.bin
Run script as a superuser (recommended):
sudo ./xabberserver_installer.bin
Choose update option in the script menu:
To ensure that your Xabber Server updated correctly check log of systemctl:
sudo systemctl status xabberserver
● xabberserver.service - Xabber Server
Loaded: loaded (/etc/systemd/system/xabberserver.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-08-07 07:35:37 UTC; 1h 11min ago
Main PID: 32002 (xabber-server)
Tasks: 44 (limit: 4915)
CGroup: /system.slice/xabberserver.service
├─32002 /opt/xabberserver/xabberserver/xmppserverui/xabber-server start
├─32003 /opt/xabberserver/xabberserver/xmppserverui/xabber-server start
├─32040 /opt/xabberserver/xabberserver/erts-9.2/bin/epmd -daemon
├─32108 /opt/xabberserver/xabberserver/erts-9.2/bin/beam.smp -K true -P 250000 -- -root /opt/xabberserver/xabberserver -progname
├─32126 erl_child_setup 65536
├─32207 /opt/xabberserver/xabberserver/lib/eimp-1.0.5/priv/bin/eimp
├─32208 /opt/xabberserver/xabberserver/lib/eimp-1.0.5/priv/bin/eimp
├─32209 /opt/xabberserver/xabberserver/lib/eimp-1.0.5/priv/bin/eimp
├─32210 /opt/xabberserver/xabberserver/lib/eimp-1.0.5/priv/bin/eimp
├─32211 /opt/xabberserver/xabberserver/lib/os_mon-2.4.4/priv/bin/memsup
├─32481 /opt/xabberserver/xabberserver/xmppserverui/xabber-server start
├─32482 /opt/xabberserver/xabberserver/xmppserverui/xabber-server start
└─32483 /opt/xabberserver/xabberserver/xmppserverui/xabber-server start
Aug 07 07:35:37 xabber.yourdomain.com systemd[1]: Started Xabber Server.
Aug 07 07:35:41 xabber.yourdomain.com xabber-server[32002]: [2020-08-07 07:35:41 +0000] [32003] [INFO] Starting gunicorn 20.0.4
Aug 07 07:35:41 xabber.yourdomain.com xabber-server[32002]: [2020-08-07 07:35:41 +0000] [32003] [INFO] Listening at: http://0.0.0.0:8000 (
Aug 07 07:35:41 xabber.yourdomain.com xabber-server[32002]: [2020-08-07 07:35:41 +0000] [32003] [INFO] Using worker: sync
Aug 07 07:35:41 xabber.yourdomain.com xabber-server[32002]: [2020-08-07 07:35:41 +0000] [32481] [INFO] Booting worker with pid: 32481
Aug 07 07:35:41 xabber.yourdomain.com xabber-server[32002]: [2020-08-07 07:35:41 +0000] [32482] [INFO] Booting worker with pid: 32482
Aug 07 07:35:41 xabber.yourdomain.com xabber-server[32002]: [2020-08-07 07:35:41 +0000] [32483] [INFO] Booting worker with pid: 32483