EmbyPenguin 11 Posted June 24, 2023 Posted June 24, 2023 Hi, Trying to solve a problem where Emby would not play more than one selected file I uninstalled it and reinstalled it. I am running Arch with all updates applied... I installed Emby using sudo pacman -S emby-server and it installed emby 4.7.xxx I then ran "sudo systemctl start emby-server.service" and the thing resulted in no error. But then... nothing :-( Here is the ouput from terminal ; emby-server.service - Emby brings together your videos, music, photos, and live television. Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; preset: disabled) Active: inactive (dead) since Sat 2023-06-24 18:00:55 CEST; 26s ago Duration: 875ms Process: 640 ExecStart=/usr/bin/emby-server (code=exited, status=0/SUCCESS) Main PID: 640 (code=exited, status=0/SUCCESS) CPU: 642ms juin 24 18:00:55 eby emby-server[640]: at SQLitePCL.pretty.DatabaseConnection.ExecuteAll(IDatabaseConnection This, String sql) juin 24 18:00:55 eby emby-server[640]: at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, IUserManager> juin 24 18:00:55 eby emby-server[640]: at Emby.Server.Implementations.ApplicationHost.InitDatabases() juin 24 18:00:55 eby emby-server[640]: at Emby.Server.Implementations.ApplicationHost.Init() juin 24 18:00:55 eby emby-server[640]: at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken) juin 24 18:00:55 eby emby-server[640]: Source: SQLitePCL.pretty juin 24 18:00:55 eby emby-server[640]: TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.String ByRef) juin 24 18:00:55 eby emby-server[640]: juin 24 18:00:55 eby emby-server[640]: Info Main: Shutdown complete juin 24 18:00:55 eby systemd[1]: emby-server.service: Deactivated successfully. Anyone could help me out on this matter ?
TMCsw 165 Posted June 24, 2023 Posted June 24, 2023 Try (not sure if this is the proper path for Arch linux) cat /var/lib/emby/logs/embyserver.txt the last few lines should say why it aborted, otherwise How to report a problem 1
EmbyPenguin 11 Posted June 25, 2023 Author Posted June 25, 2023 Hi, Thanks a lot for the hint, but there is no "embyserver.txt" file anywhere in my system. I have 2 computers. Both loaded with Arch. One runs Emby flawlessly. The other does not. It is a wonderful world...
EmbyPenguin 11 Posted June 25, 2023 Author Posted June 25, 2023 (edited) OK. I have tried to re-install emby server : did not help. I have tried to remove every file called "emby" in my system and then re-installing emby-server : even worse because it did not even load the service. So I simply removed everything again, and installed the "Snap" packages : "emby-server" and "emby-theater". Launched "emby-theater" from within my list of installed apps. Seems to work like a charm. Nothing to do... not even enabling the thing. I always wonder how it comes a Snap works better than the original file, but to be honest, as long as it works, I will not spend time digging this out... Edited June 25, 2023 by EmbyPenguin
EmbyPenguin 11 Posted June 25, 2023 Author Posted June 25, 2023 Hi again, OK... Forget about the "Works like a charm" part of my previous message. It worked. I updated all my library. I got a message "Restart emby server to apply updates". That is what I did. I restarted emby server. What I got is : nothing works anymore... This is too random and too difficult for me
EmbyPenguin 11 Posted June 25, 2023 Author Posted June 25, 2023 Sorry for all these posts. OK : so it seems that with the Snap version of emby, you can't restart the server. If you do it just stops the snap service for emby and you have to restart that manually in terminal. Which is of course SUPER inconvenient if you do it from a smartphone or something like that. The guys in charge of the snap package should look into this as I assume it can be solved pretty easily.
Q-Droid 854 Posted June 25, 2023 Posted June 25, 2023 9 hours ago, EmbyPenguin said: Hi, Thanks a lot for the hint, but there is no "embyserver.txt" file anywhere in my system. I have 2 computers. Both loaded with Arch. One runs Emby flawlessly. The other does not. It is a wonderful world... On the server with that is working browse to the Emby server settings -> Dashboard -> click on the 3-dot menu next to the server name -> View server info. If both servers are setup the same way then the displayed paths for file locations should also be the same on both. Look for the logs on the server that is not working.
EmbyPenguin 11 Posted June 25, 2023 Author Posted June 25, 2023 37 minutes ago, Q-Droid said: On the server with that is working browse to the Emby server settings -> Dashboard -> click on the 3-dot menu next to the server name -> View server info. If both servers are setup the same way then the displayed paths for file locations should also be the same on both. Look for the logs on the server that is not working. Hi, Many thanks ofr taking time to try to answer my question and solve my problem. I tried to do what you said but unfortunately (as I expected) it does not work. Because : - 1°) I can not even launch the server on second computer, so I can not compare set ups ; - 2°) the hard drive that cdontains the music is hooked up to the compûter that does not work and as such I can not set it as the volume containing the music library. I should mention that I had installed "emby-server-beta" package on the computer that is not working now. And that it used to work quite nicely until for some reason it stopped go to the next track. So I stopped the server, uninstalled it and re-installed the "non-beta" package. And that is the one not working... I thought it could be some kind of daemon that was still running but it seems it is not as it also happens after several reboots And I can not install the emby-server-beta package as it seems maintainer has not updated it So I am "stuck" with the Snap version, that works but can't be restarted on the fly.
Q-Droid 854 Posted June 25, 2023 Posted June 25, 2023 Downgrading from beta to stable release is not supported and will likely break. Too many backend changes that are incompatible. You don't need to compare the servers if you installed them the same way. The idea is to find out where the files are located by default so that you can get the logs from the failed one for evaluation. Unless you deviated from a typical installation those locations should be the same on both servers. I haven't used the snap package and don't know if they differ or how.
EmbyPenguin 11 Posted June 25, 2023 Author Posted June 25, 2023 Ah... OK. Skipped the part about locating the logs Will try to find out and report
EmbyPenguin 11 Posted June 25, 2023 Author Posted June 25, 2023 Hi, OK. found the place where the logs are and here is the log after trying to launch emby service. 2023-06-25 18:59:08.515 Info Main: Application path: /usr/lib/emby-server/EmbyServer.dll 2023-06-25 18:59:08.698 Info Main: Emby Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /var/lib/emby -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg-emby -ffprobe /usr/bin/ffprobe-emby -restartexitcode 3 Operating system: Linux version 6.1.35-1-lts (linux-lts@archlinux) (gcc (GCC) 13.1.1 20230429, GNU ld (GNU Binutils) 2.40.0) #1 SMP PREEMPT_DYNAMIC Wed, 21 Jun 2023 15: Framework: .NET 6.0.19 OS/Process: x64/x64 Runtime: usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.19/System.Private.CoreLib.dll Processor count: 8 Data path: /var/lib/emby Application path: /usr/lib/emby-server 2023-06-25 18:59:08.698 Info Main: Logs path: /var/lib/emby/logs 2023-06-25 18:59:08.698 Info Main: Cache path: /var/lib/emby/cache 2023-06-25 18:59:08.698 Info Main: Internal metadata path: /var/lib/emby/metadata 2023-06-25 18:59:08.698 Info Main: Transcoding temporary files path: /var/lib/emby/transcoding-temp 2023-06-25 18:59:08.724 Info App: Application version: 4.7.13.0 2023-06-25 18:59:08.726 Info App: Loading assemblies 2023-06-25 18:59:08.745 Info App: File /var/lib/emby/plugins/BlurayMounter.dll has version 1.0.0.0 2023-06-25 18:59:08.746 Info App: File /usr/lib/emby-server/plugins/BlurayMounter.dll has version 1.0.0.0 2023-06-25 18:59:08.746 Info App: File /var/lib/emby/plugins/AudioDb.dll has version 1.0.16.0 2023-06-25 18:59:08.746 Info App: File /usr/lib/emby-server/plugins/AudioDb.dll has version 1.0.16.0 2023-06-25 18:59:08.747 Info App: File /var/lib/emby/plugins/DvdMounter.dll has version 1.0.0.0 2023-06-25 18:59:08.747 Info App: File /usr/lib/emby-server/plugins/DvdMounter.dll has version 1.0.0.0 2023-06-25 18:59:08.748 Info App: File /var/lib/emby/plugins/EmbyGuideData.dll has version 1.0.10.0 2023-06-25 18:59:08.748 Info App: File /usr/lib/emby-server/plugins/EmbyGuideData.dll has version 1.0.10.0 2023-06-25 18:59:08.749 Info App: File /var/lib/emby/plugins/Emby.Server.CinemaMode.dll has version 1.0.40.0 2023-06-25 18:59:08.750 Info App: File /usr/lib/emby-server/plugins/Emby.Server.CinemaMode.dll has version 1.0.40.0 2023-06-25 18:59:08.750 Info App: File /var/lib/emby/plugins/OpenSubtitles.dll has version 1.0.31.0 2023-06-25 18:59:08.750 Info App: File /usr/lib/emby-server/plugins/OpenSubtitles.dll has version 1.0.31.0 2023-06-25 18:59:08.751 Info App: File /var/lib/emby/plugins/Emby.M3UTuner.dll has version 1.0.13.0 2023-06-25 18:59:08.751 Info App: File /usr/lib/emby-server/plugins/Emby.M3UTuner.dll has version 1.0.13.0 2023-06-25 18:59:08.752 Info App: File /var/lib/emby/plugins/Fanart.dll has version 1.0.13.0 2023-06-25 18:59:08.752 Info App: File /usr/lib/emby-server/plugins/Fanart.dll has version 1.0.13.0 2023-06-25 18:59:08.752 Info App: File /var/lib/emby/plugins/StudioImages.dll has version 1.0.3.0 2023-06-25 18:59:08.752 Info App: File /usr/lib/emby-server/plugins/StudioImages.dll has version 1.0.3.0 2023-06-25 18:59:08.755 Info App: File /var/lib/emby/plugins/MovieDb.dll has version 1.6.2.0 2023-06-25 18:59:08.755 Info App: File /usr/lib/emby-server/plugins/MovieDb.dll has version 1.6.2.0 2023-06-25 18:59:08.756 Info App: File /var/lib/emby/plugins/Emby.Dlna.dll has version 1.0.91.0 2023-06-25 18:59:08.756 Info App: File /usr/lib/emby-server/plugins/Emby.Dlna.dll has version 1.0.91.0 2023-06-25 18:59:08.757 Info App: File /var/lib/emby/plugins/Emby.PortMapper.dll has version 1.1.8.0 2023-06-25 18:59:08.757 Info App: File /usr/lib/emby-server/plugins/Emby.PortMapper.dll has version 1.1.8.0 2023-06-25 18:59:08.759 Info App: File /var/lib/emby/plugins/Tvdb.dll has version 1.3.3.0 2023-06-25 18:59:08.759 Info App: File /usr/lib/emby-server/plugins/Tvdb.dll has version 1.3.3.0 2023-06-25 18:59:08.760 Info App: File /var/lib/emby/plugins/Emby.Webhooks.dll has version 1.0.25.0 2023-06-25 18:59:08.760 Info App: File /usr/lib/emby-server/plugins/Emby.Webhooks.dll has version 1.0.25.0 2023-06-25 18:59:08.761 Info App: File /var/lib/emby/plugins/NfoMetadata.dll has version 1.0.70.0 2023-06-25 18:59:08.761 Info App: File /usr/lib/emby-server/plugins/NfoMetadata.dll has version 1.0.70.0 2023-06-25 18:59:08.762 Info App: File /var/lib/emby/plugins/MusicBrainz.dll has version 1.0.22.0 2023-06-25 18:59:08.762 Info App: File /usr/lib/emby-server/plugins/MusicBrainz.dll has version 1.0.22.0 2023-06-25 18:59:08.762 Info App: File /var/lib/emby/plugins/Emby.XmlTV.dll has version 1.0.9.0 2023-06-25 18:59:08.762 Info App: File /usr/lib/emby-server/plugins/Emby.XmlTV.dll has version 1.0.9.0 2023-06-25 18:59:08.763 Info App: File /var/lib/emby/plugins/OMDb.dll has version 1.0.18.0 2023-06-25 18:59:08.764 Info App: File /usr/lib/emby-server/plugins/OMDb.dll has version 1.0.18.0 2023-06-25 18:59:08.772 Info App: Loading BlurayMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/BlurayMounter.dll 2023-06-25 18:59:08.772 Info App: Loading AudioDb, Version=1.0.16.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/AudioDb.dll 2023-06-25 18:59:08.772 Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/DvdMounter.dll 2023-06-25 18:59:08.772 Info App: Loading EmbyGuideData, Version=1.0.10.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/EmbyGuideData.dll 2023-06-25 18:59:08.772 Info App: Loading Emby.Server.CinemaMode, Version=1.0.40.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.Server.CinemaMode.dll 2023-06-25 18:59:08.772 Info App: Loading OpenSubtitles, Version=1.0.31.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/OpenSubtitles.dll 2023-06-25 18:59:08.772 Info App: Loading Emby.M3UTuner, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.M3UTuner.dll 2023-06-25 18:59:08.772 Info App: Loading Fanart, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Fanart.dll 2023-06-25 18:59:08.772 Info App: Loading StudioImages, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/StudioImages.dll 2023-06-25 18:59:08.772 Info App: Loading MovieDb, Version=1.6.2.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/MovieDb.dll 2023-06-25 18:59:08.772 Info App: Loading Emby.Dlna, Version=1.0.91.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.Dlna.dll 2023-06-25 18:59:08.772 Info App: Loading Emby.PortMapper, Version=1.1.8.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.PortMapper.dll 2023-06-25 18:59:08.772 Info App: Loading Tvdb, Version=1.3.3.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Tvdb.dll 2023-06-25 18:59:08.772 Info App: Loading Emby.Webhooks, Version=1.0.25.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.Webhooks.dll 2023-06-25 18:59:08.772 Info App: Loading NfoMetadata, Version=1.0.70.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/NfoMetadata.dll 2023-06-25 18:59:08.772 Info App: Loading MusicBrainz, Version=1.0.22.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/MusicBrainz.dll 2023-06-25 18:59:08.772 Info App: Loading Emby.XmlTV, Version=1.0.9.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.XmlTV.dll 2023-06-25 18:59:08.772 Info App: Loading OMDb, Version=1.0.18.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/OMDb.dll 2023-06-25 18:59:08.772 Info App: Loading Emby.Api, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.Web, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading MediaBrowser.Model, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading MediaBrowser.Common, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading MediaBrowser.Controller, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.Providers, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.Photos, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.Server.Implementations, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.LiveTV, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.ActivityLog, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.Server.MediaEncoding, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.LocalMetadata, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.Notifications, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.Codecs.Dxva, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.Codecs, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.Server.Connect, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading Emby.Server.Sync, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.772 Info App: Loading EmbyServer, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-25 18:59:08.872 Info SqliteUserRepository: Sqlite version: 3.42.0 2023-06-25 18:59:08.873 Info SqliteUserRepository: Sqlite compiler options: ATOMIC_INTRINSICS=1,COMPILER=gcc-13.1.1 20230429,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_MATH_FUNCTIONS,ENABLE_RTREE,ENABLE_STMTVTAB,ENABLE_UNLOCK_NOTIFY,HAVE_ISNAN,MALLOC_SOFT_LIMIT=1024,MAX_ATTACHED=10,MAX_COLUMN=2000,MAX_COMPOUND_SELECT=500,MAX_DEFAULT_PAGE_SIZE=8192,MAX_EXPR_DEPTH=10000,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_SQL_LENGTH=1000000000,MAX_TRIGGER_DEPTH=1000,MAX_VARIABLE_NUMBER=250000,MAX_VDBE_OP=250000000,MAX_WORKER_THREADS=8,MUTEX_PTHREADS,SECURE_DELETE,SYSTEM_MALLOC,TEMP_STORE=1,THREADSAFE=1 2023-06-25 18:59:08.873 Info SqliteUserRepository: Opening sqlite connection to /var/lib/emby/data/users.db 2023-06-25 18:59:08.887 Info SqliteUserRepository: Default journal_mode for /var/lib/emby/data/users.db is wal 2023-06-25 18:59:08.953 Info ActivityRepository: Opening sqlite connection to /var/lib/emby/data/activitylog.db 2023-06-25 18:59:08.954 Info ActivityRepository: Default journal_mode for /var/lib/emby/data/activitylog.db is wal 2023-06-25 18:59:08.958 Info SqliteDisplayPreferencesRepository: Opening sqlite connection to /var/lib/emby/data/displaypreferences.db 2023-06-25 18:59:08.959 Info SqliteDisplayPreferencesRepository: Default journal_mode for /var/lib/emby/data/displaypreferences.db is wal 2023-06-25 18:59:08.966 Info App: Adding HttpListener prefix http://+:8095/ 2023-06-25 18:59:08.975 Info NetworkManager: Detecting local network addresses 2023-06-25 18:59:08.975 Info NetworkManager: networkInterface: Ethernet enp44s0, Speed: 2500000000, Description: enp44s0 2023-06-25 18:59:08.976 Info NetworkManager: GatewayAddresses: 192.168.2.2 2023-06-25 18:59:08.976 Info NetworkManager: UnicastAddresses: 192.168.2.20,fe80::702f:dee:eded:30b0%2 2023-06-25 18:59:08.976 Info NetworkManager: networkInterface: Ethernet enp0s31f6, Speed: 1000000000, Description: enp0s31f6 2023-06-25 18:59:08.976 Info NetworkManager: GatewayAddresses: 192.168.1.254,fe80::3a35:fbff:fed8:570c%3 2023-06-25 18:59:08.976 Info NetworkManager: UnicastAddresses: 192.168.1.10,2001:861:5e63:9890:ccba:9efb:d143:e556,fe80::aec8:ea5f:2f09:2a7f%3 2023-06-25 18:59:08.976 Info NetworkManager: networkInterface: Loopback lo, Speed: -1, Description: lo 2023-06-25 18:59:08.976 Info NetworkManager: GatewayAddresses: 2023-06-25 18:59:08.976 Info NetworkManager: UnicastAddresses: 127.0.0.1,::1 2023-06-25 18:59:08.977 Info NetworkManager: Detected local ip addresses: 192.168.2.20, 192.168.1.10, fe80::702f:dee:eded:30b0%2, 2001:861:5e63:9890:ccba:9efb:d143:e556, fe80::aec8:ea5f:2f09:2a7f%3, 127.0.0.1, ::1 2023-06-25 18:59:09.077 Info AuthenticationRepository: Opening sqlite connection to /var/lib/emby/data/authentication.db 2023-06-25 18:59:09.078 Info AuthenticationRepository: Default journal_mode for /var/lib/emby/data/authentication.db is wal 2023-06-25 18:59:09.080 Info SqliteItemRepository: Opening sqlite connection to /var/lib/emby/data/library.db 2023-06-25 18:59:09.083 Info SqliteItemRepository: Default journal_mode for /var/lib/emby/data/library.db is wal 2023-06-25 18:59:09.083 Info SqliteItemRepository: cache_size is -262144 2023-06-25 18:59:09.083 Info SqliteItemRepository: page_size is 4096 2023-06-25 18:59:09.146 Error Main: Error in appHost.Init *** Error Report *** Version: 4.7.13.0 Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /var/lib/emby -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg-emby -ffprobe /usr/bin/ffprobe-emby -restartexitcode 3 Operating system: Linux version 6.1.35-1-lts (linux-lts@archlinux) (gcc (GCC) 13.1.1 20230429, GNU ld (GNU Binutils) 2.40.0) #1 SMP PREEMPT_DYNAMIC Wed, 21 Jun 2023 15: Framework: .NET 6.0.19 OS/Process: x64/x64 Runtime: usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.19/System.Private.CoreLib.dll Processor count: 8 Data path: /var/lib/emby Application path: /usr/lib/emby-server 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) 2023-06-25 18:59:09.148 Info Main: Shutdown complete
EmbyPenguin 11 Posted June 25, 2023 Author Posted June 25, 2023 And in case it can help here is the output of systemctl status emby-server.service : emby-server.service - Emby brings together your videos, music, photos, and live television. Loaded: loaded (/usr/lib/systemd/system/emby-server.service; disabled; preset: disabled) Active: inactive (dead) juin 25 18:59:09 eby emby-server[476919]: at SQLitePCL.pretty.DatabaseConnection.ExecuteAll(IDatabaseConnection This, String sql) juin 25 18:59:09 eby emby-server[476919]: at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, IU> juin 25 18:59:09 eby emby-server[476919]: at Emby.Server.Implementations.ApplicationHost.InitDatabases() juin 25 18:59:09 eby emby-server[476919]: at Emby.Server.Implementations.ApplicationHost.Init() juin 25 18:59:09 eby emby-server[476919]: at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken) juin 25 18:59:09 eby emby-server[476919]: Source: SQLitePCL.pretty juin 25 18:59:09 eby emby-server[476919]: TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.String ByRef) juin 25 18:59:09 eby emby-server[476919]: juin 25 18:59:09 eby emby-server[476919]: Info Main: Shutdown complete juin 25 18:59:09 eby systemd[1]: emby-server.service: Deactivated successfully.
EmbyPenguin 11 Posted June 25, 2023 Author Posted June 25, 2023 I am no pro at reading logs, but I assume the important part is the one that begins with "error report" And maybe it is something related to ffmpeg ?
Q-Droid 854 Posted June 25, 2023 Posted June 25, 2023 This looks like a database error, possibly from going up and down in versions between beta and stable releases. Someone familiar with the database schema side of things might have to chime in. 1
EmbyPenguin 11 Posted June 25, 2023 Author Posted June 25, 2023 (edited) Hi, Again, thanks a lot for your time and even if you did not provide a direct solution, you helped me out a lot. Indeed, I found the folder where the config files were located. So what I did was simply uninstalling emby-server package. Then erase the folder with all config files. Then I installed emby-server package again... And : VOILA It works How cool does that sound ? To me : super cool Again : many thanks... Edited June 25, 2023 by EmbyPenguin 1 1
boggle247 2 Posted June 28, 2023 Posted June 28, 2023 where did you find this config file? I just updated to the latest emby version 4.7.13 on debian 11 and now the service fails to start: ● emby-server.service - Emby Server is a personal media server with apps on just about every device Loaded: loaded (/lib/systemd/system/emby-server.service; enabled; vendor preset: enabled) Active: failed (Result: signal) since Tue 2023-06-27 20:43:06 EDT; 11s ago Process: 4526 ExecStart=/opt/emby-server/bin/emby-server (code=killed, signal=ABRT) Main PID: 4526 (code=killed, signal=ABRT) CPU: 3.612s Jun 27 20:43:06 homeserver-debian emby-server[4526]: at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(System.Thre> Jun 27 20:43:06 homeserver-debian emby-server[4526]: at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions+<R> Jun 27 20:43:06 homeserver-debian emby-server[4526]: at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Mic> Jun 27 20:43:06 homeserver-debian emby-server[4526]: at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Mic> Jun 27 20:43:06 homeserver-debian emby-server[4526]: at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Ru> Jun 27 20:43:06 homeserver-debian emby-server[4526]: at EmbyServer.Program.RunApplication(Emby.Server.Implementations.Ser> Jun 27 20:43:06 homeserver-debian emby-server[4526]: at EmbyServer.Program.Main(System.String[]) Jun 27 20:43:06 homeserver-debian systemd[1]: emby-server.service: Main process exited, code=killed, status=6/ABRT Jun 27 20:43:06 homeserver-debian systemd[1]: emby-server.service: Failed with result 'signal'. Jun 27 20:43:06 homeserver-debian systemd[1]: emby-server.service: Consumed 3.612s CPU time. Hoping your solution works for me, otherwise I'll have to restore a backup on my server and try again.
boggle247 2 Posted June 28, 2023 Posted June 28, 2023 also ran cat /var/lib/emby/logs/embyserver.txt and got this (error towards the bottom): $ sudo cat /var/lib/emby/logs/embyserver.txt 2023-06-27 20:43:03.727 Info Main: Application path: /opt/emby-server/system/EmbyServer.dll 2023-06-27 20:43:03.980 Info Main: Emby Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 4.19.0-18-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.208-1 (2021-09-29) Framework: .NET 6.0.14 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/lib/emby Application path: /opt/emby-server/system 2023-06-27 20:43:03.980 Info Main: Logs path: /var/lib/emby/logs 2023-06-27 20:43:03.980 Info Main: Cache path: /var/lib/emby/cache 2023-06-27 20:43:03.980 Info Main: Internal metadata path: /var/lib/emby/metadata 2023-06-27 20:43:03.980 Info Main: Transcoding temporary files path: /var/lib/emby/transcoding-temp 2023-06-27 20:43:04.035 Info App: Application version: 4.7.13.0 2023-06-27 20:43:04.039 Info App: Loading assemblies 2023-06-27 20:43:04.067 Info App: File /var/lib/emby/plugins/Fanart.dll has version 1.0.14.0 2023-06-27 20:43:04.068 Info App: File /opt/emby-server/system/plugins/Fanart.dll has version 1.0.13.0 2023-06-27 20:43:04.068 Info App: File /var/lib/emby/plugins/OpenSubtitles.dll has version 1.0.34.0 2023-06-27 20:43:04.068 Info App: File /opt/emby-server/system/plugins/OpenSubtitles.dll has version 1.0.31.0 2023-06-27 20:43:04.068 Info App: File /var/lib/emby/plugins/EmbyGuideData.dll has version 1.0.11.0 2023-06-27 20:43:04.068 Info App: File /opt/emby-server/system/plugins/EmbyGuideData.dll has version 1.0.10.0 2023-06-27 20:43:04.069 Info App: File /var/lib/emby/plugins/Tvdb.dll has version 1.4.0.0 2023-06-27 20:43:04.072 Info App: File /opt/emby-server/system/plugins/Tvdb.dll has version 1.3.3.0 2023-06-27 20:43:04.072 Info App: File /var/lib/emby/plugins/DvdMounter.dll has version 1.0.0.0 2023-06-27 20:43:04.072 Info App: File /opt/emby-server/system/plugins/DvdMounter.dll has version 1.0.0.0 2023-06-27 20:43:04.073 Info App: File /var/lib/emby/plugins/Emby.PortMapper.dll has version 1.2.1.0 2023-06-27 20:43:04.073 Info App: File /opt/emby-server/system/plugins/Emby.PortMapper.dll has version 1.1.8.0 2023-06-27 20:43:04.073 Info App: File /var/lib/emby/plugins/Emby.M3UTuner.dll has version 1.0.13.0 2023-06-27 20:43:04.073 Info App: File /opt/emby-server/system/plugins/Emby.M3UTuner.dll has version 1.0.13.0 2023-06-27 20:43:04.073 Info App: File /var/lib/emby/plugins/Emby.Dlna.dll has version 1.2.2.0 2023-06-27 20:43:04.073 Info App: File /opt/emby-server/system/plugins/Emby.Dlna.dll has version 1.0.91.0 2023-06-27 20:43:04.073 Info App: File /var/lib/emby/plugins/StudioImages.dll has version 1.0.3.0 2023-06-27 20:43:04.074 Info App: File /opt/emby-server/system/plugins/StudioImages.dll has version 1.0.3.0 2023-06-27 20:43:04.074 Info App: File /var/lib/emby/plugins/Emby.XmlTV.dll has version 1.1.2.0 2023-06-27 20:43:04.074 Info App: File /opt/emby-server/system/plugins/Emby.XmlTV.dll has version 1.0.9.0 2023-06-27 20:43:04.074 Info App: File /var/lib/emby/plugins/MusicBrainz.dll has version 1.0.22.0 2023-06-27 20:43:04.074 Info App: File /opt/emby-server/system/plugins/MusicBrainz.dll has version 1.0.22.0 2023-06-27 20:43:04.074 Info App: File /var/lib/emby/plugins/Emby.Webhooks.dll has version 1.0.25.0 2023-06-27 20:43:04.074 Info App: File /opt/emby-server/system/plugins/Emby.Webhooks.dll has version 1.0.25.0 2023-06-27 20:43:04.075 Info App: File /var/lib/emby/plugins/OMDb.dll has version 1.0.20.0 2023-06-27 20:43:04.075 Info App: File /opt/emby-server/system/plugins/OMDb.dll has version 1.0.18.0 2023-06-27 20:43:04.075 Info App: File /var/lib/emby/plugins/NfoMetadata.dll has version 1.0.73.0 2023-06-27 20:43:04.075 Info App: File /opt/emby-server/system/plugins/NfoMetadata.dll has version 1.0.70.0 2023-06-27 20:43:04.075 Info App: File /var/lib/emby/plugins/Emby.Server.CinemaMode.dll has version 1.0.40.0 2023-06-27 20:43:04.075 Info App: File /opt/emby-server/system/plugins/Emby.Server.CinemaMode.dll has version 1.0.40.0 2023-06-27 20:43:04.075 Info App: File /var/lib/emby/plugins/AudioDb.dll has version 1.0.18.0 2023-06-27 20:43:04.077 Info App: File /opt/emby-server/system/plugins/AudioDb.dll has version 1.0.16.0 2023-06-27 20:43:04.077 Info App: File /var/lib/emby/plugins/BlurayMounter.dll has version 1.0.0.0 2023-06-27 20:43:04.077 Info App: File /opt/emby-server/system/plugins/BlurayMounter.dll has version 1.0.0.0 2023-06-27 20:43:04.077 Info App: File /var/lib/emby/plugins/MovieDb.dll has version 1.6.8.0 2023-06-27 20:43:04.077 Info App: File /opt/emby-server/system/plugins/MovieDb.dll has version 1.6.2.0 2023-06-27 20:43:04.101 Info App: Loading Fanart, Version=1.0.14.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Fanart.dll 2023-06-27 20:43:04.101 Info App: Loading EmbyScripterX, Version=3.0.5.5, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/EmbyScripterX.dll 2023-06-27 20:43:04.101 Info App: Loading OpenSubtitles, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/OpenSubtitles.dll 2023-06-27 20:43:04.101 Info App: Loading EmbyGuideData, Version=1.0.11.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/EmbyGuideData.dll 2023-06-27 20:43:04.101 Info App: Loading Tvdb, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Tvdb.dll 2023-06-27 20:43:04.101 Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/DvdMounter.dll 2023-06-27 20:43:04.101 Info App: Loading Emby.PortMapper, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.PortMapper.dll 2023-06-27 20:43:04.101 Info App: Loading Emby.M3UTuner, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.M3UTuner.dll 2023-06-27 20:43:04.101 Info App: Loading Emby.Dlna, Version=1.2.2.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.Dlna.dll 2023-06-27 20:43:04.101 Info App: Loading StudioImages, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/StudioImages.dll 2023-06-27 20:43:04.101 Info App: Loading Emby.XmlTV, Version=1.1.2.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.XmlTV.dll 2023-06-27 20:43:04.101 Info App: Loading MusicBrainz, Version=1.0.22.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/MusicBrainz.dll 2023-06-27 20:43:04.101 Info App: Loading Emby.Webhooks, Version=1.0.25.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.Webhooks.dll 2023-06-27 20:43:04.101 Info App: Loading OMDb, Version=1.0.20.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/OMDb.dll 2023-06-27 20:43:04.101 Info App: Loading NfoMetadata, Version=1.0.73.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/NfoMetadata.dll 2023-06-27 20:43:04.101 Info App: Loading Emby.Server.CinemaMode, Version=1.0.40.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.Server.CinemaMode.dll 2023-06-27 20:43:04.101 Info App: Loading AudioDb, Version=1.0.18.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/AudioDb.dll 2023-06-27 20:43:04.101 Info App: Loading BlurayMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/BlurayMounter.dll 2023-06-27 20:43:04.101 Info App: Loading EmbyHelper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/EmbyHelper.dll 2023-06-27 20:43:04.101 Info App: Loading MovieDb, Version=1.6.8.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/MovieDb.dll 2023-06-27 20:43:04.101 Info App: Loading Emby.Api, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.Web, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading MediaBrowser.Model, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading MediaBrowser.Common, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading MediaBrowser.Controller, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.Providers, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.Photos, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.Server.Implementations, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.LiveTV, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.ActivityLog, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.Server.MediaEncoding, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.LocalMetadata, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.Notifications, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.Codecs.Dxva, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.Codecs, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.Server.Connect, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.101 Info App: Loading Emby.Server.Sync, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.102 Info App: Loading EmbyServer, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null 2023-06-27 20:43:04.360 Info SqliteUserRepository: Sqlite version: 3.39.2 2023-06-27 20:43:04.361 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=8,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-06-27 20:43:04.362 Info SqliteUserRepository: Opening sqlite connection to /var/lib/emby/data/users.db 2023-06-27 20:43:04.383 Info SqliteUserRepository: Default journal_mode for /var/lib/emby/data/users.db is wal 2023-06-27 20:43:04.504 Info ActivityRepository: Opening sqlite connection to /var/lib/emby/data/activitylog.db 2023-06-27 20:43:04.504 Info ActivityRepository: Default journal_mode for /var/lib/emby/data/activitylog.db is wal 2023-06-27 20:43:04.511 Info SqliteDisplayPreferencesRepository: Opening sqlite connection to /var/lib/emby/data/displaypreferences.db 2023-06-27 20:43:04.512 Info SqliteDisplayPreferencesRepository: Default journal_mode for /var/lib/emby/data/displaypreferences.db is wal 2023-06-27 20:43:04.527 Info App: Adding HttpListener prefix http://+:8096/ 2023-06-27 20:43:04.548 Info NetworkManager: Detecting local network addresses 2023-06-27 20:43:04.549 Info NetworkManager: networkInterface: Ethernet eno1, Speed: 1000000000, Description: eno1 2023-06-27 20:43:04.549 Info NetworkManager: GatewayAddresses: .168.2.1,fe80::6238:e0ff:febc:5678%2 2023-06-27 20:43:04.550 Info NetworkManager: UnicastAddresses: .168.2.81,2600:6c47:a200:1a:96c6:91ff:fe1f:24c8,fe80::96c6:91ff:fe1f:24c8%2 2023-06-27 20:43:04.550 Info NetworkManager: networkInterface: Loopback lo, Speed: -1, Description: lo 2023-06-27 20:43:04.550 Info NetworkManager: GatewayAddresses: 2023-06-27 20:43:04.550 Info NetworkManager: UnicastAddresses: 127.0.0.1,::1 2023-06-27 20:43:04.553 Info NetworkManager: Detected local ip addresses: redacted 2600:6c47:a200:1a:96c6:91ff:fe1f:24c8, fe80::96c6:91ff:fe1f:24c8%2, 127.0.0.1, ::1 2023-06-27 20:43:04.749 Info AuthenticationRepository: Opening sqlite connection to /var/lib/emby/data/authentication.db 2023-06-27 20:43:04.750 Info AuthenticationRepository: Default journal_mode for /var/lib/emby/data/authentication.db is wal 2023-06-27 20:43:04.753 Info SqliteItemRepository: Opening sqlite connection to /var/lib/emby/data/library.db 2023-06-27 20:43:04.756 Info SqliteItemRepository: Default journal_mode for /var/lib/emby/data/library.db is wal 2023-06-27 20:43:04.757 Info SqliteItemRepository: cache_size is -98304 2023-06-27 20:43:04.757 Info SqliteItemRepository: page_size is 4096 2023-06-27 20:43:06.064 Info FfmpegManager: FFMpeg: /opt/emby-server/bin/ffmpeg 2023-06-27 20:43:06.064 Info FfmpegManager: FFProbe: /opt/emby-server/bin/ffprobe 2023-06-27 20:43:06.064 Info FfmpegManager: FFDetect: /opt/emby-server/bin/ffdetect 2023-06-27 20:43:06.071 Info Skia: SkiaSharp version: 2.80.0.0 2023-06-27 20:43:06.117 Info TaskManager: Daily trigger for Thumbnail image extraction set to fire at 06/28/2023 02:00:00, which is 316.89804504 minutes from now. 2023-06-27 20:43:06.458 Info TaskManager: Daily trigger for Rotate log file set to fire at 06/28/2023 00:00:00, which is 196.89235382166666 minutes from now. 2023-06-27 20:43:06.473 Info App: ServerId: b9cd08f5984a491cbf20d354b0f01ada 2023-06-27 20:43:06.602 Error App: Error creating EmbyScripterX.ScripterXController *** Error Report *** Version: 4.7.13.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 4.19.0-18-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.208-1 (2021-09-29) Framework: .NET 6.0.14 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/lib/emby Application path: /opt/emby-server/system SimpleInjector.ActivationException: SimpleInjector.ActivationException: No registration for type ScripterXController could be found and an implicit registration could not be made. Could not load type 'MediaBrowser.Controller.LiveTv.ILiveTvService' from assembly 'MediaBrowser.Controller, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Could not load type 'MediaBrowser.Controller.LiveTv.ILiveTvService' from assembly 'MediaBrowser.Controller, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null'. at EmbyScripterX.ScripterXDVRMonitor.attachLiveTVInstance() at EmbyScripterX.ScripterXDVRMonitor..ctor(ILiveTvManager liveTvManager, ILibraryManager libraryManager) at EmbyScripterX.ScripterXController..ctor(ISessionManager sessionManager, IJsonSerializer jsonSerializer, IHttpClient httpClient, ILogManager logManager, IUserDataManager userDataManager, ILibraryManager libraryManager, IProviderManager providerManager, ITaskManager taskManager, ILiveTvManager liveTvManager, IDeviceManager deviceManager, ICollectionManager collectionManager, IServerConfigurationManager serverConfigurationManager, IApplicationHost applicationHost, IServerApplicationHost serverApplicationHost, IUserManager userManager, IDeviceDiscovery deviceDiscoveryManager, IEnvironmentInfo environmentInfo, IApplicationPaths applicationPaths, IHttpServer httpServer, IZipClient zipClient, IFileSystem fileSystem, IXmlSerializer xmlSerializer, ISubtitleManager subtitleManager) at lambda_method796(Closure ) at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance() at SimpleInjector.InstanceProducer.GetInstance() --- End of inner exception stack trace --- at SimpleInjector.InstanceProducer.GetInstance() at SimpleInjector.Container.GetInstanceFromProducer(InstanceProducer instanceProducer, Type serviceType) at SimpleInjector.Container.GetInstanceForRootType(Type serviceType) at SimpleInjector.Container.GetInstance(Type serviceType) at Emby.Server.Implementations.ApplicationHost.CreateInstanceSafe(Tuple`2 typeInfo) Source: SimpleInjector TargetSite: System.Object GetInstance() InnerException: System.TypeLoadException: Could not load type 'MediaBrowser.Controller.LiveTv.ILiveTvService' from assembly 'MediaBrowser.Controller, Version=4.7.13.0, Culture=neutral, PublicKeyToken=null'. Source: EmbyScripterX TargetSite: Void attachLiveTVInstance() at EmbyScripterX.ScripterXDVRMonitor.attachLiveTVInstance() at EmbyScripterX.ScripterXDVRMonitor..ctor(ILiveTvManager liveTvManager, ILibraryManager libraryManager) at EmbyScripterX.ScripterXController..ctor(ISessionManager sessionManager, IJsonSerializer jsonSerializer, IHttpClient httpClient, ILogManager logManager, IUserDataManager userDataManager, ILibraryManager libraryManager, IProviderManager providerManager, ITaskManager taskManager, ILiveTvManager liveTvManager, IDeviceManager deviceManager, ICollectionManager collectionManager, IServerConfigurationManager serverConfigurationManager, IApplicationHost applicationHost, IServerApplicationHost serverApplicationHost, IUserManager userManager, IDeviceDiscovery deviceDiscoveryManager, IEnvironmentInfo environmentInfo, IApplicationPaths applicationPaths, IHttpServer httpServer, IZipClient zipClient, IFileSystem fileSystem, IXmlSerializer xmlSerializer, ISubtitleManager subtitleManager) at lambda_method796(Closure ) at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance() at SimpleInjector.InstanceProducer.GetInstance() 2023-06-27 20:43:06.677 Info App: Starting entry point Emby.Dlna.Main.DlnaEntryPoint 2023-06-27 20:43:06.772 Info App: Entry point completed: Emby.Dlna.Main.DlnaEntryPoint. Duration: 0.0949407 seconds
Luke 39617 Posted June 28, 2023 Posted June 28, 2023 Try removing all DLL files from var/lib/Emby/plugins
boggle247 2 Posted June 28, 2023 Posted June 28, 2023 well in my haste I've since made a bigger mess. I uninstalled emby server using `sudo apt remove emby-server` then manually deleted the /var/lib/emby location. Then reinstalled, and it still won't work. I'll try restoring my backup then doing as you suggested. Thanks
Q-Droid 854 Posted June 28, 2023 Posted June 28, 2023 Read this link fully and carefully: https://emby.media/support/articles/advisory-23-05.html Your system is showing signs of having been compromised. 57 minutes ago, boggle247 said: 2023-06-27 20:43:04.101 Info App: Loading EmbyHelper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/EmbyHelper.dll
boggle247 2 Posted June 28, 2023 Posted June 28, 2023 @Q-Droid@LukeI restored my system, emby worked fine. shutdown my emby server service THEN applied the update (forgot to shutdown the emby service first go around), installed update, then rebooted emby server service. It works fine. Not sure if it's still potentially compromised as you noted, but I think it was more likely due to me not following instructions and shutting down the service prior to installing an update over top of it. Let me know if you disagree.
boggle247 2 Posted June 28, 2023 Posted June 28, 2023 It's now showing the same errors again. I'm afraid you may be correct.
boggle247 2 Posted June 28, 2023 Posted June 28, 2023 (edited) @Q-Droid@LukeI've done everything on that article you provided. I had to again revert to my backup first though so I'm on 4.6.7. I will update to 4.7.13 tomorrow. However, I currently cannot access the users menu, nor plugins, from the dashboard. I click them and nothing happens other than the url changing. Also this is what my host file looks like, is it correct? 127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 homeserver-debian 127.0.0.1 emmm.spxaebjhxtmddsri.xyz Edited June 28, 2023 by boggle247
Q-Droid 854 Posted June 28, 2023 Posted June 28, 2023 The hosts file format is [IP address] [hostname] [alias]. While the instruction is to add a line for the the domain it is not good practice to have multiple entries with the same IP. What you should add/edit instead for the localhost entry is: 127.0.0.1 localhost emmm.spxaebjhxtmddsri.xyz This ensures that reverse lookups (gethostbyaddr) return the correct hostname while forward lookups on the domain still return the desired IP. Not sure why you would have trouble with the Users or Plugins. I would fix the hosts file, reboot and try the Dashboard again.
boggle247 2 Posted June 28, 2023 Posted June 28, 2023 4 minutes ago, Q-Droid said: The hosts file format is [IP address] [hostname] [alias]. While the instruction is to add a line for the the domain it is not good practice to have multiple entries with the same IP. What you should add/edit instead for the localhost entry is: 127.0.0.1 localhost emmm.spxaebjhxtmddsri.xyz This ensures that reverse lookups (gethostbyaddr) return the correct hostname while forward lookups on the domain still return the desired IP. Not sure why you would have trouble with the Users or Plugins. I would fix the hosts file, reboot and try the Dashboard again. So is this what my hostsfile should look like? I really don't fully understand what this modification is doing or what the hosts file is doing in general. 127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 homeserver-debian 127.0.0.1 localhost emmm.spxaebjhxtmddsri.xyz
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