Sonarr File /var/db/sonarr/NzbDrone/MediaCover/2/fanart.jpg not found

Status
Not open for further replies.

Halfe

Explorer
Joined
Apr 24, 2013
Messages
94
Hi.

I'm having trouble with this error msg

Code:
File /var/db/sonarr/NzbDrone/MediaCover/2/fanart.jpg not found


when that happens Sonarr hangs on scan

i have changed the user sonarr is running. so i know its somthing about sonarr not having permissions to get fanart.

Code:
/var/db/sonarr/NzbDrone # ls -l
total 1032
drwxr-xr-x  3 halfe  halfe        3 May 29 00:42 Backups
drwxrwxrwx  6 halfe  halfe        6 May 29 00:59 MediaCover
drwxr-xr-x  2 halfe  halfe        3 May 29 00:42 UpdateLogs
-rw-r--r--  1 halfe  halfe      440 May 29 01:16 config.xml
drwxr-xr-x  2 halfe  halfe        3 May 29 00:41 logs
-rw-r--r--  1 halfe  halfe   148480 May 29 01:16 logs.db
-rw-r--r--  1 halfe  halfe    32768 May 29 01:16 logs.db-shm
-rw-r--r--  1 halfe  halfe   620448 May 29 01:17 logs.db-wal
-rw-r--r--  1 halfe  halfe  2067456 May 29 01:22 nzbdrone.db
-rw-r--r--  1 halfe  halfe    32768 May 29 01:22 nzbdrone.db-shm
-rw-r--r--  1 halfe  halfe        0 May 29 01:22 nzbdrone.db-wal
-rw-r--r--  1 halfe  halfe        5 May 29 01:16 nzbdrone.pid


edit:

I just followed this thread
https://forums.freenas.org/index.php?threads/plugin-user.27266/

it worked in march but now it doesn't. had a server crash and had to replace 3 discs.

I used the same method.

Code:
service sonarr onestop
Stopping sickbeard.
chown -R halfe:halfe /var/db/sonarr/
chown -R halfe:halfe /var/run/sonarr_fcgi_server.pid
root@jail_1:/ # sysrc 'sonarr_user=halfe'
sickbeard_user:  -> halfe
# service sonarr start
Starting sonarr.
# service sonarr status
sonarr is running as pid 45956.
# sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
halfe    mono-sgen  33298 17 tcp4   100.0.2.12:8989       100.0.2.50:57155
halfe    mono-sgen  33298 18 tcp4   *:8989                *:*
root     syslogd    55240 7  udp4   *:514                 *:*
root     python2.7  54690 3  tcp4   100.0.2.12:12352      *:*
root     python2.7  54667 3  tcp4   100.0.2.12:12353      *:*
# service sonarr status
sonarr is not running.


its still running.

content of the /var/db/Sonarr/NzbDrone/MediaCover
Code:
root@transmission_1:/var/db/sonarr/NzbDrone/MediaCover # ls -l
total 6
drwxr-xr-x  2 halfe  halfe  5 May 29 01:45 11
drwxr-xr-x  2 halfe  halfe  5 May 29 07:35 12
drwxr-xr-x  2 halfe  halfe  5 May 29 05:06 13
drwxr-xr-x  2 halfe  halfe  5 May 29 01:46 14
drwxr-xr-x  2 halfe  halfe  5 May 29 01:48 15
drwxr-xr-x  2 halfe  halfe  5 May 29 05:07 17
drwxr-xr-x  2 halfe  halfe  5 May 29 07:11 18
drwxr-xr-x  2 halfe  halfe  5 May 29 00:53 2
drwxr-xr-x  2 halfe  halfe  5 May 29 07:40 20
drwxr-xr-x  2 halfe  halfe  5 May 29 00:51 3
drwxr-xr-x  2 halfe  halfe  5 May 29 00:59 7
drwxr-xr-x  2 halfe  halfe  5 May 29 00:59 8

i dont know but its really slow.
 
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
it's likely not a permission issue. it looks like you set all that stuff up correctly.

you might want to all the sonarr guys of they ever have seen a similar issue.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
This is interesting. I'm running into the same issues when playing around with sonarr. I didn't use the plugin though. I just installed sqlite, mediainfo and mono pkg then grabbed the Sonarr tarball and ran the .exe under mono. Did you make any progress on this? It looks like you are using the plugin so this might be an actually problem with sonarr.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
So I think these log messages are misleading and are not actually a problem.
 

Halfe

Explorer
Joined
Apr 24, 2013
Messages
94
i fixed the problem doing this with a fresh install

Code:
mv /usr/local/etc/pkg.conf /usr/local/etc/pkg.conf.backup
pkg install nano
pkg install mono
pkg install mediainfo
cd
fetch http://www.sqlite.org/2014/sqlite-autoconf-3080704.tar.gz
tar -xzvf sqlite-autoconf-3080704.tar.gz
cd sqlite-autoconf-3080704
set CPPFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA"
./configure CFLAGS=-DSQLITE_ENABLE_COLUMN_METADATA
make
make install
cd
fetch http://download.sonarr.tv/v2/master/mono/NzbDrone.master.tar.gz
tar -xzvf NzbDrone.master.tar.gz
nano /etc/rc.d/run_drone



