Jump to content

How do I stop Emby from clearing out entire libraries after power loss


Recommended Posts

Posted (edited)

I'm running Emby using your Docker container on a host that is separate from my NAS.

I've had several times now where my home has lost power and I will absent-mindedly start my Emby container before my NAS has fully booted.  This results in Emby thinking there is no longer any media, therefore all the metadata and images for all of my libraries get erased.  Then, when the NAS gets powered back on, and I restart Emby, it now has to rebuild every library.  I have 46TB of movies and tv shows -- rebuilding the database can take over a day.  Not only that, it resets the "Date Added" value for everything, so now everything's "Date Added" value is right now, which is obviously unintended.

Is there a setting that exists or can be added to prevent Emby from clearing out a library in the event that a library has gone offline?

Edited by cnstarz
Happy2Play
Posted

@cnstarzWhat server version?

Happy2Play
Posted
4 minutes ago, cnstarz said:

@Happy2Play 4.7.11.0

Might be some changes in 4.8 but don't know the details.

 

Posted

We'd have to look at a specific example of this along with the Emby Server log, but I believe this will be improved with the upcoming 4.8 release.

Posted

@Luke  Here's the log from when I first lost power.

 

2023-02-01 05:41:53.166 Info Main: Application path: /system/EmbyServer.dll
2023-02-01 05:41:53.600 Info Main: Emby
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-137-generic (buildd@lcy02-amd64-009) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
2023-02-01 05:41:53.600 Info Main: Logs path: /config/logs
2023-02-01 05:41:53.600 Info Main: Cache path: /config/cache
2023-02-01 05:41:53.600 Info Main: Internal metadata path: /config/metadata
2023-02-01 05:41:53.601 Info Main: Transcoding temporary files path: /config/transcoding-temp
2023-02-01 05:41:53.650 Info App: Application version: 4.7.11.0
2023-02-01 05:41:53.653 Info App: Loading assemblies
2023-02-01 05:41:53.720 Info App: File /config/plugins/Emby.Dlna.dll has version 1.0.92.0
2023-02-01 05:41:53.724 Info App: File /system/plugins/Emby.Dlna.dll has version 1.0.91.0
2023-02-01 05:41:53.727 Info App: File /config/plugins/Emby.PortMapper.dll has version 1.1.8.0
2023-02-01 05:41:53.729 Info App: File /system/plugins/Emby.PortMapper.dll has version 1.1.8.0
2023-02-01 05:41:53.732 Info App: File /config/plugins/Fanart.dll has version 1.0.13.0
2023-02-01 05:41:53.735 Info App: File /system/plugins/Fanart.dll has version 1.0.13.0
2023-02-01 05:41:53.740 Info App: File /config/plugins/Emby.Server.CinemaMode.dll has version 1.0.40.0
2023-02-01 05:41:53.743 Info App: File /system/plugins/Emby.Server.CinemaMode.dll has version 1.0.40.0
2023-02-01 05:41:53.750 Info App: File /config/plugins/MovieDb.dll has version 1.6.2.0
2023-02-01 05:41:53.753 Info App: File /system/plugins/MovieDb.dll has version 1.6.2.0
2023-02-01 05:41:53.759 Info App: File /config/plugins/OpenSubtitles.dll has version 1.0.31.0
2023-02-01 05:41:53.762 Info App: File /system/plugins/OpenSubtitles.dll has version 1.0.31.0
2023-02-01 05:41:53.767 Info App: File /config/plugins/Emby.XmlTV.dll has version 1.0.9.0
2023-02-01 05:41:53.769 Info App: File /system/plugins/Emby.XmlTV.dll has version 1.0.9.0
2023-02-01 05:41:53.772 Info App: File /config/plugins/Emby.M3UTuner.dll has version 1.0.13.0
2023-02-01 05:41:53.774 Info App: File /system/plugins/Emby.M3UTuner.dll has version 1.0.13.0
2023-02-01 05:41:53.775 Info App: File /config/plugins/EmbyGuideData.dll has version 1.0.10.0
2023-02-01 05:41:53.777 Info App: File /system/plugins/EmbyGuideData.dll has version 1.0.10.0
2023-02-01 05:41:53.780 Info App: File /config/plugins/NfoMetadata.dll has version 1.0.70.0
2023-02-01 05:41:53.783 Info App: File /system/plugins/NfoMetadata.dll has version 1.0.70.0
2023-02-01 05:41:53.786 Info App: File /config/plugins/Tvdb.dll has version 1.3.4.0
2023-02-01 05:41:53.788 Info App: File /system/plugins/Tvdb.dll has version 1.3.3.0
2023-02-01 05:41:53.791 Info App: File /config/plugins/DvdMounter.dll has version 1.0.0.0
2023-02-01 05:41:53.794 Info App: File /system/plugins/DvdMounter.dll has version 1.0.0.0
2023-02-01 05:41:53.797 Info App: File /config/plugins/OMDb.dll has version 1.0.18.0
2023-02-01 05:41:53.800 Info App: File /system/plugins/OMDb.dll has version 1.0.18.0
2023-02-01 05:41:53.802 Info App: File /config/plugins/BlurayMounter.dll has version 1.0.0.0
2023-02-01 05:41:53.806 Info App: File /system/plugins/BlurayMounter.dll has version 1.0.0.0
2023-02-01 05:41:53.808 Info App: File /config/plugins/MusicBrainz.dll has version 1.0.22.0
2023-02-01 05:41:53.810 Info App: File /system/plugins/MusicBrainz.dll has version 1.0.22.0
2023-02-01 05:41:53.811 Info App: File /config/plugins/StudioImages.dll has version 1.0.3.0
2023-02-01 05:41:53.813 Info App: File /system/plugins/StudioImages.dll has version 1.0.3.0
2023-02-01 05:41:53.815 Info App: File /config/plugins/AudioDb.dll has version 1.0.16.0
2023-02-01 05:41:53.816 Info App: File /system/plugins/AudioDb.dll has version 1.0.16.0
2023-02-01 05:41:53.821 Info App: File /config/plugins/Emby.Webhooks.dll has version 1.0.25.0
2023-02-01 05:41:53.824 Info App: File /system/plugins/Emby.Webhooks.dll has version 1.0.25.0
2023-02-01 05:41:53.880 Info App: Loading Emby.Dlna, Version=1.0.92.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Dlna.dll
2023-02-01 05:41:53.880 Info App: Loading Emby.PortMapper, Version=1.1.8.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.PortMapper.dll
2023-02-01 05:41:53.880 Info App: Loading Fanart, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Fanart.dll
2023-02-01 05:41:53.880 Info App: Loading Emby.Server.CinemaMode, Version=1.0.40.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Server.CinemaMode.dll
2023-02-01 05:41:53.880 Info App: Loading MovieDb, Version=1.6.2.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MovieDb.dll
2023-02-01 05:41:53.880 Info App: Loading OpenSubtitles, Version=1.0.31.0, Culture=neutral, PublicKeyToken=null from /config/plugins/OpenSubtitles.dll
2023-02-01 05:41:53.880 Info App: Loading Emby.XmlTV, Version=1.0.9.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.XmlTV.dll
2023-02-01 05:41:53.880 Info App: Loading Emby.M3UTuner, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.M3UTuner.dll
2023-02-01 05:41:53.880 Info App: Loading EmbyGuideData, Version=1.0.10.0, Culture=neutral, PublicKeyToken=null from /config/plugins/EmbyGuideData.dll
2023-02-01 05:41:53.880 Info App: Loading AutoBoxSets, Version=1.2.6.0, Culture=neutral, PublicKeyToken=null from /config/plugins/AutoBoxSets.dll
2023-02-01 05:41:53.880 Info App: Loading NfoMetadata, Version=1.0.70.0, Culture=neutral, PublicKeyToken=null from /config/plugins/NfoMetadata.dll
2023-02-01 05:41:53.880 Info App: Loading statistics, Version=3.0.5.1, Culture=neutral, PublicKeyToken=null from /config/plugins/Statistics.dll
2023-02-01 05:41:53.880 Info App: Loading Tvdb, Version=1.3.4.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Tvdb.dll
2023-02-01 05:41:53.880 Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/DvdMounter.dll
2023-02-01 05:41:53.880 Info App: Loading EmbyReports, Version=1.0.44.0, Culture=neutral, PublicKeyToken=null from /config/plugins/EmbyReports.dll
2023-02-01 05:41:53.880 Info App: Loading OMDb, Version=1.0.18.0, Culture=neutral, PublicKeyToken=null from /config/plugins/OMDb.dll
2023-02-01 05:41:53.880 Info App: Loading BlurayMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/BlurayMounter.dll
2023-02-01 05:41:53.880 Info App: Loading MBBackup, Version=1.4.9.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MBBackup.dll
2023-02-01 05:41:53.880 Info App: Loading MusicBrainz, Version=1.0.22.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MusicBrainz.dll
2023-02-01 05:41:53.880 Info App: Loading StudioImages, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /config/plugins/StudioImages.dll
2023-02-01 05:41:53.880 Info App: Loading AudioDb, Version=1.0.16.0, Culture=neutral, PublicKeyToken=null from /config/plugins/AudioDb.dll
2023-02-01 05:41:53.880 Info App: Loading Emby.Webhooks, Version=1.0.25.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Webhooks.dll
2023-02-01 05:41:53.880 Info App: Loading MediaBrowser.Plugins.Anime, Version=1.5.3.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MediaBrowser.Plugins.Anime.dll
2023-02-01 05:41:53.880 Info App: Loading Emby.Api, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.Web, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading MediaBrowser.Model, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading MediaBrowser.Common, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading MediaBrowser.Controller, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.Providers, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.Photos, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.Server.Implementations, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.LiveTV, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.ActivityLog, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.Server.MediaEncoding, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.LocalMetadata, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.Notifications, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.Codecs.Dxva, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.Codecs, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.Server.Connect, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.880 Info App: Loading Emby.Server.Sync, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:53.881 Info App: Loading EmbyServer, Version=4.7.11.0, Culture=neutral, PublicKeyToken=null
2023-02-01 05:41:54.440 Info SqliteUserRepository: Sqlite version: 3.39.2
2023-02-01 05:41:54.441 Info SqliteUserRepository: Sqlite compiler options: ATOMIC_INTRINSICS=1,COMPILER=gcc-10.3.0,DEFAULT_AUTOVACUUM,DEFAULT_CACHE_SIZE=-2000,DEFAULT_FILE_FORMAT=4,DEFAULT_JOURNAL_SIZE_LIMIT=-1,DEFAULT_MMAP_SIZE=0,DEFAULT_PAGE_SIZE=4096,DEFAULT_PCACHE_INITSZ=20,DEFAULT_RECURSIVE_TRIGGERS,DEFAULT_SECTOR_SIZE=4096,DEFAULT_SYNCHRONOUS=2,DEFAULT_WAL_AUTOCHECKPOINT=1000,DEFAULT_WAL_SYNCHRONOUS=2,DEFAULT_WORKER_THREADS=0,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3,ENABLE_FTS3_PARENTHESIS,ENABLE_FTS3_TOKENIZER,ENABLE_FTS4,ENABLE_FTS5,ENABLE_GEOPOLY,ENABLE_MATH_FUNCTIONS,ENABLE_PREUPDATE_HOOK,ENABLE_RTREE,ENABLE_SESSION,ENABLE_UNLOCK_NOTIFY,ENABLE_UPDATE_DELETE_LIMIT,LIKE_DOESNT_MATCH_BLOBS,MALLOC_SOFT_LIMIT=1024,MAX_ATTACHED=10,MAX_COLUMN=2000,MAX_COMPOUND_SELECT=500,MAX_DEFAULT_PAGE_SIZE=8192,MAX_EXPR_DEPTH=1000,MAX_FUNCTION_ARG=127,MAX_LENGTH=1000000000,MAX_LIKE_PATTERN_LENGTH=50000,MAX_MMAP_SIZE=0x7fff0000,MAX_PAGE_COUNT=1073741823,MAX_PAGE_SIZE=65536,MAX_SCHEMA_RETRY=25,MAX_SQL_LENGTH=1000000000,MAX_TRIGGER_DEPTH=1000,MAX_VARIABLE_NUMBER=250000,MAX_VDBE_OP=250000000,MAX_WORKER_THREADS=8,MUTEX_PTHREADS,OMIT_LOOKASIDE,SECURE_DELETE,SYSTEM_MALLOC,TEMP_STORE=1,THREADSAFE=1
2023-02-01 05:41:54.441 Info SqliteUserRepository: Opening sqlite connection to /config/data/users.db
2023-02-01 05:41:54.595 Info SqliteUserRepository: Default journal_mode for /config/data/users.db is wal
2023-02-01 05:41:54.710 Info ActivityRepository: Opening sqlite connection to /config/data/activitylog.db
2023-02-01 05:41:54.773 Info ActivityRepository: Default journal_mode for /config/data/activitylog.db is wal
2023-02-01 05:41:54.780 Info SqliteDisplayPreferencesRepository: Opening sqlite connection to /config/data/displaypreferences.db
2023-02-01 05:41:54.802 Info NetworkManager: Detecting local network addresses
2023-02-01 05:41:54.802 Info NetworkManager: networkInterface: Ethernet eth0, Speed: 10000000000, Description: eth0
2023-02-01 05:41:54.802 Info NetworkManager: GatewayAddresses: 172.17.0.1
2023-02-01 05:41:54.803 Info NetworkManager: UnicastAddresses: 172.17.0.5
2023-02-01 05:41:54.803 Info NetworkManager: networkInterface: Loopback lo, Speed: -1, Description: lo
2023-02-01 05:41:54.803 Info NetworkManager: GatewayAddresses: 
2023-02-01 05:41:54.803 Info NetworkManager: UnicastAddresses: 127.0.0.1
2023-02-01 05:41:54.805 Info NetworkManager: Detected local ip addresses: 172.17.0.5, 127.0.0.1
2023-02-01 05:41:54.807 Info SqliteDisplayPreferencesRepository: Default journal_mode for /config/data/displaypreferences.db is wal
2023-02-01 05:41:54.822 Info App: Adding HttpListener prefix http://+:8096/
2023-02-01 05:41:55.171 Info AuthenticationRepository: Opening sqlite connection to /config/data/authentication.db
2023-02-01 05:41:55.191 Info AuthenticationRepository: Default journal_mode for /config/data/authentication.db is wal
2023-02-01 05:41:55.194 Info SqliteItemRepository: Opening sqlite connection to /config/data/library.db
2023-02-01 05:41:55.244 Info SqliteItemRepository: Default journal_mode for /config/data/library.db is wal
2023-02-01 05:41:55.245 Info SqliteItemRepository: cache_size is -98304
2023-02-01 05:41:55.245 Info SqliteItemRepository: page_size is 4096
2023-02-01 05:41:56.637 Info FfmpegManager: FFMpeg: /bin/ffmpeg
2023-02-01 05:41:56.638 Info FfmpegManager: FFProbe: /bin/ffprobe
2023-02-01 05:41:56.639 Info FfmpegManager: FFDetect: /bin/ffdetect
2023-02-01 05:41:56.651 Info Skia: SkiaSharp version: 2.80.0.0
2023-02-01 05:41:56.715 Info TaskManager: Daily trigger for Configuration Backup set to fire at 02/02/2023 00:10:00, which is 1108.054747585 minutes from now.
2023-02-01 05:41:56.717 Info TaskManager: Daily trigger for Thumbnail image extraction set to fire at 02/02/2023 02:00:00, which is 1218.0547022883334 minutes from now.
2023-02-01 05:41:57.100 Info TaskManager: Daily trigger for Rotate log file set to fire at 02/02/2023 00:00:00, which is 1098.0483176283333 minutes from now.
2023-02-01 05:41:57.156 Info App: ServerId: 9871b241e21f47f690d70a932b6d4a9a
2023-02-01 05:41:57.231 Info App: Starting entry point Emby.Dlna.Main.DlnaEntryPoint
2023-02-01 05:41:57.268 Info App: Entry point completed: Emby.Dlna.Main.DlnaEntryPoint. Duration: 0.0367091 seconds
2023-02-01 05:41:57.268 Info App: Starting entry point Emby.Server.Implementations.Networking.RemoteAddressEntryPoint
2023-02-01 05:41:57.269 Info App: Loading data from /config/data/wan.dat
2023-02-01 05:41:57.275 Info App: Entry point completed: Emby.Server.Implementations.Networking.RemoteAddressEntryPoint. Duration: 0.0072981 seconds
2023-02-01 05:41:57.275 Info App: Starting entry point Emby.Server.Connect.ConnectEntryPoint
2023-02-01 05:41:57.277 Info App: Loading data from /config/data/connect.txt
2023-02-01 05:41:57.278 Info App: Entry point completed: Emby.Server.Connect.ConnectEntryPoint. Duration: 0.0026361 seconds
2023-02-01 05:41:57.278 Info App: Core startup complete
2023-02-01 05:41:57.278 Info App: Post-init migrations complete
2023-02-01 05:41:57.278 Info App: Starting entry point Emby.PortMapper.ExternalPortForwarding
2023-02-01 05:41:57.279 Info App: Entry point completed: Emby.PortMapper.ExternalPortForwarding. Duration: 0.0007384 seconds
2023-02-01 05:41:57.279 Info App: Starting entry point Emby.Security.PluginSecurityManager
2023-02-01 05:41:57.279 Info App: Entry point completed: Emby.Security.PluginSecurityManager. Duration: 3.84E-05 seconds
2023-02-01 05:41:57.279 Info App: Starting entry point Emby.Server.CinemaMode.IntrosEntryPoint
2023-02-01 05:41:57.279 Info App: Entry point completed: Emby.Server.CinemaMode.IntrosEntryPoint. Duration: 0.0001138 seconds
2023-02-01 05:41:57.279 Info App: Starting entry point NfoMetadata.EntryPoint
2023-02-01 05:41:57.280 Info App: Entry point completed: NfoMetadata.EntryPoint. Duration: 0.0004795 seconds
2023-02-01 05:41:57.280 Info App: Starting entry point Tvdb.EntryPoint
2023-02-01 05:41:57.280 Info App: Entry point completed: Tvdb.EntryPoint. Duration: 3.9E-05 seconds
2023-02-01 05:41:57.280 Info App: Starting entry point MBBackup.ServerEntryPoint
2023-02-01 05:41:57.280 Info App: Entry point completed: MBBackup.ServerEntryPoint. Duration: 3.26E-05 seconds
2023-02-01 05:41:57.280 Info App: Starting entry point Emby.Notifications.NotificationManager
2023-02-01 05:41:57.287 Info NotificationManager: Registering event nofitier Webhooks
2023-02-01 05:41:57.293 Info App: Entry point completed: Emby.Notifications.NotificationManager. Duration: 0.0134562 seconds
2023-02-01 05:41:57.293 Info App: Starting entry point Emby.Webhooks.ConfigurationUpgradeEntryPoint
2023-02-01 05:41:57.297 Info App: Entry point completed: Emby.Webhooks.ConfigurationUpgradeEntryPoint. Duration: 0.0037892 seconds
2023-02-01 05:41:57.297 Info App: Starting entry point Emby.Api.ApiEntryPoint
2023-02-01 05:41:57.297 Info App: Entry point completed: Emby.Api.ApiEntryPoint. Duration: 4.18E-05 seconds
2023-02-01 05:41:57.297 Info App: Starting entry point Emby.Server.Implementations.Udp.UdpServerEntryPoint
2023-02-01 05:41:57.300 Info App: Entry point completed: Emby.Server.Implementations.Udp.UdpServerEntryPoint. Duration: 0.0030013 seconds
2023-02-01 05:41:57.300 Info App: Starting entry point Emby.Server.Implementations.Library.DeviceAccessEntryPoint
2023-02-01 05:41:57.301 Info App: Entry point completed: Emby.Server.Implementations.Library.DeviceAccessEntryPoint. Duration: 0.0004278 seconds
2023-02-01 05:41:57.301 Info App: Starting entry point Emby.Server.Implementations.IO.LibraryMonitorStartup
2023-02-01 05:41:57.347 Info LibraryMonitor: Skipping realtime monitor for /mnt/media/misc because the path is currently not available
2023-02-01 05:41:57.347 Info LibraryMonitor: Skipping realtime monitor for /mnt/media/movies-uhd because the path is currently not available
2023-02-01 05:41:57.347 Info App: Entry point completed: Emby.Server.Implementations.IO.LibraryMonitorStartup. Duration: 0.0466756 seconds
2023-02-01 05:41:57.347 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.AutomaticRestartEntryPoint
2023-02-01 05:41:57.348 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.AutomaticRestartEntryPoint. Duration: 0.0007599 seconds
2023-02-01 05:41:57.348 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.KeepServerAwake
2023-02-01 05:41:57.349 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.KeepServerAwake. Duration: 0.0002917 seconds
2023-02-01 05:41:57.349 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.LibraryChangedNotifier
2023-02-01 05:41:57.351 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.LibraryChangedNotifier. Duration: 0.0024934 seconds
2023-02-01 05:41:57.351 Info LibraryMonitor: Watching directory /mnt/media/tv
2023-02-01 05:41:57.351 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.ServerEventNotifier
2023-02-01 05:41:57.351 Info LibraryMonitor: Watching directory /mnt/media/movies
2023-02-01 05:41:57.354 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.ServerEventNotifier. Duration: 0.0023422 seconds
2023-02-01 05:41:57.354 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.StartupWizard
2023-02-01 05:41:57.354 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.StartupWizard. Duration: 0.0003117 seconds
2023-02-01 05:41:57.354 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.SystemEvents
2023-02-01 05:41:57.354 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.SystemEvents. Duration: 0.0003938 seconds
2023-02-01 05:41:57.354 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.UserDataChangeNotifier
2023-02-01 05:41:57.355 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.UserDataChangeNotifier. Duration: 0.0001119 seconds
2023-02-01 05:41:57.355 Info App: Starting entry point Emby.Server.Implementations.Channels.ChannelsEntryPoint
2023-02-01 05:41:57.357 Info App: Entry point completed: Emby.Server.Implementations.Channels.ChannelsEntryPoint. Duration: 0.0022576 seconds
2023-02-01 05:41:57.357 Info App: Starting entry point Emby.LiveTV.EntryPoint
2023-02-01 05:41:57.360 Info LiveTV: Loading live tv data from /config/data/livetv/timers
2023-02-01 05:41:57.380 Info App: Entry point completed: Emby.LiveTV.EntryPoint. Duration: 0.0229145 seconds
2023-02-01 05:41:57.380 Info App: Starting entry point Emby.LiveTV.UpgradeChannelOptionsEntryPoint
2023-02-01 05:41:57.381 Info App: Entry point completed: Emby.LiveTV.UpgradeChannelOptionsEntryPoint. Duration: 0.0013177 seconds
2023-02-01 05:41:57.381 Info App: Starting entry point Emby.LiveTV.RecordingNotifier
2023-02-01 05:41:57.382 Info App: Entry point completed: Emby.LiveTV.RecordingNotifier. Duration: 0.0006051 seconds
2023-02-01 05:41:57.382 Info App: Starting entry point Emby.ActivityLog.ActivityLogEntryPoint
2023-02-01 05:41:57.383 Info App: Entry point completed: Emby.ActivityLog.ActivityLogEntryPoint. Duration: 0.0013924 seconds
2023-02-01 05:41:57.383 Info App: Starting entry point Emby.Server.MediaEncoding.Api.EncodingManagerEntryPoint
2023-02-01 05:42:00.121 Info HttpClient: GET https://www.mb3admin.com/admin/service/EmbyPackages.json
2023-02-01 05:42:00.164 Info FfmpegManager: ProcessRun 'ffmpeg -hide_banner -version' Execute: /bin/ffmpeg -hide_banner -version
2023-02-01 05:42:00.218 Info FfmpegManager: ProcessRun 'ffmpeg -hide_banner -version' Process exited with code 0 - Succeeded
2023-02-01 05:42:00.381 Info SoftwareCodecProvider: h264, libx264, x264 Software Encoder, V-E-libx264
2023-02-01 05:42:00.381 Info SoftwareCodecProvider: hevc, libx265, x265 Software Encoder, V-E-libx265
2023-02-01 05:42:00.381 Info SoftwareCodecProvider: mpeg4, mpeg4, MPEG-4 part 2 Software Encoder, V-E-mpeg4
2023-02-01 05:42:00.381 Info SoftwareCodecProvider: msmpeg4v3, msmpeg4, MPEG-4 part 2 (MS Variant 3) Software Encoder, V-E-msmpeg4
2023-02-01 05:42:00.381 Info SoftwareCodecProvider: vp8, libvpx, libvpx VP8, V-E-libvpx
2023-02-01 05:42:00.383 Info SoftwareCodecProvider: h264, libx264, x264 Software Encoder, V-E-libx264
2023-02-01 05:42:00.383 Info SoftwareCodecProvider: hevc, libx265, x265 Software Encoder, V-E-libx265
2023-02-01 05:42:00.383 Info SoftwareCodecProvider: mpeg4, mpeg4, MPEG-4 part 2 Software Encoder, V-E-mpeg4
2023-02-01 05:42:00.383 Info SoftwareCodecProvider: msmpeg4v3, msmpeg4, MPEG-4 part 2 (MS Variant 3) Software Encoder, V-E-msmpeg4
2023-02-01 05:42:00.383 Info SoftwareCodecProvider: vp8, libvpx, libvpx VP8, V-E-libvpx
2023-02-01 05:42:00.397 Info VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Execute: /bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json 
2023-02-01 05:42:00.418 Info VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Process exited with code 0 - Succeeded
2023-02-01 05:42:00.493 Info VaapiCodecProvider: Adapter #0: 'GM107 GeForce GTX 750 Ti' Id:4992 (Driver: , Vendor: NVIDIA Corporation)
2023-02-01 05:42:00.497 Info QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Execute: /bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 qsvencdec -print_format json 
2023-02-01 05:42:00.513 Info QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Process exited with code 0 - Succeeded
2023-02-01 05:42:00.573 Info NvidiaCodecProvider: ProcessRun 'ffdetect_nvencdec' Execute: /bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 nvencdec -print_format json 
2023-02-01 05:42:00.956 Info NvidiaCodecProvider: ProcessRun 'ffdetect_nvencdec' Process exited with code 0 - Succeeded
2023-02-01 05:42:01.022 Info NvidiaCodecProvider: Adapter #0: 'NVIDIA GeForce GTX 750 Ti' ComputeCapability: 5.0
2023-02-01 05:42:01.252 Info CodecManager: CodecList:
	Decoders
	   mpeg2video
	         CUVID NVIDIA GeForce GTX 750 Ti - MPEG-2
	         NVDEC NVIDIA GeForce GTX 750 Ti - MPEG-2
	   vc1
	         NVDEC NVIDIA GeForce GTX 750 Ti - VC-1
	   h264
	         CUVID NVIDIA GeForce GTX 750 Ti - H.264 (AVC)
	         NVDEC NVIDIA GeForce GTX 750 Ti - H.264 (AVC)
	Encoders
	   h264
	         NVENC NVIDIA GeForce GTX 750 Ti - H.264 (AVC)
