Jump to content

Errors in the logs relating to collections - Error in validateChildren


Recommended Posts

tanStaafl
Posted

Not sure this is related, but I was looking at my server logs and there are numerous 'errors' regarding my collections. My collections work fine, but it appears to be looking in the wrong subdirectory and is causing an error in the dll's.

Just thought it might mean something.

Logs attached.

embyserver-63873532800.txt embyserver.txt

  • Facepalm 1
sa2000
Posted
On 27/01/2025 at 12:38, tanStaafl said:

Not sure this is related, but I was looking at my server logs and there are numerous 'errors' regarding my collections. My collections work fine, but it appears to be looking in the wrong subdirectory and is causing an error in the dll's.

Seems to be one specific TV series that the errors relate to. Would need a copy of the library.db file to find out more - I will send you a link to upload a copy of the library.db and I can have a look

All the errors refer to a database id of 52892

2025-01-27 00:13:17.839 Error App: Error in validateChildren for 52892 C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections
2025-01-27 00:28:17.074 Error App: Error in validateChildren for 52892 C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections
2025-01-27 00:43:16.917 Error App: Error in validateChildren for 52892 C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections
2025-01-27 00:58:17.272 Error App: Error in validateChildren for 52892 C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections

The path showing in the error message 'C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections' could be relating to a collection created in an old version of Emby Server

System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections'.

 

  • Like 1
tanStaafl
Posted
On 1/30/2025 at 1:10 AM, sa2000 said:

Seems to be one specific TV series that the errors relate to. Would need a copy of the library.db file to find out more - I will send you a link to upload a copy of the library.db and I can have a look

All the errors refer to a database id of 52892

2025-01-27 00:13:17.839 Error App: Error in validateChildren for 52892 C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections
2025-01-27 00:28:17.074 Error App: Error in validateChildren for 52892 C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections
2025-01-27 00:43:16.917 Error App: Error in validateChildren for 52892 C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections
2025-01-27 00:58:17.272 Error App: Error in validateChildren for 52892 C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections

The path showing in the error message 'C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections' could be relating to a collection created in an old version of Emby Server

System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections'.

 

Database sent, thanks for looking into this.

tanStaafl
Posted

Sorry for the multiple posts, my personal system (not my video server) has been glitchy and it wasn't showing as posted... my bad..

sa2000
Posted
8 minutes ago, tanStaafl said:

Database sent,

Thank You. I have the database and will look at it

sa2000
Posted
1 hour ago, tanStaafl said:

Database sent, thanks for looking into this.

I am looking at the collections related errors issue 

Can you tell me if there is a collections folder in this path

C:\Users\Greg\AppData\Roaming\Emby-Server\programdata\metadata\collections

and if there is, could you confirm that it has folders for each of your collections 

and tell me what folders exist just below

C:\Users\Greg\AppData\Roaming\Emby-Server\

 

sa2000
Posted

@tanStaafl I have been looking at the database. I think the errors are to do with legacy collections items - dating back to May 2021 - pre Emby Server 4.6.0.

I am not sure at this point what the migration process was for collections pre version 4.6.0.50

These collections appear to link to the legacy data paths - to a parent folder which I presume does not exist any more

"C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections"

Does this folder exist ? What folders are within it - if it does exist?

Attaching a list of 53 collections that point to paths within this legacy data collections folder

Legacy Collections List (53 collections).txt

and there are 75 collections using the current data model for collections - list attached

Current Collections data mdel List (75 collections).txt

Of the 53 legacy collections, i cannot find these 8 as collections using the new data model

Comedy Collection [boxset]
Disney Classic Collection [boxset]
Disney Pixar Collection [boxset]
Dragonheart Collection [boxset]
Predator Collection [boxset]
Sherlock Holmes Collection [boxset]
Taken Collection [boxset]
The Twilight Saga Collection [boxset]

It is possibel that there was an issue during the migration of the legacy collections resulting in the data remaining in the database referencing the legacy data path folders - all 53 do refer to the legacy path

Maybe you have had these errors in the log all the time since May 2021

 

Posted
1 minute ago, sa2000 said:

@tanStaafl I have been looking at the database. I think the errors are to do with legacy collections items - dating back to May 2021 - pre Emby Server 4.6.0.

I am not sure at this point what the migration process was for collections pre version 4.6.0.50

These collections appear to link to the legacy data paths - to a parent folder which I presume does not exist any more

"C:\Users\Greg\AppData\Roaming\Emby-Server\data\collections"

Does this folder exist ? What folders are within it - if it does exist?

Attaching a list of 53 collections that point to paths within this legacy data collections folder

Legacy Collections List (53 collections).txt 1.75 kB · 0 downloads

and there are 75 collections using the current data model for collections - list attached

Current Collections data mdel List (75 collections).txt 1.8 kB · 0 downloads

Of the 53 legacy collections, i cannot find these 8 as collections using the new data model

Comedy Collection [boxset]
Disney Classic Collection [boxset]
Disney Pixar Collection [boxset]
Dragonheart Collection [boxset]
Predator Collection [boxset]
Sherlock Holmes Collection [boxset]
Taken Collection [boxset]
The Twilight Saga Collection [boxset]

It is possibel that there was an issue during the migration of the legacy collections resulting in the data remaining in the database referencing the legacy data path folders - all 53 do refer to the legacy path

Maybe you have had these errors in the log all the time since May 2021

 

Is this related with my issue? This seems like it needs a separate post @sa2000

  • Thanks 1
Posted (edited)

Disregard.

Edited by SShzin
Noticed different post.
Posted

Hi, yea this has something to do with the upgrade from older versions. I'm pretty sure the error in the log can just be ignored.

sa2000
Posted

Yes it appears to be harmless and caused by some migration / upgrade issue after May 2021. The error relating to the legacy collections set is being logged every 15 minutes

Only 8 of the 53 legacy collections do not appear in the new collections data model setup for the 75 active collections

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