but now i'm having trouble changing the user Sonarr is running on.
Code:
 # service sonarr onestop
  Stopping sonarr.
  Waiting for PIDS: 13021.
  # chown -R Lars:Lars /var/db/sonarr/
  # sysrc 'sonarr_user=Lars'
  sonarr_user:  -> Lars
  # service sonarr start
  Starting sonarr


folder
Code:
/var/db/sonarr/
doesn't exist.

output of Sockstat -4
Code:
# sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     mono-sgen  44701 5  tcp4   *:8989                *:*
root     mono-sgen  44701 14 tcp4   100.0.2.12:8989       100.0.2.50:63285
root     mono-sgen  44701 15 tcp4   100.0.2.12:8989       100.0.2.50:63338
root     syslogd    44640 7  udp4   *:514                 *:*
?        ?          ?     ?  tcp4   100.0.2.12:8989       100.0.2.50:63177

looks like mono-sgen is listening for incoming on port 8989

so where do i change this now. community for Sonarr is not answering my post
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
i fixed the problem doing this with a fresh install

Code:
mv /usr/local/etc/pkg.conf /usr/local/etc/pkg.conf.backup
pkg install nano
pkg install mono
pkg install mediainfo
cd
fetch http://www.sqlite.org/2014/sqlite-autoconf-3080704.tar.gz
tar -xzvf sqlite-autoconf-3080704.tar.gz
cd sqlite-autoconf-3080704
set CPPFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA"
./configure CFLAGS=-DSQLITE_ENABLE_COLUMN_METADATA
make
make install
cd
fetch http://download.sonarr.tv/v2/master/mono/NzbDrone.master.tar.gz
tar -xzvf NzbDrone.master.tar.gz
nano /etc/rc.d/run_drone



but now i'm having trouble changing the user Sonarr is running on.
Code:
 # service sonarr onestop
  Stopping sonarr.
  Waiting for PIDS: 13021.
  # chown -R Lars:Lars /var/db/sonarr/
  # sysrc 'sonarr_user=Lars'
  sonarr_user:  -> Lars
  # service sonarr start
  Starting sonarr


folder
Code:
/var/db/sonarr/
doesn't exist.

output of Sockstat -4
Code:
# sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     mono-sgen  44701 5  tcp4   *:8989                *:*
root     mono-sgen  44701 14 tcp4   100.0.2.12:8989       100.0.2.50:63285
root     mono-sgen  44701 15 tcp4   100.0.2.12:8989       100.0.2.50:63338
root     syslogd    44640 7  udp4   *:514                 *:*
?        ?          ?     ?  tcp4   100.0.2.12:8989       100.0.2.50:63177

looks like mono-sgen is listening for incoming on port 8989

so where do i change this now. community for Sonarr is not answering my post
Are you using the plugin? It should use Sonarr by default unless you changed something in /etc/rc.conf(.local)
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
i fixed the problem doing this with a fresh install

Code:
mv /usr/local/etc/pkg.conf /usr/local/etc/pkg.conf.backup
pkg install nano
pkg install mono
pkg install mediainfo
cd
fetch http://www.sqlite.org/2014/sqlite-autoconf-3080704.tar.gz
tar -xzvf sqlite-autoconf-3080704.tar.gz
cd sqlite-autoconf-3080704
set CPPFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA"
./configure CFLAGS=-DSQLITE_ENABLE_COLUMN_METADATA
make
make install
cd
fetch http://download.sonarr.tv/v2/master/mono/NzbDrone.master.tar.gz
tar -xzvf NzbDrone.master.tar.gz
nano /etc/rc.d/run_drone



but now i'm having trouble changing the user Sonarr is running on.
Code:
 # service sonarr onestop
  Stopping sonarr.
  Waiting for PIDS: 13021.
  # chown -R Lars:Lars /var/db/sonarr/
  # sysrc 'sonarr_user=Lars'
  sonarr_user:  -> Lars
  # service sonarr start
  Starting sonarr


folder
Code:
/var/db/sonarr/
doesn't exist.

output of Sockstat -4
Code:
# sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     mono-sgen  44701 5  tcp4   *:8989                *:*
root     mono-sgen  44701 14 tcp4   100.0.2.12:8989       100.0.2.50:63285
root     mono-sgen  44701 15 tcp4   100.0.2.12:8989       100.0.2.50:63338
root     syslogd    44640 7  udp4   *:514                 *:*
?        ?          ?     ?  tcp4   100.0.2.12:8989       100.0.2.50:63177

looks like mono-sgen is listening for incoming on port 8989

so where do i change this now. community for Sonarr is not answering my post
You change the port number in the sonarr GUI. But your problem is that you now have it running twice. Your reinstall didn't fix the issue it just made everything worse. You will still see the not found errors.
 
Status
Not open for further replies.
Top