2023-02-01 05:42:01.420 Info App: Entry point completed: Emby.Server.MediaEncoding.Api.EncodingManagerEntryPoint. Duration: 4.0363316 seconds
2023-02-01 05:42:01.420 Info App: Starting entry point Emby.Notifications.Notifications
2023-02-01 05:42:01.420 Info App: Entry point completed: Emby.Notifications.Notifications. Duration: 0.0005013 seconds
2023-02-01 05:42:01.420 Info App: Starting entry point Emby.Server.Sync.SyncManagerEntryPoint
2023-02-01 05:42:01.426 Info App: SyncRepository Initialize taking write lock
2023-02-01 05:42:01.426 Info App: SyncRepository Initialize write lock taken
2023-02-01 05:42:01.426 Info App: Entry point completed: Emby.Server.Sync.SyncManagerEntryPoint. Duration: 0.0054881 seconds
2023-02-01 05:42:01.426 Info App: Starting entry point Emby.Server.Sync.SyncNotificationEntryPoint
2023-02-01 05:42:01.428 Info App: Entry point completed: Emby.Server.Sync.SyncNotificationEntryPoint. Duration: 0.0023728 seconds
2023-02-01 05:42:01.428 Info App: Starting entry point EmbyServer.Windows.LoopUtilEntryPoint
2023-02-01 05:42:01.428 Info App: Entry point completed: EmbyServer.Windows.LoopUtilEntryPoint. Duration: 0.0001447 seconds
2023-02-01 05:42:01.428 Info App: All entry points have started
2023-02-01 05:42:57.106 Info LibraryMonitor: Stopping directory watching for path /mnt/media/tv
2023-02-01 05:42:57.107 Info LibraryMonitor: Stopping directory watching for path /mnt/media/movies
2023-02-01 05:42:57.283 Error App: Error in AddResolvedExtras for misc 0 /mnt/media/misc
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-137-generic (buildd@lcy02-amd64-009) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/misc'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService)
	   at Emby.Server.Implementations.Library.LibraryManager.AddResolvedExtras(BaseItem item, IDirectoryService directoryService)
	Source: System.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	
