Here is the way I upgraded my Firebird 4.01 to 4.0.2 on Ubuntu Linux. Used the same procedure to upgrade between 4.0 RC 2 to 4.0.1
I could not find documentation on upgrades between point releases but this works for me.
- stop all services using Firebird
- in my case since I am using supervisor
supervisorctl stop all
- in my case since I am using supervisor
- stop Firebird service
service firebird stop
- move existing installation directory as backup
mv /opt/firebird /opt/firebird_old_4.0.1
- download binary to temp directory
wget https://github.com/FirebirdSQL/firebird/releases/download/v4.0.2/Firebird-4.0.2.2816-0.amd64.tar.gz
tar -xf Firebird-4.0.2.2816-0.amd64.tar.gz
- run installer
./install.sh
- when asked I use the same as previous SYSDBA password
- stop service the installer started automatically
service firebird stop
- copy configuration files and security database from previous
cp /opt/firebird_old_4.0.1/firebird.conf /opt/firebird
cp /opt/firebird_old_4.0.1/security4.fdb /opt/firebird
- copy other files you want to keep like databases.conf and any extra plugins,etc
- start firebird service and the applications that depend on it
service firebird start
supervisorctl start all