Jump to content

Problem with scanning Files


LookyLooky

Recommended Posts

LookyLooky

Hi,

 

after adding some new Films I recogniced that they weren't added like they used to be before.

 

Poorly I made the mistake to remove the old bib and create a new one before reading here.

 

I seems to be a common problem at this time:

https://emby.media/community/index.php?/topic/81482-error-scanning-files/

 

Can someone tell me a working solution please?

Link to comment
Share on other sites

LookyLooky

There are many errors in the log:

 

Error HttpServer: Error processing request

Error App: Error in TheMovieDb

Error ProviderManager: Error in metadata saver

 

The server worked well for a long time.

I regularly install the updates.

 

This is really annoying!

Link to comment
Share on other sites

There are many errors in the log:

 

Error HttpServer: Error processing request

Error App: Error in TheMovieDb

Error ProviderManager: Error in metadata saver

 

The server worked well for a long time.

I regularly install the updates.

 

This is really annoying!

 

Did you see this?

	
2020-02-18 14:10:45.724 Error ProviderManager: Error in metadata saver
	*** Error Report ***
	Version: 4.3.1.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.19.0.8
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 4
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.IO.IOException: System.IO.IOException: Read-only file system

Specifically it says:

Read-only file system

Why do you feel this is an Emby problem?

Link to comment
Share on other sites

LookyLooky

 

Did you see this?

2020-02-18 14:10:45.724 Error ProviderManager: Error in metadata saver
    *** Error Report ***
    Version: 4.3.1.0
    Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
    Operating system: Unix 4.19.0.8
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
    Processor count: 4
    Program data path: /var/lib/emby
    Application directory: /opt/emby-server/system

 

Yes I saw it.

Like I already said:

I am running this server about two years without problems.

I didn't change anything at the file-system:

ls -al /opt/emby-server/
drwxr-xr-x  8 root root  4096 Feb 21 22:51 .
drwxr-xr-x  3 root root  4096 Feb 21 22:51 ..
drwxr-xr-x  2 root root  4096 Feb 21 22:51 bin
drwxr-xr-x  4 root root  4096 Feb 21 22:51 etc
drwxr-xr-x  4 root root 16384 Feb 21 22:51 lib
drwxr-xr-x 30 root root  4096 Feb 21 22:51 licenses
drwxr-xr-x  3 root root  4096 Feb 21 22:51 share
drwxr-xr-x  5 root root 20480 Feb 21 22:51 system


 ls -al /var/lib/emby/
insgesamt 48
drwxr-xr-x  9 emby emby 4096 Feb 21 22:54 .
drwxr-xr-x 25 root root 4096 Feb 21 22:51 ..
-rw-r--r--  1 emby emby  220 Apr 18  2019 .bash_logout
-rw-r--r--  1 emby emby 3526 Apr 18  2019 .bashrc
drwxr-xr-x  6 emby emby 4096 Feb 21 22:56 cache
drwxr-xr-x  4 emby emby 4096 Feb 21 22:51 config
drwxr-xr-x  4 emby emby 4096 Feb 21 22:56 data
drwxr-xr-x  2 emby emby 4096 Feb 21 22:56 logs
drwxr-xr-x  3 emby emby 4096 Feb 21 22:54 metadata
drwxr-xr-x  2 emby emby 4096 Feb 21 22:51 plugins
-rw-r--r--  1 emby emby  807 Apr 18  2019 .profile
drwxr-xr-x  3 emby emby 4096 Feb 21 22:51 root

ls -al /datenbank/
insgesamt 64
drwxr-xr-x 11 emby emby  4096 Feb 21 00:10  .
drwxr-xr-x 23 root root  4096 Feb  9 06:05  ..
drwxr-xr-x 16 emby emby  4096 Feb 15 19:48  cache
drwxr-xr-x  9 emby emby  4096 Feb 17 00:10 'Emby Backup - 2020-02-17 00.10.0 - Auto'
drwxr-xr-x  9 emby emby  4096 Feb 18 00:10 'Emby Backup - 2020-02-18 00.10.0 - Auto'
drwxr-xr-x  9 emby emby  4096 Feb 19 00:10 'Emby Backup - 2020-02-19 00.10.0 - Auto'
drwxr-xr-x  9 emby emby  4096 Feb 20 00:10 'Emby Backup - 2020-02-20 00.10.0 - Auto'
drwxr-xr-x  9 emby emby  4096 Feb 21 00:10 'Emby Backup - 2020-02-21 00.10.0 - Auto'
drwx------  2 root root 16384 Aug 12  2018  lost+found
drwxr-xr-x  5 emby emby  4096 Aug 15  2018  metadata
drwxr-xr-x  2 emby emby 12288 Feb 18 22:14  transcoding-temp

 

Why do you feel this is an Emby problem?

I just installed emby server on a new clean system just to compare file permissions - no difference

 

Link to comment
Share on other sites

It appears you enabled saving of nfo files but the server does not have write access to your media folders.

Link to comment
Share on other sites

LookyLooky

It appears you enabled saving of nfo files but the server does not have write access to your media folders.

Saving of NFO is enabled, but not saving in media folders.

Like I already said:

I didn't make any changes since installation.

Only updates of system and emby itself.

Link to comment
Share on other sites

Happy2Play

Saving of NFO is enabled, but not saving in media folders.

Like I already said:

I didn't make any changes since installation.

Only updates of system and emby itself.

If you enabled Metadata savers NFO, then it is saved with media.  With the option disabled info is only written to database.

Link to comment
Share on other sites

Saving of NFO is enabled, but not saving in media folders.

 

Because of the read-only file system error that is filling up your log files. The server is trying to save the nfo files to your media directories, but your system is not allowing it. Does this address your concern?

Link to comment
Share on other sites

I'm also having this error. I've read through a couple of threads similar and have a couple of questions.

 

Which directory is the server having the issues with? /opt/emby-server is root root and /TV is emby emby. The server can create a folder in /TV. So, is it trying to save the nfo files in /opt/emby-server/ somewhere?

 

Also, is saving nfo files to the media directories necessary?

 

Thank you.

Link to comment
Share on other sites

Which directory is the server having the issues with? /opt/emby-server is root root and /TV is emby emby. The server can create a folder in /TV. So, is it trying to save the nfo files in /opt/emby-server/ somewhere?

Please attach the same log files that were requested from the other user. Thanks.

 

 

 

Also, is saving nfo files to the media directories necessary?

That is entirely your personal preference.

Link to comment
Share on other sites

I've worked it out. This was the error I was getting. I turned off NFO and started poking around through syslog and checking directories with ls -al. I ended up doing chown -R emby:emby /mnt/md0 and added my user to the emby group. Restarted everything and re added NFO's. 

2020-02-26 10:37:43.165 Error App: Error running postscan task
	*** Error Report ***
	Version: 4.1.1.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.15.0.88
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 32
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Tvdb.TvdbPrescanTask.GetSeriesIdsToUpdate(IEnumerable`1 existingSeriesIds, String lastUpdateTime, CancellationToken cancellationToken)
	   at Tvdb.TvdbPrescanTask.Run(IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.LibraryManager.RunPostScanTasks(IProgress`1 progress, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

Thank you!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...