2023-02-01 05:42:57.286 Error App: Error in AddResolvedExtras for movies-uhd 0 /mnt/media/movies-uhd
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-137-generic (buildd@lcy02-amd64-009) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/movies-uhd'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService)
	   at Emby.Server.Implementations.Library.LibraryManager.AddResolvedExtras(BaseItem item, IDirectoryService directoryService)
	Source: System.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	
2023-02-01 05:42:57.356 Error App: Error getting files from /mnt/media/misc
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-137-generic (buildd@lcy02-amd64-009) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/misc'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetFiles(String[] paths, Boolean throwOnException, IDirectoryService directoryService)
	Source: System.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	
2023-02-01 05:42:57.364 Error App: Error getting files from /mnt/media/movies-uhd
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-137-generic (buildd@lcy02-amd64-009) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/movies-uhd'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetFiles(String[] paths, Boolean throwOnException, IDirectoryService directoryService)
	Source: System.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	
2023-02-01 05:42:57.371 Error App: Error getting files from /mnt/media/misc
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-137-generic (buildd@lcy02-amd64-009) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/misc'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetFiles(String[] paths, Boolean throwOnException, IDirectoryService directoryService)
	Source: System.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	
2023-02-01 05:42:57.372 Error App: Error getting files from /mnt/media/movies-uhd
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-137-generic (buildd@lcy02-amd64-009) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/movies-uhd'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetFiles(String[] paths, Boolean throwOnException, IDirectoryService directoryService)
	Source: System.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	
