Upgrade 2.0.13 to 2.1.4

Unimus support forum
Post Reply
ctv.sam
Posts: 1
Joined: Wed Dec 15, 2021 7:25 am

Wed Dec 15, 2021 7:39 am

Hi all

Apologies in advance if I've missed something obvious here

Current environment is Ubuntu 18.04 LTS, running Unimus 2.0.13

I originally set this up as 2.0.2, and have used the standard upgrade script from here to upgrade it a couple of times since, to 2.0.13
https://wiki.unimus.net/pages/viewpage. ... eId=950330

Given the Log4J issue, I'm trying to upgrade to 2.1.4

I've used the same upgrade command twice now, and it appears to upgrade based on putput - but the Unimus app remains at version 2.0.13?

Log output;

Code: Select all

user@********:~$ sudo wget https://unimus.net/install-unimus.sh
--2021-12-15 04:18:51--  https://unimus.net/install-unimus.sh
Resolving unimus.net (unimus.net)... 13.32.125.63, 13.32.125.62, 13.32.125.91, ...
... *snipped* ...
2021-12-15 04:18:51 (19.4 MB/s) - ‘install-unimus.sh’ saved [603/603]

user@********:~$ sudo chmod +x install-unimus.sh
user@********:~$ sudo ./install-unimus.sh

Welcome to the Unimus installer!

This installer will perform the following steps:
1) Install a compatible Java version (if not already present)
2) Install dependencies [curl haveged procps apt-transport-https] (if not already present)
3) Install the latest version of Unimus
4) Configure Unimus to start at boot
5) Start Unimus

If you are upgrading from a previous version, your current Unimus service will be stopped and restarted automatically.

If you experience any issues with this installer, or have any questions, please contact us.
(email, website live-chat, forums, create a support ticket, etc.)

Press ENTER to continue, or Ctrl+C to exit:

-----------------------------------------------------------------

Updating list of available packages, this might take a while...
(running 'apt-get update' to refresh package indexes)


Package dependencies installed, continuing...

Checking if supported Java installed...
Supported Java version found, continuing...
The running Unimus service will now be stopped.
Unimus service will now be removed from auto-start.

Downloading Unimus...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  127M  100  127M    0     0  2181k      0  0:00:59  0:00:59 --:--:-- 1611k

Downloading init/unit file...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   278  100   278    0     0   2438      0 --:--:-- --:--:-- --:--:--  2438

Configuring Unimus service to auto-start after boot...
Starting the Unimus service...

-------------------------------------------------------------------------------------

Unimus should now be installed and starting.
Please note it can take up to 30 seconds for the web interface to start responding.
If Unimus UI doesn't start, please check the '/var/log/unimus/unimus.log' log file.

You can visit 'http://your_server_ip:8085/' to reach the Unimus UI.
After this process completes, the Unimus web interface remains accessible with no changes and the version continutes to read 2.0.13

So my questions are;

- Has this script (https://unimus.net/install-unimus.sh) been updated to deploy 2.1.4?
- Is this the right way to move from 2.0.x to 2.1.x, or are there additional instructions?
- Is there anything I've missed, or a way to check logs and see if there's a reason nothing appears to change?

Thanks

Sam
Vik@Unimus
Posts: 198
Joined: Thu Aug 05, 2021 6:35 pm

Wed Dec 15, 2021 5:10 pm

Hello,

I recommend submitting a support ticket in our Portal so that we can look at it in detail.

As for the questions:
- script is pulling the current latest version (the one which is also available at https://unimus.net/download)
- absolutely, your upgrade process is correct, installer script will do everything for you (except backing up a database, which we recommend to do in beforehand), it will stop Unimus, install a new version and restart Unimus after it finishes
- we will definitely look at logs to see if it suggests what could go wrong, and we will go from there.
Post Reply