Madsonic start freezes at WATCHDOG:RUN: doUpdateTasks()

Need help? Post your questions here.
Posts: 10
Joined: 10 Jun 2016, 11:26
Has thanked: 1 time
Been thanked: 3 times

Madsonic start freezes at WATCHDOG:RUN: doUpdateTasks()

Unread post by KBanause » 15 May 2018, 13:39

Code: Select all

 VERSION:      MADSONIC 6.3 | BUILD: 9840
 SERVER:       Raspberry Pi 3 Model B ARM-Cortex-A53 4x 1,2GHz, 1GB RAM | HDD: 3TB (RAID-1 via USB)
 OS:           DEBIAN 9.4
 JAVA:         ORACLE JDK 1.8
I have my Madsonic installation set to do NO automatic scan task (all tasks are set to NEVER), since I'm the only one chaning anything on the music collection (after which I manually start the scan).
However, at the end of April I had to reboot my Raspberry Pi and now it fails to start.

this is my madsonic_sh.log:

Code: Select all

Mai 15, 2018 2:05:52 PM prepareRefresh
INFORMATION: Refreshing startup date [Tue May 15 14:05:52 CEST 2018]; root of context hierarchy
Mai 15, 2018 2:05:53 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFORMATION: Loading XML bean definitions from class path resource [applicationContext-deployer.xml]
Mai 15, 2018 2:05:54 PM preInstantiateSingletons
INFORMATION: Pre-instantiating singletons in defining beans [service,org.springframework.remoting.rmi.RmiServiceExporter#0]; root of factory hierarchy
used forced Install_Dir = /var/madsonic
Using WAR file: /usr/share/madsonic/madsonic.war
No newer update found.
Using WAR file: /usr/share/madsonic/madsonic.war
Extracting webapp to /var/madsonic/jetty/9840
Using WAR file: /usr/share/madsonic/madsonic.war
Using GZIP-compression for REST
2018-05-15 14:05:54.533:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
2018-05-15 14:06:05.274:INFO:/:Initializing Spring root WebApplicationContext
[2018-05-15 14:06:10] [INFO ] [main] Version - HV000001: Hibernate Validator 5.2.4.Final
[2018-05-15 14:06:17] [INFO ] [main] CacheManager - The CacheManager shutdown hook is enabled because net.sf.ehcache.enableShutdownHook is set to true.
This is my madsonic.log:

Code: Select all

[2018-05-15 14:06:12,801] WARN HsqlDaoHelper - Checking HSQLDB database schema ...
[2018-05-15 14:06:16,358] DEBUG SchemaInfo - Database schema is version: 206
[2018-05-15 14:06:16,359] INFO HsqlDaoHelper - Done checking HSQLDB database schema.
[2018-05-15 14:06:16,362] INFO HsqlDaoHelper - Checking HSQLDB version: 2.4.0
[2018-05-15 14:06:17,733] INFO SettingsService - Java: 1.8.0_171, OS: Linux
[2018-05-15 14:06:17,760] INFO SettingsService - write transcode path to property file: /var/madsonic/transcode
[2018-05-15 14:06:19,585] INFO SettingsService - ffmpeg: ffmpeg version 3.2.10-1~deb9u1+rpt1 (02.02.2018) Copyright (c) 2000-2018 the FFmpeg developers
[2018-05-15 14:06:19,585] INFO SettingsService - Madsonic scanMode: MIXED
[2018-05-15 14:06:19,594] DEBUG VersionService - Resolved local Madsonic version to: 6.3.9840.3e2ad42
[2018-05-15 14:06:20,001] DEBUG MediaScannerService - WATCHDOG:RUN: doUpdateTasks()
And then the startup is freezing. It will stay at the "WATCHDOG:RUN: doUpdateTasks()" step forever until I stop the service again (service madsonic stop). The next time I start the service again, I end up at the same point.
The only way to get it back running is to stop the madsonic server, remove/rename the db directory, restart madsonic and setup everything again. But as soon as I restart the madsonic server it starts freezing at the "WATCHDOG:RUN: doUpdateTasks()" step again.

Posts: 10
Joined: 10 Jun 2016, 11:26
Has thanked: 1 time
Been thanked: 3 times

Re: Madsonic start freezes at WATCHDOG:RUN: doUpdateTasks()

Unread post by KBanause » 25 Jun 2018, 10:58


I just setup Madsonic from scratch but this time I kept the media scan of the media folders enabled (but with a scan date far in the future) and Madsonic is starting without any problems.

Post Reply