2023-02-01 05:42:57.378 Error App: Error in AddResolvedExtras for misc 0 /mnt/media/misc
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-137-generic (buildd@lcy02-amd64-009) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/misc'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService)
	   at Emby.Server.Implementations.Library.LibraryManager.AddResolvedExtras(BaseItem item, IDirectoryService directoryService)
	Source: System.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	
2023-02-01 05:42:57.379 Error App: Error in AddResolvedExtras for movies-uhd 0 /mnt/media/movies-uhd
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-137-generic (buildd@lcy02-amd64-009) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/movies-uhd'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService)
	   at Emby.Server.Implementations.Library.LibraryManager.AddResolvedExtras(BaseItem item, IDirectoryService directoryService)
	Source: System.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	
2023-02-01 05:42:57.496 Info App: Removing item from database, Type: Series, Name: Better Call Saul Presents: Slippin' Jimmy, Path: /mnt/media/tv/Better Call Saul Presents - Slippin' Jimmy (2022) [imdbid-tt20516438], Id: 423022
2023-02-01 05:42:57.871 Info App: Deleting path /config/metadata/library/6b/6b6e078cec66b031c18e405d0ee4f4a7
2023-02-01 05:42:57.873 Info App: Deleting path /config/metadata/library/36/36d1a7868c89c3260d87f082c156e45f
2023-02-01 05:42:57.875 Info App: Deleting path /config/metadata/library/ea/ea19520f880c396b6176267e2b64a307
2023-02-01 05:42:57.876 Info App: Deleting path /config/metadata/library/f8/f8431eb7aaa69d26650eb917ce1a8048
2023-02-01 05:42:57.878 Info App: Deleting path /config/metadata/library/2a/2a4a8d5e36ffa900ebf94815d868a8ef
2023-02-01 05:42:57.880 Info App: Deleting path /config/metadata/library/8e/8e05a56432c47faab8bc756f9f9d6921
2023-02-01 05:42:57.880 Info App: Deleting path /config/metadata/library/ff/ffedf30159721d11cd82966de0d501f2
2023-02-01 05:42:57.882 Info App: Deleting path /config/metadata/library/de/defe4b511f9d82dd914bac47b695de42
2023-02-01 05:42:57.886 Info App: Removing item from database, Type: Series, Name: Devil in Ohio, Path: /mnt/media/tv/Devil in Ohio (2022) [imdbid-tt15432016], Id: 423023
2023-02-01 05:42:57.953 Info App: Deleting path /config/metadata/library/1a/1a1321bba1544c6f4cd08ec5a04ec779
2023-02-01 05:42:57.956 Info App: Deleting path /config/metadata/library/c6/c64c95c6de0c3b5e1940acd815312252
2023-02-01 05:42:57.959 Info App: Deleting path /config/metadata/library/f7/f78ed01f9caac3055e5a6c0d13ac2386
2023-02-01 05:42:57.960 Info App: Deleting path /config/metadata/library/4f/4f274acb23e204d8a4995e103b6113c9
2023-02-01 05:42:57.961 Info App: Deleting path /config/metadata/library/91/91211682f341090af84e07080c599a3d
2023-02-01 05:42:57.963 Info App: Deleting path /config/metadata/library/ad/ad2608489641577b845de634bde679e3
2023-02-01 05:42:57.964 Info App: Deleting path /config/metadata/library/b6/b6ad7843bfeef9a3b65d078301be1d7e
2023-02-01 05:42:57.965 Info App: Deleting path /config/metadata/library/e2/e20317a4b3b1d03a44a6b3640dcfa691
2023-02-01 05:42:57.967 Info App: Deleting path /config/metadata/library/be/beea80e5873481658371b46080ace6c7
2023-02-01 05:42:57.969 Info App: Deleting path /config/metadata/library/3b/3bf6a28d98cfa70b7d25a4d2f161159f

