Jump to content

Emby pauses at same time every day - 1am exactly


Go to solution Solved by visproduction,

Recommended Posts

salvadordalisdad
Posted

Hi Guys,

 

Loving Emby, wouldn't be without it, despite a few niggles (mostly my family the users!)

One niggle which has been noted - highlighted by my late getting to bed issue - is that Emby pauses every day at 1am exactly.

The first few times It seemed to have crashed, because it was quite unresponsive for a while.

It recovers & remembers where in the file it stopped, but more recently if it's just left to its own devices it just carries on after a while as if nothing had happened.

Checking through the logs at this time I found these entries (summarised)

2022-04-08 01:00:55.010 Info Server: http/1.1 Response 204 to 192.168.4.68. Time: 2ms. http://192.168.4.6:8096/emby/Sessions/Playing/Progress
2022-04-08 01:01:01.627 Info LibraryMonitor: Episode-Name (/mnt/TV Shows/named-TV-show/Season 1/named-TV-show S01E04 Episode-Name.mkv) will be refreshed.
.<identical messages for other shows>
.<identical messages for other shows>
.<identical messages for other shows>
2022-04-08 01:01:34.025 Info Server: http/1.1 POST http://192.168.4.6:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 9; BRAVIA 4K UR3 Build/PTT1.190515.001.S105)

I have looked to see if I can find some setting which will stop this from happening and do it later, but can find nothing obvious.

All I can find is a reference to "scan media library" in the scheduled tasks, but that only says "every 12 hours", and I am sure it doesn't happen at 1pm, as I checked the logs & it isn't there, so it's not that.

 

Any suggestions please?

TIA

 

Posted

Hi there, please attach the complete emby server log from when this happens. Thanks 

salvadordalisdad
Posted
1 hour ago, Luke said:

Hi there, please attach the complete emby server log from when this happens. Thanks 

Hiya,

Thanks for the ultra-quick response, much aprpeciated.

What sort of timeframe do you need?

If you need the whole day, then I guess I am not going to get an answer. I can't realistically sanitize personal data from 30,000 lines of log to be published onto a public forum. I stupidly figured that the timeframe of a few mins either side of the event would be the most relevent, considering that a process started at exactly that time, coincidence I guess!   😉

Please advise.

Thanks

 

 

 

pwhodges
Posted

You can send Luke the log by PM.

Note FYI that in the upcoming server version 4.7 the logs will be sanitised for you.

Paul

  • Like 1
Posted
21 hours ago, pwhodges said:

You can send Luke the log by PM.

Note FYI that in the upcoming server version 4.7 the logs will be sanitised for you.

Paul

@salvadordalisdad yes this would be great, can you do that? Thanks !

salvadordalisdad
Posted (edited)
23 hours ago, visproduction said:

Double check your Linux server isn't doing a chron job at 01:00 like a backup.  I say this because the cron job default settings are often at 01:00.  See: https://sqlbackupandftp.com/blog/postgresql-job-scheduler 

What a chump not thinking of that earlier! rofl

I blame Emby being so stable & reliable that I forgot it was sitting on an Unraid server!

It wasn't a cron job, but a user script, probably interacting with the fact that the disks are spun down when not in use, so it starts & has to wait 15-20 seconds before it can carry on.

 

So  - we're back to "helpdesk 101" where the user <in this case me> says "there's something wrong with X"

and the standard reply should be - "Is it though?" Suitable Thor meme attached.

Thanks guys for the sanity check and the support!

 

thor-meme.jpg

Edited by salvadordalisdad

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