Jump to content

Error ChannelManager: Error creating channel


K22R8CT

Recommended Posts

K22R8CT

I'm seeing this error in my logs. Any easy way to fix it?

This is on Mac but it doesn't seem Mac-specific.

2019-04-24 15:24:54.577 Info TaskManager: IntervalTrigger fired for task: Refresh Internet Channels
2019-04-24 15:24:54.577 Info TaskManager: Queueing task RefreshChannelsScheduledTask
2019-04-24 15:24:54.577 Info TaskManager: Executing Refresh Internet Channels
2019-04-24 15:24:54.585 Error ChannelManager: Error creating channel
	*** Error Report ***
	Version: 4.1.0.26
	Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll -noautorunwebapp
	Operating system: Unix 17.7.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll
	Processor count: 2
	Program data path: /Users/default/.config/emby-server
	Application directory: /Applications/EmbyServer.app/Contents/MacOS
	SQLitePCL.pretty.SQLiteException: Constraint: FOREIGN KEY constraint failed
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at Emby.Server.Implementations.Data.SqliteItemRepository.UpdateAncestors(Int64 itemId, List`1 ancestorIds, IDatabaseConnection db, IStatement deleteAncestorsStatement)
	   at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItemsInTranscation(IDatabaseConnection db, List`1 tuples)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(List`1 items, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.LibraryManager.CreateItems(List`1 items, BaseItem parent, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.LibraryManager.CreateItem(BaseItem item, BaseItem parent)
	   at Emby.Server.Implementations.Channels.ChannelManager.GetChannel(IChannel channelInfo, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Channels.ChannelManager.GetChannelEntity(IChannel channel, CancellationToken cancellationToken)
	Source: SQLitePCL.pretty
	TargetSite: Void CheckOk(SQLitePCL.sqlite3, Int32)
Link to comment
Share on other sites

Hi, yes I've seen a few reports of this but I'm still trying to chase down the cause. Thanks.

  • Like 1
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...