New added files not shown in Madsonic / Lucene

Need help? Post your questions here.
chrissi55
Posts: 25
Joined: 06 Sep 2017, 15:17
Has thanked: 0
Been thanked: 3 times

New added files not shown in Madsonic / Lucene

Unread post by chrissi55 »

Hi there,

i'm new to Madsonic and ... overwhelmed of this great peace of stoftware :-)

Maybe I made a mistake during configuration because my Serverlog is flooded by messages of ERROR NowPlayingService

Error says:

Unexpected error in getNowPlaying: java.lang.SecurityException: Access denied to file /media/con2/video/[NAME_OF_THE_FILES]

What i did before was a Folder creation of /media/con2/video ...

Later i suggested to switch to /media/con2/video/##MOVIES/.... and /media/con2/video/##FAMILY/... e.g.

Totaly right that the path mentioned in the Error log isn't present any longer. But how to get rid of the messages?

What did i do to rescan all files ...

Full Rescan - Full Rescan easy trick

go to Media folder Settings
Disable each Music folder (this switch the entrys to Offline)
Save Settings
Make a Full Mediascan
Re-enable each Music folder to rescan
Save Settings
Make a Full Mediascan

No success ... Errors resist.

I'm not sure where to delete any DB Entries of previous settings / path settings

Any Ideas?

I'm using Version 6.2.9040

Thank you for helping me
Last edited by chrissi55 on 17 Sep 2017, 06:48, edited 1 time in total.
chrissi55
Posts: 25
Joined: 06 Sep 2017, 15:17
Has thanked: 0
Been thanked: 3 times

Re: ERROR NowPlayingService flooding Logfile

Unread post by chrissi55 »

...after looking forward to other postings here and in the www

I did (a little bit frustrated) a clean re-install of the server and madsonic.

I set the new paths directly to the structure I'm using now and the errors in the log are gone.

Sadly I now have a new problem .... new files were scanned concerning the logfile Watchdog entries ... but newly uploaded files aren't shown in madsonic, nor in Lucene Search Engine.

So every time I added new files / folders to my server I had to login as admin and scan my files -> then every file / folder is included in madsonic and Lucene.

And when I'm looking into my "Scan Tasks" overview I see the media folders as queued and under Comment "waiting..."

The intervall is 1 hour - but I've tried 3 hours , 1 day ... no difference.

:oops:


Every time I scanned my files manually every mediafolder has the Status = "done" -> Result = "successfully" -> Comment = "autogenerated"


Update 18.09.2017:

Is it possible to create a cronjob under linux to get the process working automatically?

What ist the Java Command for the cronjob? Scanning all files ... ? :?
User avatar
Matt Zornig
Contributor
Contributor
Posts: 242
Joined: 14 Feb 2017, 12:03
Has thanked: 38 times
Been thanked: 28 times

Re: ERROR NowPlayingService flooding Logfile

Unread post by Matt Zornig »

chrissi55 wrote: Is it possible to create a cronjob under linux to get the process working automatically?

What ist the Java Command for the cronjob? Scanning all files ... ? :?
If you did not find it yourself, you can start here: Shell script to start media scan.

Check the REST-API then for more commands.
Post Reply