Jump to content

The function of scanning media library files is not available


Recommended Posts

FrostByte
Posted

RTM is not working on your system because you have maxed out your inotify watches.  

From your log:

System.IO.IOException: System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.

 

Increase your watches and try adding something new again.  For the other stuff you added, once RTM has looked for new files (even if it failed) the flag has already been erased, and you will then need to do a manual scan of those files to add them to Emby.

 

Happy2Play
Posted

@FrostByteRTM is an issue but not an issue for the manual scans as there is a database issue.

2025-07-22 13:50:05.410 Info App: Sqlite: 1 - no such tokenizer: simple in "insert into fts_search9 (RowId, Name, OriginalTitle, SeriesName, Album) values (@Id,@Name,@OriginalTitle,@SeriesName,@Album)"
2025-07-22 13:50:05.410 Error SqliteItemRepository: Error saving items
	*** Error Report ***
	Version: 4.8.11.0
	Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk -noautorunwebapp
	Operating system: Linux version 5.10.55+ (root@build7) (x86_64-pc-linux-gnu-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.38) #69057 SMP Fri Jan 12 17:02:57 CST 2024
	Framework: .NET 6.0.36
	OS/Process: x64/x64
	Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
	Processor count: 6
	Data path: /var/packages/EmbyServer/var
	Application path: /volume1/@appstore/EmbyServer/system
	SQLitePCL.pretty.SQLiteException: Error: no such tokenizer: simple - insert into fts_search9 (RowId, Name, OriginalTitle, SeriesName, Album) values (@Id,@Name,@OriginalTitle,@SeriesName,@Album)
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, ReadOnlySpan`1& tail)
	   at SQLitePCL.pretty.DatabaseConnection.PrepareStatement(IDatabaseConnection This, String sql)
	   at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItemsInTranscation(IDatabaseConnection db, List`1 tuples, MetadataRefreshOptions metadataRefreshOptions)
	   at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(List`1 items, MetadataRefreshOptions metadataRefreshOptions, Action`1 afterSave, Boolean disableForeignKeys, CancellationToken cancellationToken)
	Source: SQLitePCL.pretty
	TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.ReadOnlySpan`1[System.Byte] ByRef)

Looking at other topics looks an issue with strmassistant.

Possible solution over here

 

OT: you need to look a your certificate applied to this server.

 

System.Security.Cryptography.CryptographicException: The certificate data cannot be read with the provided password, the password may be incorrect.

 

  • Like 1
Posted

I really appreciate your help. I spent half a day studying today and found the problem. It should be caused by the permissions of the tmp folder of the Synology system. It may be because my Synology system restarted and caused the permissions of the tmp folder to be lost.

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