This page will show you step by step how to update an existing BellaDati installation on Linux. Example uses Belladati 2.9... but the process is the same for 2.10.. too.
Starting with version 2.10 Glassfish will no longer be supported and Payara will be used instead.
To use this document, you need to have:
- BellaDati already installed on your Linux machine.
- Successfully downloaded a newer version of the BellaDati installer from the BellaDati website.
To run installer (root):
- Please make sure the installer has execute privileges. You can use following command to add execute rights:
chmod +x BellaDati_linux_x64_x_y_z.sh
- Execute following command (you can use argument -c if you want to run installer in console mode):
sudo ./BellaDati_linux_x64_x_y_z.sh -c
Note
The process described is based on 2.9.20 ---> 2.9.21 BellaDati update ; BellaDati application and database engine (PostgreSQL 10) run on separate servers. OS is Ubuntu 18. The same procedure is valid for 2.10+ updates ( java11, Payara a.s. , PostgreSQL 12)
1. Start Update
This page allows you to:
- Update an existing BellaDati installation
- Install BellaDati into a different directory ( rarely utilized)
Start script: ./BellaDati_linux-x64_X_Y_Z.sh
Select Update (1,Enter) and continue.
Current configuration of your installed BellaDati instance will be displayed.
Check information.
Linux installer does not have permissions to start/stop existing database, and therefore you have to stop database manually
Stop running database engine manually and then click Enter. BellaDati will start to update itself
Before proceeding with the last step, start the database and make sure that the database is running.
2. Update Completed
The update is complete. Close the window . Open BellaDati in your web browser.
Do not forget to start database manually.
The following message can occur:
"Database was not initialized properly (migration was not successful).
System may not work properly."
Action needed: restarting belladati_service
some of systemctl commands
systemctl is-enabled belladati_service
systemctl status belladati_service
systemctl restart belladati_service