This section explains how to upgrade Bold Reports Linux package from any version to the latest version.
Download the latest Bold Reports Linux package by running the following command.
sudo wget {Bold Reports Linux package link}
Extract the zip file.
sudo unzip {Bold Reports Linux package zip file}
Change the directory to BoldReports_EnterpriseReporting-Linux
by running the following command.
cd BoldReports_EnterpriseReporting-Linux
Execute the following command to deploy Bold Reports in your Linux machine.
sudo bash install-boldreports.sh -i {upgrade} -u {user} -h {host URL}
Example for upgrading the installation,
sudo bash install-boldreports.sh -i upgrade -u www-data -h http://linux.example.com
NOTE: Bold Reports Linux package backup file will be available in the following location. /var/www/
Below breaking changes is applicable only for upgrading the Bold Reports application from version v3.x to v5.1.20.
Automatic Nginx configuration:
Manual Nginx configuration:
/etc/nginx/sites-available
. Open it in a text editor and add the following code, like the below image. location /reporting/viewer {
proxy_pass http://localhost:6554/reporting/viewer;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
Nginx configuration file code:
Once the Nginx configuration is updated, run the sudo nginx -t
to verify the syntax of the configuration files. If the configuration file test is successful, force the Nginx to pick up the changes by running the sudo nginx -s reload
.