Jump to content

autofs + nfs + emby ... no database update after some time ...


Recommended Posts

Posted

Hi,

 

Using xmbc(kodi) since many years, but the decentralized database was painful, and have and a mysql with different version of kodi running there was even worst.

 

So I was trying to setup an emby-server inside a VM. Working almost, but unable to update 2 or 3 movies each time, emby-server process was at idle with 2-5% cpu use after some time, I needed to restart emby-server for 1 or 2 movies more...

But when you have so many movies, it's just impossible to restart emby-server so many times....

 

And I have found that if I put a "watch -n 5 ls /mnt/<autofs-share>", now the emby-server run perfectly, maybe 50 movies already and counting...

 

To resume:

I have an VM with debian running emby-server (stable)

an have an autofs mount (with a LDAP entry for each kind of media type movie/music/photo/tv show...) each mounted on /mnt/<autofs-ldap-entry>.

 

And there is nothing in the log of emby, only showing the last media found. I can post if you need... but really nothing interesting ;)

 

Regards.

Posted

Hi, i don't quite understand the problem you're trying to describe. Can you offer more detail? Thanks !

Posted

Hi,

Ok, I will try to decsribe the problem more precisely. :)

Emby-server get stuck on my first media update at 52%. Each time I restart the process emby only updating two or three movies and suddently goes idle (even if the process of updating the library is not finished).

 

The only solution I have found to increase the number of file emby refresh, is listing every 5sec the mounted media directory on the VM.

The mounted directory is an autofs entry for a NFS share. Maybe that the problem ?

 

ie: where is the 'attach' icon to putting log entry ?

Posted

Hi, click more reply options and then you can attach a log. Thanks.

Posted

Do you want the debug option enabled?

 

ie: I have removed all plugins.

Posted

For the moment everything seem working ... almost 2hours of syncing and counting :-D

Seem like disabling plugins make emby-server working better at the first scan of media library.

Posted

Yes, removing plugins can help. Well done.

Posted

So the log file.

Sync stuck at :

 scan media library 51,7% since yesterday.

 

regards

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...