Comments (3)
Actually the shutdown and updater part of the logs look exactly the same. Only on restart the correct new version is restarted. So why it was the old version, without any error message from the updater, will remain a mystery. But maybe there were errors done by the Prowlarr.Update
process, just not visible in the journal. Not sure whether it logs to prowlarr.txt
, but as this is a RAM log, those would be gone.
I remember we had a similar issue reported with another Servarr server. I'll keep this in mind, and when such happens again for someone, we need to check how to find logs from the dedicated updater process. Because it must have failed to replace the files, otherwise it would be impossible for the old version to start.
from dietpi.
Hmm, the logs look okay: The updater kills the main process, systemd leaves the updater alive and just restarts the main process. Based on the 42 seconds between "Prowlarr will restart shortly." and main process kill I would say the updater finished, and itself killed Prowlarr once done. But indeed the same old v1.12 starts 🤔.
Can you check journalctl
and /var/log/prowlarr
whether there are logs from the updater process, at best with timestamps to compare/complement with Prowlarr service logs?
And lets also check whether the systemd service really is the latest one we ship:
systemctl cat prowlarr
from dietpi.
Ciao @MichaIng and thanks.
I tested again today after upgrading to DietPi 9.1.1 and this time everything went smoothly. I cannot explain why but the procedure performed was the same as yesterday, this time, however, something has evidently changed:
Feb 20 11:48:59 Jackett Prowlarr[26050]: [Info] InstallUpdateService: Downloading update 1.13.3.4273
Feb 20 11:49:02 Jackett Prowlarr[26050]: [Info] InstallUpdateService: Verifying update package
Feb 20 11:49:03 Jackett Prowlarr[26050]: [Info] InstallUpdateService: Update package verified successfully
Feb 20 11:49:03 Jackett Prowlarr[26050]: [Info] InstallUpdateService: Extracting Update package
Feb 20 11:49:04 Jackett Prowlarr[26050]: [Info] InstallUpdateService: Update package extracted successfully
Feb 20 11:49:04 Jackett Prowlarr[26050]: [Info] BackupService: Starting Backup
Feb 20 11:49:06 Jackett Prowlarr[26050]: [Info] InstallUpdateService: Preparing client
Feb 20 11:49:18 Jackett Prowlarr[26050]: [Info] InstallUpdateService: Starting update client /tmp/prowlarr_update/Prowlarr.Update
Feb 20 11:49:18 Jackett Prowlarr[26050]: [Info] InstallUpdateService: Prowlarr will restart shortly.
Feb 20 11:50:26 Jackett systemd[1]: prowlarr.service: Main process exited, code=killed, status=9/KILL
Feb 20 11:50:26 Jackett systemd[1]: prowlarr.service: Failed with result 'signal'.
Feb 20 11:50:26 Jackett systemd[1]: prowlarr.service: Unit process 28006 (Prowlarr.Update) remains running after unit stopped.
Feb 20 11:50:26 Jackett systemd[1]: prowlarr.service: Consumed 37.704s CPU time.
Feb 20 11:50:26 Jackett systemd[1]: prowlarr.service: Scheduled restart job, restart counter is at 1.
Feb 20 11:50:26 Jackett systemd[1]: Stopped Prowlarr (DietPi).
Feb 20 11:50:26 Jackett systemd[1]: prowlarr.service: Consumed 37.721s CPU time.
Feb 20 11:50:26 Jackett systemd[1]: prowlarr.service: Found left-over process 28006 (Prowlarr.Update) in control group while starting unit. Ignoring.
Feb 20 11:50:26 Jackett systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Feb 20 11:50:26 Jackett systemd[1]: Started Prowlarr (DietPi).
Feb 20 11:50:26 Jackett Prowlarr[28048]: [Info] Bootstrap: Starting Prowlarr - /opt/prowlarr/Prowlarr - Version 1.13.3.4273
Feb 20 11:50:26 Jackett Prowlarr[28048]: [Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/prowlarr]
Feb 20 11:50:26 Jackett Prowlarr[28048]: [Debug] Bootstrap: Console selected
Feb 20 11:50:26 Jackett Prowlarr[28048]: [Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/prowlarr]
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/prowlarr]
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] MigrationController: *** Migrating data source=/mnt/dietpi_userdata/prowlarr/prowlarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
Feb 20 11:50:27 Jackett Prowlarr[28048]: SQLite notice (283): recovered 1 frames from WAL file /mnt/dietpi_userdata/prowlarr/prowlarr.db-wal
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] DatabaseEngineVersionCheck: SQLite 3.34.1
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: => 0.0321526s
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: => 0.0334971s
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: 39: email_encryption migrating
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] email_encryption: Starting migration of Main DB to 39
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: => 0.0053188s
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (39, '2024-02-20T10:50:27', 'email_encryption')
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Committing Transaction
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: 39: email_encryption migrated
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: => 0.0287963s
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Debug] MigrationController: Took: 00:00:00.1615278
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] MigrationController: *** Migrating data source=/mnt/dietpi_userdata/prowlarr/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
Feb 20 11:50:27 Jackett Prowlarr[28048]: SQLite notice (283): recovered 6 frames from WAL file /var/log/prowlarr/logs.db-wal
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] DatabaseEngineVersionCheck: SQLite 3.34.1
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: => 0.0007928s
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: => 0.0009118s
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: 39: email_encryption migrating
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] email_encryption: Starting migration of Log DB to 39
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (39, '2024-02-20T10:50:27', 'email_encryption')
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Committing Transaction
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: 39: email_encryption migrated
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] FluentMigrator.Runner.MigrationRunner: => 0.0009447s
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] Microsoft.Hosting.Lifetime: Now listening on: http://[::]:9696
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] CommandExecutor: Starting 3 threads for tasks.
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] Microsoft.Hosting.Lifetime: Application started. Press Ctrl+C to shut down.
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] Microsoft.Hosting.Lifetime: Hosting environment: Production
Feb 20 11:50:27 Jackett Prowlarr[28048]: [Info] Microsoft.Hosting.Lifetime: Content root path: /
During the upgrade process:
dietpi@Jackett:/var/log/prowlarr# ls -la /var/log/prowlarr/
total 752
drwxr-xr-x 2 prowlarr dietpi 120 Feb 20 11:49 .
drwxr-xr-x 9 root root 280 Jan 20 19:27 ..
-rw-r--r-- 1 prowlarr dietpi 700416 Feb 20 11:49 logs.db
-rw-r--r-- 1 prowlarr dietpi 32768 Feb 20 11:49 logs.db-shm
-rw-r--r-- 1 prowlarr dietpi 24752 Feb 20 11:49 logs.db-wal
-rw-rw-r-- 1 prowlarr dietpi 4237 Feb 20 11:49 prowlarr.txt
Yesterday I had also tried rebooting the VM to get a clean start but evidently that was not enough. No matter what, in the end the upgrade was successful and that is the important thing.
Thank you again for your support, I will close the issue directly.
from dietpi.
Related Issues (20)
- Update from 9.2.1 to 9.3 fails. Appears to be corrupted update URLs or something with Tailscale running on the box HOT 8
- "cpu" command | Add CPUFreq stats for time in states
- USB0 Network setting HOT 2
- Pine A64 - update from 9.2.1 to 9.3.0 fails while upgrading APT packages HOT 3
- Trying to run HamClock on /dev/fb0 HOT 4
- Dietpi-9.3 issues with all existing services going down while using tailscale as an exit node. HOT 3
- Elecrow 10.7" 1920x1080 IPS HDMI - Current console font on boot looks unreadable. HOT 2
- /dev/fb0 disappeared HOT 6
- Software request - photoprism
- Issue with /dev/dri/ with no desktop running HOT 2
- DietPi-Installer | Add support for Amlogic S9xx TV boxes HOT 7
- DietPi-Software | NZBGet: Move to DEB packages?
- Dietpi-VPN IPVanish installation - Possible bugs with IpVanish's configs.zip and also "keysize" in .ovpn file HOT 6
- Dietpi connecting to Chinese sites? HOT 1
- Camera Led not working HOT 7
- Pi-hole setup fails after applying workaround from #6592 / bond0 interface HOT 2
- Unable to install Wazuh agent on Pi 5 HOT 3
- HTTP(S) connections (without DNS) to certain hosts are blocked (by ISP?) HOT 81
- Image | ROCK 3C HOT 1
- Open Beta v9.4 | Please help testing and hardening our upcoming release HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dietpi.