angel.nikolov@gmail.com 0 Posted September 9, 2023 Posted September 9, 2023 When is the Debian X64 emby-server-deb_4.8.0.45_amd64.deb expected to be released officially (not as BETA)?
Luke 40018 Posted September 9, 2023 Author Posted September 9, 2023 7 hours ago, angel.nikolov@gmail.com said: When is the Debian X64 emby-server-deb_4.8.0.45_amd64.deb expected to be released officially (not as BETA)? Hi, no eta but we’re working hard on it. 1
vincen 31 Posted February 4, 2024 Posted February 4, 2024 (edited) Just made the upgrade here using the deb package on my Debian 12 and it doesn't restart anymore properly When service starts all I get is that: root@xxxx:~# systemctl status emby-server ● 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; preset: enabled) Active: active (running) since Sun 2024-02-04 18:51:10 CET; 3min 8s ago Main PID: 228985 (EmbyServer) Tasks: 20 (limit: 154326) Memory: 1.2G CPU: 3min 10.484s CGroup: /system.slice/emby-server.service └─228985 /opt/emby-server/system/EmbyServer -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 Feb 04 18:53:47 XXXXX emby-server[228985]: OS/Process: x64/x64 Feb 04 18:53:47 XXXXX emby-server[228985]: Runtime: opt/emby-server/system/System.Private.CoreLib.dll Feb 04 18:53:47 XXXXX emby-server[228985]: Processor count: 32 Feb 04 18:53:47 XXXXX emby-server[228985]: Data path: /var/lib/emby Feb 04 18:53:47 XXXXX emby-server[228985]: Application path: /opt/emby-server/system Feb 04 18:53:47 XXXXX emby-server[228985]: System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object. Feb 04 18:53:47 XXXXX emby-server[228985]: at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Feb 04 18:53:47 XXXXX emby-server[228985]: Source: Emby.Server.Implementations Feb 04 18:53:47 XXXXX emby-server[228985]: TargetSite: Void MoveNext() Feb 04 18:53:47 XXXXX emby-server[228985]: root@XXXX:~# and on web it just displays a text message stating that server is loading and try again in a moment What to do ? I have already tried to stop service, reinstall package, restart service but still the same ! Edited February 4, 2024 by vincen ofsucate machine name
vincen 31 Posted February 4, 2024 Posted February 4, 2024 2 hours ago, vincen said: What to do ? I have already tried to stop service, reinstall package, restart service but still the same ! I was away and when back server had fully started and was operational Not sure what was the problem but it looked to have fixed by itself or an upgrade of something due to the update that took time ? Sorry for the noise ! 1
Luke 40018 Posted February 5, 2024 Author Posted February 5, 2024 9 hours ago, vincen said: I was away and when back server had fully started and was operational Not sure what was the problem but it looked to have fixed by itself or an upgrade of something due to the update that took time ? Sorry for the noise ! I think it was just the database upgrade that needed time. Thanks for following up.
vincen 31 Posted February 5, 2024 Posted February 5, 2024 1 hour ago, Luke said: I think it was just the database upgrade that needed time. Thanks for following up. May I suggest an improvement ? Indicate it in the text message that shows up on webpage it would make it more clear that everything is going well and that you just have to be patient Thanks
Luke 40018 Posted February 5, 2024 Author Posted February 5, 2024 9 hours ago, vincen said: May I suggest an improvement ? Indicate it in the text message that shows up on webpage it would make it more clear that everything is going well and that you just have to be patient Thanks Hi, yes we'll take a look at it. Thanks.
Michiplatz 3 Posted April 14, 2024 Posted April 14, 2024 Where do I have to put this update from emby server to upgrade to a new version? I have downloaded emby-server-deb_4.8.3.0_amd64.deb but don´t have a clue what to do with it. I tried the update and upgrade via console but it keeps telling me: "root@debian:~# dpkg -i emby-server-deb_4.8.3.0_amd64.deb dpkg: Fehler: Auf das Archiv »emby-server-deb_4.8.3.0_amd64.deb« kann nicht zugegriffen werden: Datei oder Verzeichnis nicht gefunden" So I guess I have to put this file somewhere on my server to a spicific folder/path? Sorry for all the questions but often I can´t find a "how to" for all the small deatails that a noob/rookie like me needs to understand this how it all works.
Q-Droid 879 Posted April 14, 2024 Posted April 14, 2024 Run the command from the location where the file was downloaded or specify the full path for the file.
Michiplatz 3 Posted April 14, 2024 Posted April 14, 2024 2 hours ago, Q-Droid said: Run the command from the location where the file was downloaded or specify the full path for the file. For a better understanding, I´m running embyserver with casaOS on debian withoud a gui so the file is on my windows pc. I thougt I only have to do a command in casaOS Terminal and the file is gonna download and install in one way like most of all other things in linux. So how can I put this file on my server first and how do I navigate to this folder to do the command to install the update. Or is there a spicific Folder allready in embyserver where I have to navigate. Or do I miss something here that I don´t understand? Or is there a way only with commands so the file is downloading from a server?
Q-Droid 879 Posted April 14, 2024 Posted April 14, 2024 To install "in one way like most of all other things in linux" would work when you're installing packages from the distribution's repositories or repositories you've added to your system. Emby is not in the repos for Debian or most other distros. If you don't know how to get your downloaded package from Windows to Linux then don't bother for now. You can read and learn how to transfer files some other time as it would apply to any files. Debian X64, link is from the Emby Downloads -> Linux -> Debian page. 1. open a terminal session on your server (SSH?). 2. download the Emby package. wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.3.0/emby-server-deb_4.8.3.0_amd64.deb 3. install the downloaded package, as root or sudo. dpkg -i emby-server-deb_4.8.3.0_amd64.deb
Michiplatz 3 Posted April 14, 2024 Posted April 14, 2024 I did exectly what you wrote but it still says path/folder not found what is strange because it was downloaded? 2024-04-14 20:20:06 (25,8 MB/s) - »emby-server-deb_4.8.3.0_amd64.deb.1« gespeichert [171522188/171522188] root@debian:~# dpkg -i emby-server-deb_4.8.3.0_amd64.deb dpkg: Fehler: Auf das Archiv »emby-server-deb_4.8.3.0_amd64.deb« kann nicht zugegriffen werden: Datei oder Verzeichnis nicht gefunden
Q-Droid 879 Posted April 14, 2024 Posted April 14, 2024 13 minutes ago, Michiplatz said: I did exectly what you wrote but it still says path/folder not found what is strange because it was downloaded? 2024-04-14 20:20:06 (25,8 MB/s) - »emby-server-deb_4.8.3.0_amd64.deb.1« gespeichert [171522188/171522188] root@debian:~# dpkg -i emby-server-deb_4.8.3.0_amd64.deb dpkg: Fehler: Auf das Archiv »emby-server-deb_4.8.3.0_amd64.deb« kann nicht zugegriffen werden: Datei oder Verzeichnis nicht gefunden It looks like you already had a file in that directory of the same name and wget downloaded a second copy and appended ".1" to the name. It's possible the original is corrupted so you could clean up by removing both and downloading again or move the .deb.1 file to .deb name. The steps should work unless you are downloading as one user and trying to install as a another user from a different shell session. Check before your install to make sure the file is there: ls -l
Michiplatz 3 Posted April 15, 2024 Posted April 15, 2024 Now I have somehow destroyed everything. I still can't quite figure out where the error lies. According to the messages, the latest version is now installed. "root@debian:~# dpkg -i emby-server-deb_4.8.3.0_amd64.deb Vormals nicht ausgewähltes Paket emby-server wird gewählt. (Lese Datenbank ... 36101 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von emby-server-deb_4.8.3.0_amd64.deb ... Entpacken von emby-server (4.8.3.0) ... emby-server (4.8.3.0) wird eingerichtet ... Created symlink /etc/systemd/system/multi-user.target.wants/emby-server.service ? /lib/systemd/system/emby-server.service. Trigger für libc-bin (2.36-9+deb12u4) werden verarbeitet ..." When I start emby, it still shows me the old version, even in casaOS. I then restarted the emby app in casaOS and promptly received an error message (see attachment) I must have wanted too much last night and destroyed everything. I think I need to start everything all over again. I still don't quite understand why it happened like this. If I want to update something for emby, why isn't it saved or installed in the corresponding directory? Does this have something to do with the levels of user and root, because as a user I have given myself all the rights to do this? It looks like I have now 2 versions of emby and one of them makes the problems with paths und ports and stuff like this.
Q-Droid 879 Posted April 15, 2024 Posted April 15, 2024 Why did you want to install the Emby package if you're using CasaOS and it's apps, which are Docker images as far as I know? Yes, you now might have a host based installation of Emby plus the CasaOS docker Emby app hence the port conflict. If you're going to stick with Casa then remove the Emby package you just installed and update Emby through Casa. If they don't have the latest version available ask them about it. Shutdown all Emby services. Don't try to start the CasaOS Emby app because if you started 4.8.3 you can't go back to 4.7.x, it won't work. Start the CasaOS Emby after you upgrade it. 2
Michiplatz 3 Posted April 15, 2024 Posted April 15, 2024 i am really grateful for your help and patience Q-Droid. As I said before, this is all new territory for me. I'm beginning to understand the structure and the mistakes I've made. Unfortunately, there is hardly any specific help for such cases. It's good that you got in touch, it was only through your answers that I discovered the errors. If it wasn't for the message about an update in the emby dashboard, I wouldn't have done any of this. Then I found a post where someone had a similar problem, where someone explained casaOS how it works. Now everything makes sense as you explained it. I had to read in more depth and watch a few videos but it's starting to make sense. Fortunately, everything is back now and I just have to wait until the casaOS appstore releases the latest version. They say they need a few days longer for whatever reason. You've saved me a lot of work, so thanks again for your help 1 1
Koml 0 Posted September 3, 2024 Posted September 3, 2024 Hello After version 4.8 came out i am unable to update to this one. I have tried with 4.8.3.0 and then went back to 4.7.14.0 Now i tried with 4.8.8.0 and still not working. Have attached output from SSH. Anyone have an idea of whats going on here? (Reading database ... 49573 files and directories currently installed.) Preparing to unpack emby-server-deb_4.8.8.0_amd64.deb ... Synchronizing state for emby-server.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d emby-server defaults Executing /usr/sbin/update-rc.d emby-server disable insserv: warning: current start runlevel(s) (empty) of script `emby-server' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `emby-server' overrides LSB defaults (0 1 6). Removed symlink /etc/systemd/system/multi-user.target.wants/emby-server.service. Unpacking emby-server (4.8.8.0) over (4.7.14.0) ... dpkg: dependency problems prevent configuration of emby-server: emby-server depends on libc6 (>= 2.27); however: Version of libc6:amd64 on system is 2.19-18+deb8u10. dpkg: error processing package emby-server (--install): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.19-18+deb8u10) ... Errors were encountered while processing: emby-server
vincen 31 Posted September 3, 2024 Posted September 3, 2024 1 hour ago, Koml said: (Reading database ... 49573 files and directories currently installed.) Preparing to unpack emby-server-deb_4.8.8.0_amd64.deb ... Synchronizing state for emby-server.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d emby-server defaults Executing /usr/sbin/update-rc.d emby-server disable insserv: warning: current start runlevel(s) (empty) of script `emby-server' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `emby-server' overrides LSB defaults (0 1 6). Removed symlink /etc/systemd/system/multi-user.target.wants/emby-server.service. Unpacking emby-server (4.8.8.0) over (4.7.14.0) ... dpkg: dependency problems prevent configuration of emby-server: emby-server depends on libc6 (>= 2.27); however: Version of libc6:amd64 on system is 2.19-18+deb8u10. dpkg: error processing package emby-server (--install): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.19-18+deb8u10) ... Errors were encountered while processing: emby-server Hi Did you read the output of your command to upgrade emby server ? Looks like not as it's pretty clear You need to update libc6 libraries of your system as they are too old for new versions of Emby server ! Most of time an "apt update" and then an "apt upgrade" should clear the issue. Vincèn
xyzzyx 1 Posted September 14, 2024 Posted September 14, 2024 Hi, 2 days go I run a standard apt-get update / apt-get upgrade (dist-upgrade) on my server and this upgraded debian to latest version. Quote Operating system: Linux version 6.7.9-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-13 (Debian 13.2.0-18) 13.2.0, GNU ld (GNU Binutils for Debian) 2.42) After that I couldn't access emby anymore and an error was reported: Quote Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. I tried to start from scratch, I deleted "library.db", created some categories, waited to finalize the library scan. When I tried again web access, home was empty. Search was working only displaying artists, in rest nothing. On a nvidia shield (android tv) client, same empty home screen. There is no errors in logs, is just this empty home screen. The previous logs when the server stopped working are lost due to rotation of logs. What should I do to have emby up again? Uninstall it and install emby again? Is this solving the empty home screen problem? Thank you.
Luke 40018 Posted September 15, 2024 Author Posted September 15, 2024 11 hours ago, xyzzyx said: Hi, 2 days go I run a standard apt-get update / apt-get upgrade (dist-upgrade) on my server and this upgraded debian to latest version. After that I couldn't access emby anymore and an error was reported: I tried to start from scratch, I deleted "library.db", created some categories, waited to finalize the library scan. When I tried again web access, home was empty. Search was working only displaying artists, in rest nothing. On a nvidia shield (android tv) client, same empty home screen. There is no errors in logs, is just this empty home screen. The previous logs when the server stopped working are lost due to rotation of logs. What should I do to have emby up again? Uninstall it and install emby again? Is this solving the empty home screen problem? Thank you. Hi, after deleting library.db and setting up libraries again, make sure to go through each user and configure what libraries they are granted access to. Please see if that helps.
xyzzyx 1 Posted September 15, 2024 Posted September 15, 2024 5 hours ago, Luke said: Hi, after deleting library.db and setting up libraries again, make sure to go through each user and configure what libraries they are granted access to. Please see if that helps. Hi, Thanks for your fast reply. The existing users were already there from the initial setup, didn't add any new. They have access to all libraries. But browsing over the user settings, I see that parental control tab, I never touched it before. There was nothing selected, blanc option. Now I just tick on highest level (18+) and allow everything - seems this did the trick and solved my problem. All good now. Thanks again. 1
vincen 31 Posted October 9, 2024 Posted October 9, 2024 (edited) Hi, Serious issue here, running server 4.8.10.0 version since it was released. System fully setup since a year and working fine (no hw problem). Today I decide to create a new directory for a new type of medias and add the directory at at existing library of Emby. This new directory has been created at same level than all my other directories for medias libraries and same rights. When I try to add the new directory at the existing library, I get an error message stating it could not be added. I try again and same. I give up and close the preferences windows of the library I was trying to edit. Then I notice it started a scan of that same library. I got back in preferences of it and discover than in fact it has added it 2 times. So I delete one that of course delete the two. Ok fine, I go out and then go back in Preferences to try to add it properly and then it adds it. I go out of preferences and trigger a scan file but nothing happens. When I go back at main menu of Emby everything is empty ! All libraries are still listed but nothing at all in all of them I shut down / restart Emby but not better. Did I destroy the database by just trying to add a directory at a library ??? I attach log files (I started the attempt to add the directory around 19h30 today) but it's soo chatty that I'm unable to find anything in it and startup of server looks to go fine with nothing indicating an error with the db.... Additional info: I think it killed the db completely. I found out the library.db file is 360M which seems quite ridiculous for a library of thousand of files I looks like it killed also the scan process as now it's not even scanning directories to rebuild from scratch Thanks for your help as I'm lost there Vincèn embyserver-63864099390.txt embyserver-63864099635.txt embyserver.txt Edited October 9, 2024 by vincen
vincen 31 Posted October 10, 2024 Posted October 10, 2024 (edited) 13 hours ago, vincen said: Hi, Serious issue here, running server 4.8.10.0 version since it was released. System fully setup since a year and working fine (no hw problem). Today I decide to create a new directory for a new type of medias and add the directory at at existing library of Emby. This new directory has been created at same level than all my other directories for medias libraries and same rights. When I try to add the new directory at the existing library, I get an error message stating it could not be added. I try again and same. I give up and close the preferences windows of the library I was trying to edit. Then I notice it started a scan of that same library. I got back in preferences of it and discover than in fact it has added it 2 times. So I delete one that of course delete the two. Ok fine, I go out and then go back in Preferences to try to add it properly and then it adds it. I go out of preferences and trigger a scan file but nothing happens. When I go back at main menu of Emby everything is empty ! All libraries are still listed but nothing at all in all of them I shut down / restart Emby but not better. Did I destroy the database by just trying to add a directory at a library ??? I attach log files (I started the attempt to add the directory around 19h30 today) but it's soo chatty that I'm unable to find anything in it and startup of server looks to go fine with nothing indicating an error with the db.... Additional info: I think it killed the db completely. I found out the library.db file is 360M which seems quite ridiculous for a library of thousand of files I looks like it killed also the scan process as now it's not even scanning directories to rebuild from scratch Thanks for your help as I'm lost there Vincèn Additional details: i have discovered while trying to understand what happened, what is the problem and how to fix at best that I have a new system.xml file that has been generated around same time I tried to add the directory. I have aside a system.orig.xml. What does that file contain ? should I try to put back in place the previous system.xml file ? For now I fave let the emby server down to be sure situation is not going worse than it is already ! Edited October 10, 2024 by vincen
vincen 31 Posted October 10, 2024 Posted October 10, 2024 Hi No one on this ? as I have no idea what to do next without damaging even more the system Thanks
Carlo 4552 Posted October 11, 2024 Posted October 11, 2024 I'm seeing quite a few errors being generated in your logs. Some of the worst are: SQLitePCL.pretty.SQLiteException: Constraint: FOREIGN KEY constraint failed SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. This is likely corrupt or mismatched data from trying to fix your system previously. Your best bet at this point is likely to remove Emby and it's files, then re-install fresh. Carlo
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