Stuck in upgrade for BackupsTrailingWhitespacePatch

Unimus support forum
Post Reply
rriva
Posts: 2
Joined: Wed May 20, 2020 2:11 pm

Wed May 20, 2020 2:13 pm

Hi,

I'm trying to update my Unimus instance from 1.7.2 to 2.0
I'm trying with the normal installer but all times (I've just tried twice) the upgrade fails and I have a non-working instance.

I'm using

Code: Select all

wget https://unimus.net/install-unimus.sh
chmod +x install-unimus.sh
./install-unimus.sh
The installer seems works fine and exit without errors, but if I check in the logs I can find:

Code: Select all

2020-05-20 15:55:49.874  INFO 4109 --- [main] n.unimus.starter.composite.Application   : Starting Application v2.0.0 on serverunimus with PID 4109 (/opt/unimus/Unimus.jar started by root in /opt/unimus)
2020-05-20 15:55:49.900  INFO 4109 --- [main] n.unimus.starter.composite.Application   : The following profiles are active: jar,composite,unimus,core,unix,unimus-unix
2020-05-20 15:56:01.351  INFO 4109 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8085 (http)
2020-05-20 15:56:33.809  INFO 4109 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8085 (http)
2020-05-20 15:56:33.841  INFO 4109 --- [main] n.unimus.starter.composite.Application   : Started Application in 52.837 seconds (JVM running for 54.554)
2020-05-20 15:56:34.152  INFO 4109 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.b.step.LoggingPathAccessibility  : Checking logging subsystem
2020-05-20 15:56:34.160  INFO 4109 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.b.step.DatabaseConnectionCheck   : Testing database connection
2020-05-20 15:56:35.321  INFO 4109 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.b.step.DatabaseConnectionCheck   : Database connection test passed
2020-05-20 15:56:35.328  INFO 4109 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.boot.step.DatabaseUpdate         : Connecting to database (HSQL, jdbc:hsqldb:file:///etc/unimus/hsql/db;hsqldb.tx=mvcc)
2020-05-20 15:56:35.334  INFO 4109 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.boot.step.DatabaseUpdate         : Updating database schema
2020-05-20 15:56:42.080  INFO 4109 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.boot.step.DatabaseUpdate         : Database schema updated successfully
2020-05-20 15:56:43.941  INFO 4109 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.b.step.EncryptionKeyValidation   : Validating database encryption key
2020-05-20 15:56:44.096  INFO 4109 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.b.step.DatabaseDataValidation    : Validating database data integrity
2020-05-20 15:56:44.405  INFO 4109 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.b.step.InternalInitialization    : Initializing internal services
2020-05-20 15:56:44.454  INFO 4109 --- [SimpleAsyncTaskExecutor-1] u.s.b.b.p.BackupsTrailingWhitespacePatch : Running backup trailing whitespace removal patch
2020-05-20 15:56:44.507 ERROR 4109 --- [SimpleAsyncTaskExecutor-1] n.u.s.bootstrap.boot.patch.DataPatcher   : Failed to apply one-time patch 'BackupsTrailingWhitespacePatch'
and no other logs messages for hours, and from web interface it stucks at "Configuring Unimus" on an update screen.

I've search in the forum but without results.

I'm running Unimus on a dedicated VM with Ubuntu 20.04 LTS fully updated.
I have tested on an old Ubuntu 16.04 with the same Unimus version and I have the same issue.

Any suggestions ?

Thank you in advance
Riccardo
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Wed May 20, 2020 2:41 pm

EDIT:
Sorry, I just saw the migration actually fails for you with an error.

We will likely need to investigate this with you directly - could you please create a ticket on the Portal and we can organize from there?
rriva
Posts: 2
Joined: Wed May 20, 2020 2:11 pm

Wed May 20, 2020 2:55 pm

Done,
thank you
Request id: 8544-588-069-20
Post Reply