Previous versions of i-net Clear Reports - until version 16 was released - had a multi platform installer that was basically just a zip file with a single setup.jar
file to install the reporting software.
Users were able to run the setup with virtually any user (root
was recommended) to install and setup the server.
Version 16 and up use a different approach with system specific installers - deb and rpm packages. This allows to define Java as a dependency and leverage system specific installation mechanisms.
But the new releases since version 16 also introduce a specific user account which is created during installation to be used for running the server and confining it into a user namespace. This results in some breaking changes especially when upgrading from older versions:
- The default server/daemon installation of i-net Clear Reports 15 and older is run using the
root
user - The preferences were stored as System Configuration
Here is the recommended way for upgrading:
- Stop the service of the previously installed version (see the specific versions documentation)
- Download and install i-net Clear Reports from our website - but do not run the browser bases setup
- Stop the newly installed reporting server:
service clear-reports stop
or/etc/init.d/clear-reports stop
- Create one of the following configuration files (either one is ok):
/etc/default/clear-reports
/etc/default/clear-reports
- Insert the following content (one and only line):
DAEMON_USER=root
- Create the following file with the specified content - this will be the master password for logging in:
/usr/share/i-net-clear-reports/remotelogin.xml
<?xml version="1.0" encoding="UTF-8"?><remoteinterface><password encryptedvalue="yiHG43th7teVqjljKn2tctEb4GWJ6rKa80453WceRL8=" encryptedsalt="eYSAWbDrpNptDBMjHd5k+N+w6vU=" /></remoteinterface>
- Start the reporting server:
service clear-reports start
or/etc/init.d/clear-reports start
- Open the remote GUI - it should be running on the port of your previous installation (default: 9000) and click log in. It should say that a master password is required. Enter “
password
” to log in. - There should be a module called “Setup” - open it and follow the instructions. The Setup will require a new license (generate a Plus Trial License).
- Restart the Server and log in again.
- Open the Configuration => Plugin Module and check that all plugins are enabled. Restart the Server if needed.
- Check that the Task Planner has all the Tasks from the Scheduler migrated and that the Configuration is what is expected from the previous installation.
- If System Permissions were enabled, it might be needed to disable them before the Task Planner tasks appear.
- Open the Maintenance Module, set up a Backup, run the Backup and Download the whole Backup.
- Make sure that the Backup is a
zip
file (Some Operating Systems tend to extract the zip file after a download)
- Stop the newly installed reporting server:
service clear-reports stop
or/etc/init.d/clear-reports stop
- Remove the configuration file from Step 4 (or remove the
DAEMON_USER
line) - Start the reporting server:
service clear-reports start
or/etc/init.d/clear-reports start
- Open the Remote GUI and log in using the master password. Open the Maintenance Module.
- Upload the Backup zip file and restore the whole Configuration.
- Restart the reporting server
- Open the Remote GUI and log in using the master password. Check the Configuration and Task Planner
- Remove the previous version of i-net Clear Reports.
The i-net Clear Reports Server should be running in the newest version now. For any questions or suggestions, please get in touch with clearreports@inetsoftware.de.