rcanpolat 5 Posted August 20, 2023 Posted August 20, 2023 Im running Emby on my Unraid server, I was using the docker repo emby/embyserver:4.8.0.39 A few months ago i changed from emby/embyserver:latest to beta and encountered some issues, when i tried to go back to emby/embyserver:latest it kept failing to run Emby. My only way to get it to run is to specify a version and not use the latest tag. I was running emby/embyserver:4.8.0.39 and today I upgraded my version to emby/embyserver:4.8.0.39 but before doing so i swapped back to the 'latest' tag and got the below errors Any ideas? text error warn system array login Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Model, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Error App: LoaderException: Could not load file or assembly 'MediaBrowser.Controller, Version=4.8.0.27, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Info SqliteUserRepository: Sqlite version: 3.39.2 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 Info SqliteUserRepository: Opening sqlite connection to /config/data/users.db Info SqliteUserRepository: Default journal_mode for /config/data/users.db is wal Info ActivityRepository: Opening sqlite connection to /config/data/activitylog.db Info ActivityRepository: Default journal_mode for /config/data/activitylog.db is wal Info SqliteDisplayPreferencesRepository: Opening sqlite connection to /config/data/displaypreferences.db Info SqliteDisplayPreferencesRepository: Default journal_mode for /config/data/displaypreferences.db is wal Info NetworkManager: Detecting local network addresses Info NetworkManager: networkInterface: Ethernet eth0, Speed: 10000000000, Description: eth0 Info NetworkManager: GatewayAddresses: 172.18.0.1 Info NetworkManager: UnicastAddresses: 172.18.0.8 Info NetworkManager: networkInterface: Loopback lo, Speed: -1, Description: lo Info NetworkManager: GatewayAddresses: Info NetworkManager: UnicastAddresses: 127.0.0.1 Info NetworkManager: Detected local ip addresses: 172.18.0.8, 127.0.0.1 Info ServerConfigurationManager: Saving system configuration Info App: Adding HttpListener prefix http://+:8096/ Info AuthenticationRepository: Opening sqlite connection to /config/data/authentication.db Info AuthenticationRepository: Default journal_mode for /config/data/authentication.db is wal Info SqliteItemRepository: Opening sqlite connection to /config/data/library.db Info SqliteItemRepository: Default journal_mode for /config/data/library.db is wal Info SqliteItemRepository: cache_size is -524288 Info SqliteItemRepository: page_size is 4096 Error Main: Error in appHost.Init *** Error Report *** Version: 4.7.13.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 6.1.36-Unraid (root@Develop) (gcc (GCC) 12.2.0, GNU ld version 2.40-slack151) #1 SMP PREEMPT_DYNAMIC Wed Jun 28 07:51:54 PDT 2023 Framework: .NET 6.0.14 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 24 Data path: /config Application path: /system SQLitePCL.pretty.SQLiteException: Error: no such column: IsFolder - create index if not exists idx_MediaItems36 on MediaItems(SeriesPresentationUniqueKey,Type,IsFolder,IsVirtualItem) where SeriesPresentationUniqueKey not null;create index if not exists idx_MediaItems10 on MediaItems(Type,TopParentId,Id);create index if not exists idx_MediaItems11 on MediaItems(Type,TopParentId,PresentationUniqueKey);create index if not exists idx_MediaItems46 on MediaItems(TopParentId,IsVirtualItem) where TopParentId not null;create index if not exists idx_MediaItems47 on MediaItems(TopParentId,Type,IsVirtualItem,PresentationUniqueKey,DateCreated) where TopParentId not null;create index if not exists idx_MediaItems48 on MediaItems(TopParentId,IsFolder,IsVirtualItem,PresentationUniqueKey,DateCreated) where TopParentId not null;create index if not exists idx_MediaItems49 on MediaItems(TopParentId,MediaType,IsVirtualItem,PresentationUniqueKey) where TopParentId not null;create index if not exists idx_MediaItems50 on MediaItems(Type, TopParentId, AlbumId) where TopParentId not null;create index if not exists idx_MediaItems51 on MediaItems(Type,IsSeries) where Type=27;create index if not exists idxItemLinks_1 on ItemLinks(LinkedId, Type, ItemId) SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, String& tail) at SQLitePCL.pretty.DatabaseConnection.PrepareAllEnumerator(IDatabaseConnection This, String sql)+MoveNext() at SQLitePCL.pretty.DatabaseConnection.ExecuteAll(IDatabaseConnection This, String sql) at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, IUserManager userManager) at Emby.Server.Implementations.ApplicationHost.InitDatabases() at Emby.Server.Implementations.ApplicationHost.Init() at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken) Source: SQLitePCL.pretty TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.String ByRef) Info Main: Shutdown complete [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting. ** Press ANY KEY to close this window **
Q-Droid 989 Posted August 20, 2023 Posted August 20, 2023 Downgrading is not supported. Once you start the server with a later version database changes can be made that the older version doesn't support. The latest tag is for the stable release branch, currently 4.7.13.
rcanpolat 5 Posted August 20, 2023 Author Posted August 20, 2023 14 minutes ago, Q-Droid said: Downgrading is not supported. Once you start the server with a later version database changes can be made that the older version doesn't support. The latest tag is for the stable release branch, currently 4.7.13. So i just need to wait for 'latest' to catch up to my current release 4.8.0.42 and then i can hop back over to latest? Also how can you tell 'latest' is running 4.7.13 from here: https://hub.docker.com/r/emby/embyserver/tags
Q-Droid 989 Posted August 20, 2023 Posted August 20, 2023 The way I tell is by matching the digest and release dates. To get back on the stable branch you would have to wait for the next stable release which could be a long time. Other options may be (not sure if they all work) to make a backup of beta using the plug-in. Wipe and start from scratch on stable (latest). Then restore from the backup to bring in the config and users to 4.7.13. Make sure you prepare in advance by making a raw backup of the Emby data because I don't know what could be lost and not handled by the plug-in. If your library is large it can take a long time to rescan. Or, if your setup is not big and not many users just start from scratch - same applies for rescan time. All tracking and watch status would be lost. Going forward always have a raw backup of Emby data before going up or down in versions.
rcanpolat 5 Posted February 6, 2024 Author Posted February 6, 2024 (edited) 5 months later, I've finally been able to upgrade to the 'latest' tag. I've been trying on and off every 3-4 weeks since August 2023 and it kept failing until today! My Emby is now showing 4.8.0.80 Edited February 6, 2024 by rcanpolat
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now