Scanning stuck on 'Scanning Files: 1'

Need help? Post your questions here.

Moderator: moderators

Scanning stuck on 'Scanning Files: 1'

Postby cwestark » Mon Nov 02, 2020 12:16 pm

Any help very gratefully received... this has happened 3 or 4 times over each time I've tried to get this running over the last year.

Problem Description: Scanning for days without making progress - web browser says Scanning Files: 1. Around 30 of the 2000 Flac albums were loaded almost instantly, then stuck on this for days.
Troubleshooting Steps: Tried reinstalling everything, clicking scan media folders now, clean up-datebase
Playback Application and version: Standard Subsonic Web Interface
Subsonic Version: 6.1.6 (build 0cfa60) – November 10, 2019
Server Version: jetty-6.1.x, java 1.8.0_212, HSQLDB, Linux (51.8 MB / 145.0 MB)
Hardware Platform: Raspberry Pi 3 reading a network drive, accessing web browser on a MacBook Pro
Java Memory Limit: unsure

log posted here

[10/31/20 8:29:42 PM GMT] WARN JaudiotaggerParser Failed to find cover art tag in ._01 - Koln, January 24, 1975, Part I
[10/31/20 8:37:59 PM GMT] INFO CoverArtController Created thumbnail cache /var/subsonic/thumbs/600
[10/31/20 8:37:59 PM GMT] INFO FanartTvService Created cache /var/subsonic/fanarttvcache
[10/31/20 8:38:00 PM GMT] WARN CoverArtController Failed to process cover art /mnt/5TB/Audio [lossless]/Argerich & Abbado Complete Concerto Recordings/Martha_Argerich_Claudio_Abbado-Complete_Concerto_R.jpg: java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match
[10/31/20 8:38:02 PM GMT] INFO CoverArtController Created thumbnail cache /var/subsonic/thumbs/160
[10/31/20 8:38:02 PM GMT] INFO TranscodeInputStream Starting transcoder: /var/subsonic/transcode/ffmpeg -i /mnt/5TB/Audio [lossless]/Argerich & Abbado Complete Concerto Recordings/01-01-Martha_Argerich-1_Andante-Allegro-LLS.flac -map 0:0 -b:a 320k -v 0 -f mp3 -
[10/31/20 8:38:02 PM GMT] INFO InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmpeg: Syntax error: "(" unexpected
[10/31/20 8:38:02 PM GMT] WARN CoverArtController Failed to process cover art /mnt/5TB/Audio [lossless]/Argerich & Abbado Complete Concerto Recordings/Martha_Argerich_Claudio_Abbado-Complete_Concerto_R.jpg: java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match
[10/31/20 8:44:00 PM GMT] INFO CoverArtController Created thumbnail cache /var/subsonic/thumbs/200
[10/31/20 8:47:08 PM GMT] INFO TranscodeInputStream Starting transcoder: /var/subsonic/transcode/ffmpeg -i /mnt/5TB/Audio [lossless]/Victoria - 4 Motets, Missi quarti toni [Martorell]/A3 Motet O Regem Caeli.flac -map 0:0 -b:a 320k -v 0 -f mp3 -
[10/31/20 8:47:08 PM GMT] INFO InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmpeg: Syntax error: "(" unexpected
[10/31/20 8:47:44 PM GMT] INFO TranscodeInputStream Starting transcoder: /var/subsonic/transcode/ffmpeg -i /mnt/5TB/Audio [lossless]/Victoria - 4 Motets, Missi quarti toni [Martorell]/A1 Motet Ave Maria.flac -map 0:0 -b:a 320k -v 0 -f mp3 -
[10/31/20 8:47:44 PM GMT] INFO InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmpeg: Syntax error: "(" unexpected
[10/31/20 8:47:48 PM GMT] INFO TranscodeInputStream Starting transcoder: /var/subsonic/transcode/ffmpeg -i /mnt/5TB/Audio [lossless]/Victoria - 4 Motets, Missi quarti toni [Martorell]/A1 Motet Ave Maria.flac -map 0:0 -b:a 320k -v 0 -f mp3 -
[10/31/20 8:47:48 PM GMT] INFO InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmpeg: Syntax error: "(" unexpected
[10/31/20 8:57:55 PM GMT] INFO TranscodeInputStream Starting transcoder: /var/subsonic/transcode/ffmpeg -i /mnt/5TB/Audio [lossless]/Claus Ogerman & His Orchestra - Watusi Trumpets (2015)/01. It's Not Unusual.flac -map 0:0 -b:a 320k -v 0 -f mp3 -
[10/31/20 8:57:55 PM GMT] INFO InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmpeg: Syntax error: "(" unexpected
[10/31/20 8:58:00 PM GMT] INFO TranscodeInputStream Starting transcoder: /var/subsonic/transcode/ffmpeg -i /mnt/5TB/Audio [lossless]/Claus Ogerman & His Orchestra - Watusi Trumpets (2015)/01. It's Not Unusual.flac -map 0:0 -b:a 320k -v 0 -f mp3 -
[10/31/20 8:58:00 PM GMT] INFO InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmpeg: Syntax error: "(" unexpected
[10/31/20 8:59:20 PM GMT] INFO TranscodingDao Deleted transcoding with ID 0
[10/31/20 8:59:30 PM GMT] WARN FileUtil Failed to list children for /mnt/5TB/Audio [lossless]/Bach - Das Wohltemperierte Clavier [Schiff] /Bach - Das Wohltemperierte Clavier
[10/31/20 9:07:06 PM GMT] INFO PlayerDao Created player 4.
[10/31/20 9:07:06 PM GMT] INFO PlayerDao Created player 5.
[10/31/20 9:08:58 PM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB
[10/31/20 9:09:42 PM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB
[10/31/20 9:10:21 PM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB/TV and Film/Opera DVDs
[10/31/20 9:10:23 PM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB/TV and Film/Opera DVDs
[10/31/20 9:10:24 PM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB/TV and Film/Opera DVDs
[10/31/20 9:23:37 PM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB
[10/31/20 9:45:22 PM GMT] INFO MediaScannerService Automatic media library scanning scheduled to run every 1 day(s), starting at Sun Nov 01 03:00:00 GMT 2020
[10/31/20 9:45:54 PM GMT] INFO MediaScannerService Automatic media library scanning scheduled to run every 1 day(s), starting at Sun Nov 01 03:00:00 GMT 2020
[10/31/20 9:46:48 PM GMT] INFO MediaScannerService Automatic media library scanning scheduled to run every 1 day(s), starting at Sun Nov 01 03:00:00 GMT 2020
[10/31/20 9:47:31 PM GMT] INFO MediaScannerService Automatic media library scanning scheduled to run every 1 day(s), starting at Sun Nov 01 03:00:00 GMT 2020
[10/31/20 9:48:49 PM GMT] INFO SecurityService Created user cwestark
[10/31/20 9:49:14 PM GMT] INFO PlayerDao Created player 6.
[10/31/20 9:50:33 PM GMT] INFO PlayerDao Created player 7.
[11/1/20 7:17:31 AM GMT] INFO PlayerDao Created player 8.
[11/1/20 7:37:23 AM GMT] INFO PlayerDao Created player 9.
[11/1/20 7:50:17 AM GMT] INFO PlayerDao Created player 10.
[11/1/20 7:52:08 AM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB/enrika project.logicx/Media/Audio Files
[11/1/20 7:52:10 AM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB/enrika project.logicx/Media/Audio Files
[11/1/20 1:49:04 PM GMT] INFO PlayerDao Created player 11.
[11/1/20 3:55:48 PM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB/TV and Film/Opera DVDs
[11/1/20 3:55:49 PM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB/TV and Film/Opera DVDs
[11/1/20 3:55:51 PM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB/TV and Film/Opera DVDs
[11/1/20 8:10:59 PM GMT] INFO PodcastService Starting scheduled Podcast refresh.
[11/1/20 8:10:59 PM GMT] INFO PodcastService Completed scheduled Podcast refresh.
[11/2/20 12:09:13 AM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB/TV and Film/Opera DVDs
[11/2/20 12:09:17 AM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB/TV and Film/Opera DVDs
[11/2/20 12:12:17 AM GMT] WARN RESTFilter Error in REST API: Access denied to file /mnt/5TB/TV and Film/Opera DVDs
cwestark
 
Posts: 1
Joined: Mon Nov 02, 2020 12:08 pm

Re: Scanning stuck on 'Scanning Files: 1'

Postby hmathieu » Sun Nov 22, 2020 5:31 pm

Same problem here on a raspberry pi 4 with a drive mounted using Rclone. but for me it did not scan anything, it started with "scanning 1 file' and is stuck there.

I followed this to use Rclone ( https://medium.com/@artur.klauser/mount ... 002c7095c2 0) and while I didn't go so far as to start it at boot time (the very end of the tutorial) I did Configure Systemd (the section before last), so once I'm logged in > "systemctl --user start rclone@gdrive"
For info, I don't know it it's important, it's "read only" (but I don't see why Subsonic should be able to write anything).

VLC is perfectly able to read the music files on the mounted drive.

Any help appreciated.
hmathieu
 
Posts: 4
Joined: Sun Nov 22, 2020 4:32 pm

Re: Scanning stuck on 'Scanning Files: 1'

Postby hmathieu » Mon Nov 23, 2020 5:11 pm

Hi.
Sorry for the bother. It actualy solved itself. It said "scanning files : 1 for hours, but I decided to let it do its thing. And 2h later it was still "scanning 1" but I noticed the "index" page was populated with hundreds of names. So I let it do its thing some more, and after a while it moved to file 2, then 800 and now it's a 15K. Without any intervention on my side.
I guess it's a bit of a diesel engine, or it 's not super accurate at reporting scanned files or scanning doesn't think what I think it does.
Anyways, for me it's solved.
hmathieu
 
Posts: 4
Joined: Sun Nov 22, 2020 4:32 pm


Return to Help

Who is online

Users browsing this forum: Bing [Bot] and 19 guests