Jump to content

Emby Server lost watched states for everything - CentOS


Go to solution Solved by michnmi,

Recommended Posts

Posted

Hi All! 

This is my first topic in this wonderful forum and sadly it's for a problem :( 

 

Today I upgraded my emby server (running on CentOS) . 

Here are the from/to versions: 

---> Package emby-server.x86_64 0:3.5.3.0-1 will be updated
---> Package emby-server.x86_64 0:4.2.0.40-1 will be an update

 

After the upgrade three things have happened (which I think might be connected)

 

01) The watched status has been lost for every user. 

02) The Reports appear to have 0 on the timestamp for dates. 

03) Querying the database, shows no results for anything before the upgrade.  

 

So, if I go to Reports -> Activity , I get a result like the following (this is an extract) 

7/27/19 11:52 AM;<username>;SessionStarted;Info;<username> is online from Chrome;IP address: <ip_address>;
1/1/70 12:00 AM;;UserPolicyUpdated;Info;User policy has been updated for emby;;

 

So, in Reports, the data is there, it's just that all dates have been zero'd . 

 

If I go to the Playback Reporting  interface, and execute a Custom Query , I get this : 
rowid    DateCreated    UserName    ItemId    ItemType    ItemName    PlaybackMethod    ClientName    DeviceName    PlayDuration    PauseDuration
1    2019-07-27 12:24:34.1903292    <username>    37507    TvChannel    RandomChannel01 HD    DirectPlay    AndroidTv    <my_device>    440    0
2    2019-07-27 13:10:47.4163088    <username>    37508    TvChannel    RandomChannel02 HD    DirectPlay    AndroidTv    <my_device>    533    0

 

which is everything after the upgrade. 

 

So , I'm not entirely sure how this has happened, hence I'm reaching out. 

 

Thanks!!!

MM

  • Like 1
Posted

Hi, you never used any version in between those?

Posted

Hi Luke, 

No I have not installed anything in between. I went directly from the 3.5.3.0-1 to the 4.2.0.40-1 

Thanks!

  • Like 1
Posted

Have you completed a library scan since the upgrade?

  • Solution
Posted

Hi Luke, 

 

I executed a library scan as you told me and I can see that the watched status is fixed, so thanks!

Apologies for the late reply but it took around 9hours.

 

However, the other two issues are ongoing. 

 

In the Reports I can still see the zero'd dates 

And also the Playback Reporting plugin  shows everything that happened after the upgrade. 

 

Thanks!

MM 

  • Like 2
Posted

Reports probably just needs a compatibility update for the new server.

Posted (edited)

Thanks!

 

The main question was answered, I'll see if I can figure out the plugin issue later. 

 

You can resolve this topic!!!

MM

Edited by michnmi
  • Like 1

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