Please find attached my logs:
dietpi-launcher : All the DietPi programs in one place
dietpi-config : Feature rich configuration tool for your device
dietpi-software : Select optimised software for installation
htop : Resource monitor
cpu : Shows CPU information and stats
root@DietPi:~# journalctl -u airsonic
Jul 08 08:45:17 DietPi systemd[1]: Started airsonic.service - Airsonic-Advanced(DietPi).
Jul 08 08:45:52 DietPi Airsonic[5149]: _ _
Jul 08 08:45:52 DietPi Airsonic[5149]: /\ (_) (_)
Jul 08 08:45:52 DietPi Airsonic[5149]: / \ _ _ __ ___ ___ _ __ _ ___
Jul 08 08:45:52 DietPi Airsonic[5149]: / /\ \ | | '__|/ __|/ _ \| '_ \| |/ __|
Jul 08 08:45:52 DietPi Airsonic[5149]: / ____ \| | | \__ \ (_) | | | | | (__
Jul 08 08:45:52 DietPi Airsonic[5149]: /_/ \_\_|_| |___/\___/|_| |_|_|\___|
Jul 08 08:45:52 DietPi Airsonic[5149]:
Jul 08 08:45:52 DietPi Airsonic[5149]: 11.0.0-SNAPSHOT
Jul 08 08:45:53 DietPi Airsonic[5149]: 2024-07-08 08:45:53.231 WARN ---o.a.p.u.LegacyHsqlMigrationUtil : Failed to determine HSQLDB database version
Jul 08 08:45:53 DietPi Airsonic[5149]: java.io.FileNotFoundException: /mnt/dietpi_userdata/Airsonic/db/airsonic.properties
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.springframework.core.io.FileSystemResource.getInputStream(FileSystemResource.java:189) ~[spring-core-5.3.18.jar!/:5.3.18]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:144) ~[spring-core-5.3.18.jar!/:5.3.18]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties(PropertiesLoaderUtils.java:133) ~[spring-core-5.3.18.jar!/:5.3.18]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.airsonic.player.util.LegacyHsqlMigrationUtil.getHsqlDbVersion(LegacyHsqlMigrationUtil.java:31) ~[classes!/:11.0.0-SNAPSHOT]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.airsonic.player.util.LegacyHsqlMigrationUtil.isHsqlDbBackupNeeded(LegacyHsqlMigrationUtil.java:64) ~[classes!/:11.0.0-SNAPSHOT]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.airsonic.player.util.LegacyHsqlMigrationUtil.upgradeFileHsqlDbIfNeeded(LegacyHsqlMigrationUtil.java:159) ~[classes!/:11.0.0-SNAPSHOT]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.airsonic.player.spring.StartupEventListener.onApplicationEvent(StartupEventListener.java:17) ~[classes!/:11.0.0-SNAPSHOT]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.airsonic.player.spring.StartupEventListener.onApplicationEvent(StartupEventListener.java:1) ~[classes!/:11.0.0-SNAPSHOT]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.18.jar!/:5.3.18]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.18.jar!/:5.3.18]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.18.jar!/:5.3.18]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) ~[spring-context-5.3.18.jar!/:5.3.18]
Jul 08 08:45:53 DietPi Airsonic[5149]: at org.springframework.boot.context.event.EventPublishingRunListener.contextPrepared(EventPublishingRunListener.j
Jappe
8 July 2024 06:59
2
Please fill out the troubleshoot template
Kindly share me the template
Jappe
8 July 2024 07:54
4
Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
DietPi version | cat /boot/dietpi/.version
Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
Kernel version | uname --all
Architecture | dpkg --print-architecture
SBC model | echo $G_HW_MODEL_NAME
or (EG: RPi3)
Power supply used | (EG: 5V 1A RAVpower)
SD card used | (EG: SanDisk ultra)
Additional Information (if applicable)
Software title | (EG: Nextcloud)
Was the software title installed freshly or updated/migrated?
Can this issue be replicated on a fresh installation of DietPi?
← If you sent a “dietpi-bugreport”, please paste the ID here →
Bug report ID | echo $G_HW_UUID
Steps to reproduce
…
…
Expected behaviour
Actual behaviour
Extra details
DietPi Version:
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=6
G_DIETPI_VERSION_RC=1
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
Distro version:
bookworm 0
Kernel version:
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
SBC model:RPi CM 3+ (aarch64)
can you share following
ls -la /mnt/dietpi_userdata/airsonic/db
as well the whole service log. First start could take time to get java up
journalctl -u airsonic.service
root@DietPi:~# ls -la /mnt/dietpi_userdata/airsonic/db
total 932
drwxr-xr-x 3 airsonic dietpi 4096 Jul 8 21:11 .
drwxr-xr-x 4 airsonic root 4096 Jul 8 21:10 ..
-rw-r--r-- 1 airsonic dietpi 16 Jul 8 21:14 airsonic.lck
-rw-r--r-- 1 airsonic dietpi 32768 Jul 8 21:11 airsonic.lobs
-rw-r--r-- 1 airsonic dietpi 896949 Jul 8 21:11 airsonic.log
-rw-r--r-- 1 airsonic dietpi 100 Jul 8 21:10 airsonic.properties
-rw-r--r-- 1 airsonic dietpi 1610 Jul 8 21:10 airsonic.script
drwxr-xr-x 2 airsonic dietpi 4096 Jul 8 21:10 airsonic.tmp
journalctl -u airsonic.service
attached file
airsoniclo.txt (165.1 KB)
ok application was starting still
Jul 08 21:11:21 DietPi Airsonic[4104]: 2024-07-08 21:11:21.682 INFO --- org.airsonic.player.Application : Detected Tomcat web server
Jul 08 21:12:10 DietPi Airsonic[4104]: 2024-07-08 21:12:10.499 WARN --- o.a.p.s.GlobalSecurityConfig : Generating new encryption key password
Jul 08 21:12:10 DietPi Airsonic[4104]: 2024-07-08 21:12:10.535 WARN --- o.a.p.s.GlobalSecurityConfig : Generating new encryption key salt
Jul 08 21:12:11 DietPi Airsonic[4104]: 2024-07-08 21:12:11.188 WARN --- o.a.p.s.GlobalSecurityConfig : Generating new jwt key
but got killed after 6 minutes
Jul 08 21:14:41 DietPi systemd[1]: airsonic.service: Main process exited, code=killed, status=9/KILL
Jul 08 21:14:41 DietPi systemd[1]: airsonic.service: Failed with result 'signal'.
Jul 08 21:14:41 DietPi systemd[1]: airsonic.service: Consumed 6min 14.689s CPU time.
Probably your system was running out of resource.
Can you check your system log around that time Jul 08 21:14:41
journalctl --since "2024-07-08 21:00:00" --until "2024-07-08 21:30:00"
PFA of today morning time
airsonicjourn.txt (70.8 KB)
Jul 09 08:30:21 DietPi Airsonic[495]: 11.0.0-SNAPSHOT
Jul 09 08:30:22 DietPi Airsonic[495]: 2024-07-09 08:30:22.547 INFO --- org.airsonic.player.Application: Starting Application v11.0.0-SNAPSHOT using Java 17.0.11 on DietPi with PID 495 (/mnt/dietpi_userdata/airsonic/airsonic.war started by airsonic in /mnt/dietpi_userdata/airsonic)
Jul 09 08:30:22 DietPi Airsonic[495]: 2024-07-09 08:30:22.583 INFO --- org.airsonic.player.Application: No active profile set, falling back to 1 default profile: "default"
Jul 09 08:30:46 DietPi systemd[1]: dev-serial0.device: Job dev-serial0.device/start timed out.
Jul 09 08:30:46 DietPi systemd[1]: Timed out waiting for device dev-serial0.device - /dev/serial0.
Jul 09 08:30:46 DietPi systemd[1]: Dependency failed for serial-getty@serial0.service - Serial Getty on serial0.
Jul 09 08:30:46 DietPi systemd[1]: serial-getty@serial0.service: Job serial-getty@serial0.service/start failed with result 'dependency'.
Jul 09 08:30:46 DietPi systemd[1]: dev-serial0.device: Job dev-serial0.device/start failed with result 'timeout'.
Jul 09 08:30:46 DietPi systemd[1]: Reached target getty.target - Login Prompts.
Jul 09 08:30:46 DietPi systemd[1]: Reached target multi-user.target - Multi-User System.
Airsonic was started at around 8:30
Jul 09 08:30:21 DietPi Airsonic
And still loading at 8:37 where your log stopped
Jul 09 08:37:20 DietPi Airsonic[495]: 2024-07-09 08:37:04.144 INFO --- o.a.p.service.PodcastService : Starting scheduled default Podcast refresh.
I guess you system is heavily loaded and your apps taking long time to complete startup. You should be able to watch system resoruce consumtion using htop
root@DietPi:~# htop
0[||||||||||||||||||||||||||||||| 71.8%] Mem[|||||||||||||||||||||||||||||||||535M/910M]
1[|||||||||||||||||||||||||||| 63.6%] Swp[ 0K/0K]
2[||||||||||||||||||||||||||||| 68.2%] Tasks: 42, 158 thr, 92 kthr; 3 running
3[||||||||||||||||||||||||||||| 66.5%] Load average: 27.98 39.95 24.90
Avg[||||||||||||||||||||||||||||| 67.1%] Uptime: 00:26:38
[Main] [I/O]
PID△USER RES NI CPU% TIME+ Command
1 root 7196 0 0.0 0:07.10 /sbin/init
153 root 5780 0 1.3 0:04.41 ├─ /lib/systemd/systemd-journald
180 root 1380 0 0.0 0:01.14 ├─ /lib/systemd/systemd-udevd
371 avahi 504 0 0.0 0:04.24 ├─ avahi-daemon: running [DietPi.local]
377 avahi 316 0 0.0 0:00.00 │ └─ avahi-daemon: chroot helper
372 messagebus 616 0 0.0 0:00.48 ├─ /usr/bin/dbus-daemon --system --address=systemd
374 root 2744 0 0.0 0:01.01 ├─ /lib/systemd/systemd-logind
420 root 832 0 0.0 0:00.87 ├─ dhclient -4 -v -i -pf /run/dhclient.eth0.pid -l
497 root 268 -10 0.6 0:04.21 ├─ /usr/sbin/networkaudiod
499 root 1268 0 0.0 0:00.02 ├─ /usr/sbin/dropbear -EF -p 22 -W 65536
2564 root 2592 0 0.6 0:00.27 │ └─ /usr/sbin/dropbear -EF -p 22 -W 65536 -2 8
2565 root 5480 0 0.0 0:00.14 │ └─ -bash
2590 root 3640 0 5.1 0:01.06 │ └─ htop
500 gmediarend 6784 0 0.0 0:14.30 ├─ /usr/bin/gmediarender -u 17d64c32-be0e-4701-a3c
501 squeezebox 150M 0 0.0 0:23.49 ├─ /usr/bin/perl /usr/sbin/squeezeboxserver --pref
1062 squeezebox 8512 0 0.0 0:00.69 │ └─ /usr/bin/perl /usr/sbin/squeezeboxserver-res
F1Help F2Setup F3SearchF4FilterF5List F6SortByF7Nice -F8Nice +F9Kill F10Quit
Is it problem if we install airsonic and Navidrome in same hardware.Can allo usb bridge handle it
as you can seem your system is under high load. Next you don’t use SWAP. I would recommend a total of 2GB memory (phys + swap)
Please advise me how to do the swap feature
you can use drive manager to add swap space
I have swapped the files. can you check if space ok now.Also i have uninstalled airsonic. Basically is there any difference between navidrome and airsonic?
wow 15 GB SWAP, 2 GB should be fine as well.
I don’t know as I don’t use them