Upgrade the Linux Server from iSign 8 to iSign 9
Introduction
Prepare the following before upgrading:
info
- Check system requirements: Check the requirements for the server and player PCs. Make sure the operating systems and hardware meet the new version's requirements. See iSign 9 commissioning.
- Create a snapshot: Take a snapshot of the current version so you can restore the previous working state if a problem occurs.
- New license and templates: Depending on your current version, you may need a new license and updated templates. Have them ready before upgrading.
- New import script: Appointment imports require a new import script. Prepare and test it before upgrading.
- If you use Vocatis: Inform users about the changed user interface and workflow. See Vocatis user interface. This helps restore normal operation quickly after the upgrade.
Upgrade
This guide describes how to upgrade an iSign 8 Server on Linux to iSign 9.
Recommended Migration Sequence
- Create a backup.
- Install iSign 9.
- Upgrade the PostgreSQL database.
- Configure iSign.
- If you use the Vocatis appointment import, install the new import scripts.
- If you use Vocatis, install the appropriate Vocatis Windows App on the user PCs.
Step 1: Install iSign 9
wget -qO- https://releases.de-signo.de/isign/9.0/9.0.8/install.sh | bash -s -- isign-server
For details, see Install the server on Linux.
Step 2: Enable PostgreSQL
Add the following to /etc/isign/server/isign.server.conf:
enable_postgresql=true
POSTGRES_USER="iSign"
POSTGRES_PASSWORD="iStMMb4a"
Step 3: Upgrade PostgreSQL
Background:
- PostgreSQL was upgraded to version 18.
- PostgreSQL 18 uses
/var/lib/postgresqlinstead of/var/lib/postgresql/dataas its storage location.
Stop iSign:
systemctl stop isign.server
. isign-server-docker-load-config
docker compose $compose_args stop
Back up the database:
container_id=$(docker run --rm -d -v /usr/share/designo/isign-server/instance/default/data/postgres/:/var/lib/postgresql/data postgres:17)
sleep 10
docker exec $container_id pg_dumpall -U isign > pg_backup.sql
docker stop $container_id
Restore the database:
rm /usr/share/designo/isign-server/instance/default/data/postgres/* -r
. isign-server-docker-load-config
container_id=$(docker compose $compose_args run -d --rm db)
sleep 10
docker exec -i $container_id psql -U $POSTGRES_USER < pg_backup.sql
docker stop $container_id
Step 4: Upgrade MongoDB
Back up and restore MongoDB:
. isign-server-docker-load-config
container_id=$(docker compose $compose_args run -d --rm mongodb)
docker exec $container_id bash -c "mongodump -u \$MONGO_INITDB_ROOT_USERNAME -p \$MONGO_INITDB_ROOT_PASSWORD -o /data/db/dump"
docker exec $container_id bash -c "mongorestore -u \$MONGO_INITDB_ROOT_USERNAME -p \$MONGO_INITDB_ROOT_PASSWORD --dir /data/db/dump --drop"
docker stop $container_id
Step 5: Configure iSign 9
Make sure /etc/isign/server/compose/server-setup.jsonc contains these settings:
"db": {
"Sql": {
"Provider": "postgresql",
"ConnectionString": "host=db;Username=%POSTGRES_USER%;Password=%POSTGRES_PASSWORD%"
},
"Mongo": {
"ConnectionString": "mongodb://isign:iStMMb4a@mongodb:27017?authSource=admin"
}
}
Apply the configuration:
isign-server-docker-apply-config
For details, see Install the server on Linux.