| | 360 | === Petascope is stuck to start |
| | 361 | |
| | 362 | When you see in `petascope.log` with the last line below in a few minutes |
| | 363 | |
| | 364 | {{{ |
| | 365 | INFO [2026-03-16 07:45:41] HikariDataSource@110: HikariPool-1 - Starting... |
| | 366 | INFO [2026-03-16 07:45:41] HikariDataSource@123: HikariPool-1 - Start completed. |
| | 367 | INFO [2026-03-16 07:45:42] HikariDataSource@110: HikariPool-2 - Starting... |
| | 368 | INFO [2026-03-16 07:45:42] HikariDataSource@123: HikariPool-2 - Start completed. |
| | 369 | }}} |
| | 370 | |
| | 371 | then it can be an issue with liquibase (it thinks a migration crashed or didn’t finish, it leaves locked = true. Then no new migrations will run until it’s unlocked). Then, you need to fix it manually: |
| | 372 | |
| | 373 | {{{ |
| | 374 | sudo su - postgres |
| | 375 | psql |
| | 376 | \c petascopedb; |
| | 377 | update databasechangeloglock set locked = false |
| | 378 | |
| | 379 | }}} |
| | 380 | |
| | 381 | then restart petascope (either via `sudo service tomcat9 restart` if external petascope or `sudo service rasdaman restart` if embedded petascope) and it should work again. |
| | 382 | |
| | 383 | |
| | 384 | |
| | 385 | |
| | 386 | |