*******************************
*******************************
<snip 19,400 lines of the same "Removing item from database..." followed by "Deleting path /config/metadata/library...">
*******************************
*******************************

2023-02-01 05:43:30.219 Error BaseItem: Error validating children for misc 156748 /mnt/media/misc
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-137-generic (buildd@lcy02-amd64-009) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/misc'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService)
	   at MediaBrowser.Controller.Entities.Folder.GetNonCachedChildren(IDirectoryService directoryService, LibraryOptions libraryOptions)
	   at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService)
	   at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(BaseItem[] children, IDirectoryService directoryService, IProgress`1 progress, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	
2023-02-01 05:43:30.314 Error BaseItem: Error validating children for movies-uhd 267329 /mnt/media/movies-uhd
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-137-generic (buildd@lcy02-amd64-009) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 20
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/movies-uhd'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService)
	   at MediaBrowser.Controller.Entities.Folder.GetNonCachedChildren(IDirectoryService directoryService, LibraryOptions libraryOptions)
	   at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService)
	   at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(BaseItem[] children, IDirectoryService directoryService, IProgress`1 progress, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	
2023-02-01 05:43:30.750 Info App: Removing item from database, Type: Movie, Name: Jeffrey Dahmer: Mind of a Monster, Path: /mnt/media/movies/Jeffrey Dahmer Mind of a Monster (2020)/Jeffrey Dahmer-Mind of a Monster (2020) [1080p].mkv, Id: 441052
2023-02-01 05:43:30.767 Info App: Deleting path /config/metadata/library/fb/fb806e9536aaead9663931cf6c9800e4
2023-02-01 05:43:30.768 Info App: Removing item from database, Type: Movie, Name: Three Billboards Outside Ebbing, Missouri, Path: /mnt/media/movies/Three Billboards Outside Ebbing, Missouri (2017)/Three Billboards Outside Ebbing, Missouri (2017) [Bluray-1080p].mkv, Id: 441053
2023-02-01 05:43:30.785 Info App: Deleting path /config/metadata/library/e1/e1f727f007f7af60d30d06cef224da5e
2023-02-01 05:43:30.786 Info App: Removing item from database, Type: Movie, Name: Killing Them Softly, Path: /mnt/media/movies/Killing Them Softly (2012)/Killing Them Softly (2012) [Bluray-1080p].mkv, Id: 441054
2023-02-01 05:43:30.803 Info App: Deleting path /config/metadata/library/59/592efa359e4c0cb0f31e5e76c3713e7f
2023-02-01 05:43:30.804 Info App: Removing item from database, Type: Movie, Name: Weekend at Bernie's, Path: /mnt/media/movies/Weekend at Bernie's (1989)/Weekend at Bernie's (1989) [Bluray-1080p].mp4, Id: 441057
2023-02-01 05:43:30.819 Info App: Deleting path /config/metadata/library/44/44c27aadb62a5be6df5e0b96fe2720a0
2023-02-01 05:43:30.821 Info App: Removing item from database, Type: Movie, Name: The Black Phone, Path: /mnt/media/movies/The Black Phone (2022)/The Black Phone (2022) [Bluray-1080p][EAC3 7.1][x264].mkv, Id: 441058
2023-02-01 05:43:30.838 Info App: Deleting path /config/metadata/library/66/66d0f2d3d79fb0985f519697cd7543b3
2023-02-01 05:43:30.839 Info App: Removing item from database, Type: Movie, Name: Power Rangers, Path: /mnt/media/movies/Power Rangers (2017)/Power Rangers (2017) [Bluray-1080p][AC3 5.1][x264].mkv, Id: 441059
2023-02-01 05:43:30.856 Info App: Deleting path /config/metadata/library/45/45eff62d9d254344f41524f7157640a2
2023-02-01 05:43:30.857 Info App: Removing item from database, Type: Movie, Name: Transporter 2, Path: /mnt/media/movies/Transporter 2 (2005)/Transporter 2 (2005) [1080p].mkv, Id: 441060
2023-02-01 05:43:30.870 Info App: Deleting path /config/metadata/library/fa/fad2835923fb77f498d433f0b5bf4ec2
2023-02-01 05:43:30.872 Info App: Removing item from database, Type: Movie, Name: Warrior, Path: /mnt/media/movies/Warrior (2011)/Warrior (2011) [Bluray-1080p][DTS 5.1][x264].mkv, Id: 441061
2023-02-01 05:43:30.888 Info App: Deleting path /config/metadata/library/2c/2c84ed4b51e749129c13f1f333b0973c
2023-02-01 05:43:30.889 Info App: Removing item from database, Type: Movie, Name: Suicide Squad: Hell to Pay, Path: /mnt/media/movies/Suicide Squad Hell to Pay (2018)/Suicide Squad Hell to Pay (2018) [Bluray-1080p].mkv, Id: 441062
2023-02-01 05:43:30.903 Info App: Deleting path /config/metadata/library/b2/b2ffd6b87703ce6efe21fcd5ea8531d7
2023-02-01 05:43:30.904 Info App: Removing item from database, Type: Movie, Name: Batman: Gotham Knight, Path: /mnt/media/movies/Batman Gotham Knight (2008)/Batman Gotham Knight (2008) [Remux-1080p].mkv, Id: 441063
2023-02-01 05:43:30.917 Info App: Deleting path /config/metadata/library/cd/cdb09fdc9e78a22d79c7cf78e964b981
2023-02-01 05:43:30.918 Info App: Removing item from database, Type: Movie, Name: Doctor Strange, Path: /mnt/media/movies/Doctor Strange (2016)/Doctor Strange (2016) [Bluray-1080p].mkv, Id: 441064
  
<snip 4k more lines of the same stuff>

 

  • 2 weeks later...
feerlessleadr
Posted

FYI - I had the same thing happen to me. Would love to see this improved in future versions. 

Posted

OK, I think this should be improved in the upcoming 4.8 server release. Thanks.

  • Thanks 1
feerlessleadr
Posted

Thanks @Luke . I'm assuming the improvment relates to this in the 4.8 release:

 

Quote
  • Stop scanning at the top of a library when it's unreachable

 

  • Thanks 1
  • 1 year later...
cnstarz
Posted (edited)

This happened again today.  House experienced a power outage last night.  My wife booted up the server before the NAS, resulting in Emby re-downloading all the metadata.

Version 4.8.8.0

embyserver.txt

Edited by cnstarz
darkassassin07
Posted

This is a direct result of how you structure your media/which folders you add to Embys libraries.

 

You want to add folders that are contained inside the mountpoint for the external NAS. Not the mountpoint itself.

 

 

For example: you have a mountpoint at /mnt/media

To that, you mount a share from the nas, so the folder now contains movies:

/mnt/media/Madagascar (2005)/<video files>

If you add /mnt/media to an emby library; when the NAS is not mounted, the folder '/mnt/media/ still exists, but is empty. Emby sees this empty folder and thinks you've deleted all the content that was in it, so it removes it from its database.

 

 

Now instead, mount a share that contains the structure /movies/Madagascar (2005)/<video files>, so you end up with:

/mnt/media/movies/Madagascar (2005)/<video files>

Then add /mnt/media/movies as your folder in emby.

 

With this structure, when your NAS isn't mounted, you're left with an empty /mnt/media folder. When emby scans this, it is completely unable to find the root folder '/mnt/media/movies', instead of finding that folder but empty. Emby will then recognize the root folder is missing entirely, assume it will be back, and not remove the media from its database.

 

 

 

As you are using docker, it's important to ensure the container sees the same behavior. Don't mount /mnt/media/movies to the container, mount /mmt/media then add the root folders (/mnt/media/movies) to Emby. If the root folders still exist when the mount isn't mounted, emby will see them as empty instead of missing and remove the content from its db.

  • Like 1
Q-Droid
Posted

This is a helpful tip for people who rely on external storage for their media. It can help prevent the loss of metadata but for many they might have to reorganize their media. And for most, they don't even know this is a problem until it hits them.

The real and permanent fix would be to allow for media to be missing without flagging it as permanently deleted. This is not a new problem and the team has had plenty of time to come up with a solution.

 

cnstarz
Posted (edited)
6 hours ago, darkassassin07 said:

This is a direct result of how you structure your media/which folders you add to Embys libraries.

 

You want to add folders that are contained inside the mountpoint for the external NAS. Not the mountpoint itself.

 

 

For example: you have a mountpoint at /mnt/media

To that, you mount a share from the nas, so the folder now contains movies:

/mnt/media/Madagascar (2005)/<video files>

If you add /mnt/media to an emby library; when the NAS is not mounted, the folder '/mnt/media/ still exists, but is empty. Emby sees this empty folder and thinks you've deleted all the content that was in it, so it removes it from its database.

 

 

Now instead, mount a share that contains the structure /movies/Madagascar (2005)/<video files>, so you end up with:

/mnt/media/movies/Madagascar (2005)/<video files>

Then add /mnt/media/movies as your folder in emby.

 

With this structure, when your NAS isn't mounted, you're left with an empty /mnt/media folder. When emby scans this, it is completely unable to find the root folder '/mnt/media/movies', instead of finding that folder but empty. Emby will then recognize the root folder is missing entirely, assume it will be back, and not remove the media from its database.

 

 

 

As you are using docker, it's important to ensure the container sees the same behavior. Don't mount /mnt/media/movies to the container, mount /mmt/media then add the root folders (/mnt/media/movies) to Emby. If the root folders still exist when the mount isn't mounted, emby will see them as empty instead of missing and remove the content from its db.

The docker container has only this volume which is the root of all my media:

--volume /mnt/nasdata/media:/mnt/media

 

Then in Emby, I added a 'Movies' library that points to

/mnt/media/movies

 

And a 'TV' library that points to

/mnt/media/tv

 

Sounds like I'm already doing what you're describing?image.thumb.png.788831499bf38ef9d7f2bd89c8892de3.png

 

image.thumb.png.c8fb96998c90b2c86e059d643a9485d0.png

Edited by cnstarz
guunter
Posted
57 minutes ago, cnstarz said:

The docker container has only this volume which is the root of all my media:

--volume /mnt/nasdata/media:/mnt/media

 

Then in Emby, I added a 'Movies' library that points to

/mnt/media/movies

 

And a 'TV' library that points to

/mnt/media/tv

 

Sounds like I'm already doing what you're describing?image.thumb.png.788831499bf38ef9d7f2bd89c8892de3.png

 

image.thumb.png.c8fb96998c90b2c86e059d643a9485d0.png

He’s talking about the appdata itself. It’s shown in Emby as /config. You need to make it persistent and point it to a folder. Ex.

- v /opt/appdata/emby:/config

lifes a whole lot easier if you get comfortable with a docker compose stack. They have ones made for emby at hub.docker.com like from Linuxserver.io group

  • Like 1
darkassassin07
Posted (edited)

Is the mountpoint /mnt/nasdata not empty when unmounted? Perhaps some of the folder structure was created at somepoint while the nas wasn't mounted.

 

I'm also not sure how the optional network share paths added in emby interact with this; I've never used those. May be irrelevant, may not.

 

 

I just now created a library as I described above using a usb stick as a test and my own docker setup. When I unmounted the usb, emby could no longer play the files from that library, but did not remove them after several library scans. Showing the error (in log) "Error validating children for movies /mnt/USB/movies" and "Could not find part of the path: /mnt/USB/movies"

To get things working again; I did find I had to restart the emby container after remounting the usb, to get docker itself to recognize that mount had returned. Rescanning the media resulted in no changes and everything could be played once more.

Edited by darkassassin07
darkassassin07
Posted
7 minutes ago, guunter said:

He’s talking about the appdata itself. It’s shown in Emby as /config. You need to make it persistent and point it to a folder. Ex.

- v /opt/appdata/emby:/config

lifes a whole lot easier if you get comfortable with a docker compose stack. They have ones made for emby at hub.docker.com like from Linuxserver.io group

While I hadn't been talking about appdata, that is a great point.

If you truly only have the one volume, you definitely need to add a second for the config directory.

cnstarz
Posted
5 hours ago, guunter said:

He’s talking about the appdata itself. It’s shown in Emby as /config. You need to make it persistent and point it to a folder. Ex.

- v /opt/appdata/emby:/config

lifes a whole lot easier if you get comfortable with a docker compose stack. They have ones made for emby at hub.docker.com like from Linuxserver.io group

 

Hey now, I ain't no psychopath that doesn't include a volume for /config. I do also have a volume for /config, I just didn't mention it cuz it doesn't hold my media, lmao.

 

5 hours ago, darkassassin07 said:

Is the mountpoint /mnt/nasdata not empty when unmounted? Perhaps some of the folder structure was created at somepoint while the nas wasn't mounted.

 

 

I will have to play with this a little bit and find out

Posted
5 hours ago, cnstarz said:

 

Hey now, I ain't no psychopath that doesn't include a volume for /config. I do also have a volume for /config, I just didn't mention it cuz it doesn't hold my media, lmao.

 

I will have to play with this a little bit and find out

Let us know how this goes. Thanks.

guunter
Posted
7 hours ago, cnstarz said:

 

Hey now, I ain't no psychopath that doesn't include a volume for /config. I do also have a volume for /config, I just didn't mention it cuz it doesn't hold my media, lmao.

 

I will have to play with this a little bit and find out

Just wanted to make sure. What is your scheduled tasks for scanning library? If you use a ARR stack theres no need to leave scanning library at intervals turned on. The ARR stack can tell emby when to scan for changes. But if you dont use the ARR stack im out of ideas.

cnstarz
Posted
1 minute ago, guunter said:

Just wanted to make sure. What is your scheduled tasks for scanning library? If you use a ARR stack theres no need to leave scanning library at intervals turned on. The ARR stack can tell emby when to scan for changes. But if you dont use the ARR stack im out of ideas.

I do use two instances of radarr and an instance of sonarr, so now I'm curious what setting I missed in them that tells emby to scan. It seems familiar, like the feature wasn't working or doesn't work with network shares or something. I'll have to dig into it.

guunter
Posted
6 hours ago, cnstarz said:

I do use two instances of radarr and an instance of sonarr, so now I'm curious what setting I missed in them that tells emby to scan. It seems familiar, like the feature wasn't working or doesn't work with network shares or something. I'll have to dig into it.

In Settings -> Connect

The Update Library check mark should be telling Emby there is something new and it should scan it.

 

image.png.cdd022a1c0e39b060b412e041275fc03.png

cnstarz
Posted

Oh yep, I have that checked.  But I think there's an issue with the internal paths because the *arr containers have an internal mount of /nasdata while emby has an internal mount of /mnt/media, so it doesn't work.  I tried updating the 'Map Paths From' field to '/nasdata/media' and the 'Map Paths To' field to '/mnt/media', but emby doesn't do anything when a new episode is imported, renamed, or deleted.

Posted

Ok let us know if you find anything. Thanks.

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