Bloodfire 2 Posted May 22, 2018 Share Posted May 22, 2018 (edited) Hey guys, Issues installing rpm on OpenSUSE... Been using Emby for a while now. Love it. Decided I would bite the bullet and migrate to the new system you have in place for installs/updates. So, here's what I did: sudo zypper rm emby-server sudo zypper rr home_emby Then I went through /var/lib/ sudo cp emby-server emby-server.old sudo rm -r emby-server Then I went through /etc sudo rm emby-server.conf sudo systemctl daemon-reload sudo systemctl status emby-server (nothing found, so looks good) So, looks like I removed everything! Then, I went ahead and did: sudo zypper install https://github.com/MediaBrowser/Emby.Releases/releases/download/3.4.1.0/emby-server-rpm_3.4.1.0_x86_64.rpm (Gives me a hard time saying package not signed, no worries, just ignore) Then I get: ] Executing %posttrans script 'emby-server-rpm_3.4.1.0_x86_64.rpm' -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[/] Output of emby-server-rpm_3.4.1.0_x86_64.rpm %posttrans script: usermod: no changes chmod: cannot access '/var/lib/emby': No such file or directory chown: cannot access '/var/lib/emby': No such file or directory Hmmm, interesting... so, let's make it! cd /var/lib sudo mkdir emby sudo chmod -R 775 emby && sudo chown -R emby:emby emby Emby won't run, well... seems like it makes sense what with the empty directory... so: sudo zypper -v in -f https://github.com/MediaBrowser/Emby/releases/download/3.4.1.0/emby-server-rpm_3.4.1.0_x86_64.rpm gives me: Executing %posttrans script 'emby-server-rpm_3.4.1.0_x86_64.rpm' -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[/] Output of emby-server-rpm_3.4.1.0_x86_64.rpm %posttrans script: usermod: no changes but: sudo systemctl daemon-reload && sudo systemctl status emby-server shows that it's still in failed state... so let's investigate: sudo nano /etc/emby-server.conf shows: EMBY_DATA=/var/lib/emby however if I go to /var/lib/emby... it's empty! I got the instructions from: https://emby.media/linux-server.html OpenSUSE X64 zypper install https://github.com/MediaBrowser/Emby.Releases/releases/download/3.4.1.0/emby-server-rpm_3.4.1.0_x86_64.rpm Open a web browser to http://localhost:8096 I also tried installing the beta, see if that resolves the issue, but no dice. Any ideas on where to go from here? :edit: in case it helps, status: sudo systemctl status emby-server ● emby-server.service - Emby Server is a personal media server with apps on just about every device. Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Tue 2018-05-22 17:17:26 EDT; 5s ago Process: 3318 ExecStart=/opt/emby-server/bin/emby-server (code=exited, status=35) Main PID: 3318 (code=exited, status=35) May 22 17:17:26 HomeServer emby-server[3318]: at System.Resources.ResourceManager..ctor(Type resourceSource) May 22 17:17:26 HomeServer emby-server[3318]: at System.SR.InternalGetResourceString(String key) May 22 17:17:26 HomeServer emby-server[3318]: at System.SR.GetResourceString(String resourceKey, String defaultString) May 22 17:17:26 HomeServer emby-server[3318]: at System.Globalization.CompareInfo.InitSort(CultureInfo culture) May 22 17:17:26 HomeServer emby-server[3318]: at System.Globalization.CultureInfo.get_CompareInfo() May 22 17:17:26 HomeServer emby-server[3318]: at System.StringComparer..cctor() May 22 17:17:26 HomeServer emby-server[3318]: at System.AppDomainSetup.SetCompatibilitySwitches(IEnumerable`1 switches) May 22 17:17:26 HomeServer emby-server[3318]: at System.AppDomain.PrepareDataForSetup(String friendlyName, AppDomainSetup setup, Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor, String sandboxName, String[] propertyNames, String> May 22 17:17:26 HomeServer systemd[1]: emby-server.service: Main process exited, code=exited, status=35/n/a May 22 17:17:26 HomeServer systemd[1]: emby-server.service: Failed with result 'exit-code'. Edited May 22, 2018 by Bloodfire Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted May 23, 2018 Share Posted May 23, 2018 Someone else posted the same issue w/ 4.1 on CentOS. Perhaps the rpm is jacked? Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted May 23, 2018 Author Share Posted May 23, 2018 I tried both stable and beta too. Something is definitely awry with the rpm files... Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted May 24, 2018 Author Share Posted May 24, 2018 Hmmm, no reply yet from any staff. Anyone able to help me troubleshoot this? Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted May 24, 2018 Author Share Posted May 24, 2018 OK, so I created a VM with a clean install of OpenSUSE and tried to install the RPM on there. Same problem. /var/lib/emby is empty after zypper install of the provided rpm from downloads section. Definitely seems like there's an issue with the RPM... Link to comment Share on other sites More sharing options...
Luke 37120 Posted May 24, 2018 Share Posted May 24, 2018 We'll take a look at this, thanks. Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted May 24, 2018 Author Share Posted May 24, 2018 Thanks Luke! I look forward to your feedback! Link to comment Share on other sites More sharing options...
alucryd 216 Posted May 26, 2018 Share Posted May 26, 2018 Our openssl needed rebuilding with sslv3 methods enabled, looks like disabling them only works on arch linux. Next packages should work fine. Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted May 27, 2018 Author Share Posted May 27, 2018 Ahhh, excellent! Thank you! I guess I should keep an eye on the github for when the new package is released.. And @lucryd, if you're really in Lille, France, merci beaucoup pour votre temps! Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted May 30, 2018 Author Share Posted May 30, 2018 Just thought you'd like to know, I tried the latest beta build and it also has the same problem. I'm guessing that means the next stable packages should have the issue remedied? Link to comment Share on other sites More sharing options...
Luke 37120 Posted May 30, 2018 Share Posted May 30, 2018 What beta version did you try? Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted May 31, 2018 Author Share Posted May 31, 2018 (edited) The version I tried was: zypper install https://github.com/MediaBrowser/Emby.Releases/releases/download/3.4.1.9/emby-server-rpm_3.4.1.9_x86_64.rpm So version 3.4.1.9 Also tried: https://github.com/MediaBrowser/Emby.Releases/releases/download/3.4.1.10/emby-server-rpm_3.4.1.10_x86_64.rpm and same issue. Edited May 31, 2018 by Bloodfire Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted May 31, 2018 Author Share Posted May 31, 2018 In case this helps: What happens when I do sudo zypper install emby-server beta sudo zypper install -f https://github.com/MediaBrowser/Emby.Releases/releases/download/3.4.1.10/emby-server-rpm_3.4.1.10_x86_64.rpm Loading repository data... Reading installed packages... Forcing installation of 'emby-server-3.4.1.10-1.x86_64' from repository 'Plain RPM files cache'. Resolving package dependencies... The following NEW package is going to be installed: emby-server 1 new package to install. Overall download size: 57.1 MiB. Already cached: 0 B. After the operation, additional 187.4 MiB will be used. Continue? [y/n/...? shows all options] (y): y Retrieving package emby-server-3.4.1.10-1.x86_64 (1/1), 57.1 MiB (187.4 MiB unpacked) emby-server-rpm_3.4.1.10_x86_64.rpm: Package is not signed! emby-server-3.4.1.10-1.x86_64 (Plain RPM files cache): Signature verification failed [6-File is unsigned] Abort, retry, ignore? [a/r/i] (a): i Checking for file conflicts: ..................................................................................................................................[done] (1/1) Installing: emby-server-3.4.1.10-1.x86_64 ...............................................................................................................[done] Executing %posttrans script 'emby-server-rpm_3.4.1.10_x86_64.rpm' ------------------------------------------------------------------------------------------------[/] Output of emby-server-rpm_3.4.1.10_x86_64.rpm %posttrans script: usermod: no changes chmod: cannot access '/var/lib/emby': No such file or directory chown: cannot access '/var/lib/emby': No such file or directory Executing %posttrans scripts ..................................................................................................................................[done] What happens when you do sudo systemctl status emby-server sudo systemctl status emby-server ● emby-server.service - Emby Server is a personal media server with apps on just about every device. Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: disabled) Active: failed (Result: core-dump) since Thu 2018-05-31 10:43:29 EDT; 30s ago Process: 2360 ExecStart=/opt/emby-server/bin/emby-server (code=dumped, signal=ABRT) Main PID: 2360 (code=dumped, signal=ABRT) May 31 10:43:29 linux-u8w1 emby-server[2360]: Unhandled Exception: System.UnauthorizedAccessException: Access to the path '/var/lib/emby/logs' is denied. ---> System.IO.IOException: Permission denied May 31 10:43:29 linux-u8w1 emby-server[2360]: --- End of inner exception stack trace --- May 31 10:43:29 linux-u8w1 emby-server[2360]: at System.IO.FileSystem.CreateDirectory(String fullPath) May 31 10:43:29 linux-u8w1 emby-server[2360]: at System.IO.Directory.CreateDirectory(String path) May 31 10:43:29 linux-u8w1 emby-server[2360]: at Emby.Server.Implementations.Logging.FileLogger..ctor(String path) May 31 10:43:29 linux-u8w1 emby-server[2360]: at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken) May 31 10:43:29 linux-u8w1 emby-server[2360]: at EmbyServer.Program.Main(String[] args) May 31 10:43:29 linux-u8w1 emby-server[2360]: at EmbyServer.Program.<Main>(String[] args) May 31 10:43:29 linux-u8w1 systemd[1]: emby-server.service: Main process exited, code=dumped, status=6/ABRT May 31 10:43:29 linux-u8w1 systemd[1]: emby-server.service: Failed with result 'core-dump'. What happens when I mkdir /var/lib/emby and chown and chmod it for emby:emby and 777 and then force re-install: sudo zypper install -f https://github.com/MediaBrowser/Emby.Releases/releases/download/3.4.1.10/emby-server-rpm_3.4.1.10_x86_64.rpm Loading repository data... Reading installed packages... Forcing installation of 'emby-server-3.4.1.10-1.x86_64' from repository 'Plain RPM files cache'. Resolving package dependencies... The following package is going to be reinstalled: emby-server 1 package to reinstall. Overall download size: 57.1 MiB. Already cached: 0 B. No additional space will be used or freed after the operation. Continue? [y/n/...? shows all options] (y): y Retrieving package emby-server-3.4.1.10-1.x86_64 (1/1), 57.1 MiB (187.4 MiB unpacked) emby-server-rpm_3.4.1.10_x86_64.rpm: Package is not signed! emby-server-3.4.1.10-1.x86_64 (Plain RPM files cache): Signature verification failed [6-File is unsigned] Abort, retry, ignore? [a/r/i] (a): i Checking for file conflicts: .............................................................................................................................................................................................................................................................[done] (1/1) Installing: emby-server-3.4.1.10-1.x86_64 ..........................................................................................................................................................................................................................................[done] Executing %posttrans script 'emby-server-rpm_3.4.1.10_x86_64.rpm' ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[/] Output of emby-server-rpm_3.4.1.10_x86_64.rpm %posttrans script: usermod: no changes Executing %posttrans scripts .............................................................................................................................................................................................................................................................[done] Viewing ls -l of /var/lib/emby ls -l /var/lib/emby total 4 drwxr-xr-x 2 emby emby 4096 May 31 10:47 logs logs 2018-05-31 10:48:59.039 Info Main: Application path: /opt/emby-server/system/EmbyServer.dll 2018-05-31 10:48:59.050 Info Main: Emby Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm Operating system: Unix 4.16.12.1 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 1 Program data path: /var/lib/emby Application directory: /opt/emby-server/system log22018-05-31 10:48:59.039 Info Main: Application path: /opt/emby-server/system/EmbyServer.dll 2018-05-31 10:48:59.050 Info Main: Emby Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm Operating system: Unix 4.16.12.1 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 1 Program data path: /var/lib/emby Application directory: /opt/emby-server/system log2 2018-05-31 10:47:27.232 Info Main: Application path: /opt/emby-server/system/EmbyServer.dll 2018-05-31 10:47:27.247 Info Main: Emby Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm Operating system: Unix 4.16.12.1 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 1 Program data path: /var/lib/emby Application directory: /opt/emby-server/system Hope some of this helps Link to comment Share on other sites More sharing options...
Luke 37120 Posted May 31, 2018 Share Posted May 31, 2018 It looks like there is no write access to var/lib/emby Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted June 1, 2018 Author Share Posted June 1, 2018 Hey Luke, I thought so too, however installing from legacy repo has no issue, and I manually created the /var/lib/emby and chmod and chown-ed it so that it would be open, didn't remedy the issue. I assumed the user was 'emby', and I force re-installed after as well, and that also did not remedy. Also, emby was able to put logs in /var/lib/emby, so without write access how would the emby logs go there? :S Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted June 5, 2018 Author Share Posted June 5, 2018 (edited) Hey guys, testing the new beta release on the downloads site: https://github.com/MediaBrowser/Emby.Releases/releases/download/3.4.1.11/emby-server-rpm_3.4.1.11_x86_64.rpm Will update momentarily. New VM being created to test in clean environment. :edit: moment of truth? zypper install -f --details https://github.com/MediaB rowser/Emby.Releases/releases/download/3.4.1.11/emby-server-rpm_3.4.1.11_x86_64. rpm Loading repository data... Reading installed packages... Forcing installation of 'emby-server-3.4.1.11-1.x86_64' from repository 'Plain R PM files cache'. Resolving package dependencies... The following package is going to be reinstalled: emby-server 3.4.1.11-1 x86_64 Plain RPM files cache Emby LLC 1 package to reinstall. Overall download size: 57.1 MiB. Already cached: 0 B. No additional space will be used or freed after the operation. Continue? [y/n/...? shows all options] (y): y Retrieving package emby-server-3.4.1.11-1.x86_64 (1/1), 57.1 MiB (187.4 MiB unpacked) emby-server-rpm_3.4.1.11_x86_64.rpm: Package is not signed! emby-server-3.4.1.11-1.x86_64 (Plain RPM files cache): Signature verification fa iled [6-File is unsigned] Abort, retry, ignore? [a/r/i] (a): i Checking for file conflicts: .............................................[done] (1/1) Installing: emby-server-3.4.1.11-1.x86_64 ..........................[done] Executing %posttrans script 'emby-server-rpm_3.4.1.11_x86_64.rpm' -----------[/] Output of emby-server-rpm_3.4.1.11_x86_64.rpm %posttrans script: usermod: no changes Executing %posttrans scripts .............................................[done] and let's see... sudo systemctl status emby-server ● emby-server.service - Emby Server is a personal media server with apps on just about every device. Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: disabled) Active: failed (Result: core-dump) since Tue 2018-06-05 18:25:54 EDT; 4s ago Process: 2289 ExecStart=/opt/emby-server/bin/emby-server (code=dumped, signal=ABRT) Main PID: 2289 (code=dumped, signal=ABRT) Jun 05 18:25:54 linux-u8w1 emby-server[2289]: Operating system: Unix 4.16.12.1 Jun 05 18:25:54 linux-u8w1 emby-server[2289]: 64-Bit OS: True Jun 05 18:25:54 linux-u8w1 emby-server[2289]: 64-Bit Process: True Jun 05 18:25:54 linux-u8w1 emby-server[2289]: User Interactive: True Jun 05 18:25:54 linux-u8w1 emby-server[2289]: Processor count: 1 Jun 05 18:25:54 linux-u8w1 emby-server[2289]: Program data path: /var/lib/emby Jun 05 18:25:54 linux-u8w1 emby-server[2289]: Application directory: /opt/emby-server/system Jun 05 18:25:54 linux-u8w1 emby-server[2289]: No usable version of the libssl was found Jun 05 18:25:54 linux-u8w1 systemd[1]: emby-server.service: Main process exited, code=dumped, status=6/ABRT Jun 05 18:25:54 linux-u8w1 systemd[1]: emby-server.service: Failed with result 'core-dump'. Nope.. definitely still not working on opensuse... :SIs it possible that there are dependencies not being installed that we need to worry about? I'm not the only one having issues with opensuse and the new install process, am I? :edit: Just noticed it indicates libssl not found... looks like this is the issue that was mentioned before. I guess I have to wait for the next stable iteration and not the next beta iteration for it to be resolved :edit: Welp, I found a package to install that get's emby up and running!!!! libopenssl1_0_0 Once you install that, the libssl package issue goes away! Should that be noted in the install information? Edited June 6, 2018 by Bloodfire Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted June 6, 2018 Author Share Posted June 6, 2018 sudo systemctl status emby-server ● emby-server.service - Emby Server is a personal media server with apps on just about every device. Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: disabled) Active: active (running) since Tue 2018-06-05 20:10:45 EDT; 4s ago Main PID: 20176 (EmbyServer) Tasks: 14 (limit: 4707) CGroup: /system.slice/emby-server.service └─20176 /opt/emby-server/system/EmbyServer -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -res> Jun 05 20:10:47 linux-o33u emby-server[20176]: Info App: Entry point completed: Emby.Security.PluginSecurityManager. Duration: 0.0002003 seconds Jun 05 20:10:47 linux-o33u emby-server[20176]: Info App: Starting entry point Emby.Server.Sync.SyncManagerEntryPoint Jun 05 20:10:47 linux-o33u emby-server[20176]: Info App: Sqlite version: 3.23.1 Jun 05 20:10:47 linux-o33u emby-server[20176]: Info App: Sqlite compiler options: COMPILER=gcc-6.3.0,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3,ENAB> Jun 05 20:10:47 linux-o33u emby-server[20176]: Info App: Default journal_mode for /var/lib/emby/data/sync14.db is wal Jun 05 20:10:47 linux-o33u emby-server[20176]: Info App: PRAGMA synchronous=1 Jun 05 20:10:47 linux-o33u emby-server[20176]: Info App: Entry point completed: Emby.Server.Sync.SyncManagerEntryPoint. Duration: 0.0204289 seconds Jun 05 20:10:47 linux-o33u emby-server[20176]: Info App: Starting entry point Emby.Server.Sync.SyncNotificationEntryPoint Jun 05 20:10:47 linux-o33u emby-server[20176]: Info App: Entry point completed: Emby.Server.Sync.SyncNotificationEntryPoint. Duration: 0.0003404 seconds Jun 05 20:10:47 linux-o33u emby-server[20176]: Info App: All entry points have startedYup. Indeed it looks like libopenssl1_0_0 resolves the issue: https://github.com/dotnet/core-setup/issues/3931. Figured it out when I realized the switch to dotnet... Link to comment Share on other sites More sharing options...
Luke 37120 Posted June 6, 2018 Share Posted June 6, 2018 Ok please try the next beta. We accidentally reverted the rollback from libssl 1.1 to 1.0, and that's why the problem is still occurring. Thanks. Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted June 15, 2018 Author Share Posted June 15, 2018 Tried the latest Beta and it works Now just gotta wait for beta to merge with stable... then I'll upgrade my server instance. Any ETA on the next Stable release? If not, no worries... but I'll give it a whirl in a VM instance prior Link to comment Share on other sites More sharing options...
Luke 37120 Posted June 15, 2018 Share Posted June 15, 2018 No ETA but thank you for the feedback. Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted July 4, 2018 Author Share Posted July 4, 2018 Hey guys, it's been over a month and I was wondering if the current stable RPM is going to be fixed or if a new stable is rolling out soon. I think the RPM will work if you add the missing dependencies. Alternatively, any feedback on how the transition from beta to stable is? If I go beta (3.4.1.24-beta) will I be able to simply upgrade to 3.4.2.0 when it's released, or will it require another clean install? Thanks for the great work! Link to comment Share on other sites More sharing options...
ABotelho 3 Posted July 14, 2018 Share Posted July 14, 2018 Is there any progress on this? I don't really mind having to manually upgrade for a few months as you guys figure out the repo/updating thing, but some of the features in 3.4 are appealing to me, but I'm currently stuck on the last mono build. Link to comment Share on other sites More sharing options...
Luke 37120 Posted July 15, 2018 Share Posted July 15, 2018 I apologize for the delay in responding. If you are on the old mono-based release and not willing to do a fresh install, then there is already a manual process you can perform to update. Simply follow the steps listed here in posts #3 and #4: https://emby.media/community/index.php?/topic/58613-question-about-my-32-bit-upgrade/?p=574032 Please make sure to read #4. Also, please be aware that the upcoming Emby Server 3.5 will require mono 5.4+. When that release comes, this may require you to manually update mono as well. A regular apt-get update may do the trick. Link to comment Share on other sites More sharing options...
Bloodfire 2 Posted July 15, 2018 Author Share Posted July 15, 2018 (edited) Hey Luke, The problem with the opensuse download option is that it is broken - using a VM or the server or etc, following the instructions at https://emby.media/linux-server.html: using: zypper install https://github.com/MediaBrowser/Emby.Releases/releases/download/3.4.1.0/emby-server-rpm_3.4.1.0_x86_64.rpm Is unsuccessful as the dependencies are not complete. I was able to demonstrate that in my previous posts. Either the RPM has to be updated to include the missing dependencies or the instructions need to include the dependencies that are missing. :edit: I would like to note that I am describing the clean install method! Not a manual upgrade... the process is actually broken. Edited July 15, 2018 by Bloodfire Link to comment Share on other sites More sharing options...
Luke 37120 Posted July 16, 2018 Share Posted July 16, 2018 We're looking into this, thanks. Link to comment Share on other sites More sharing options...
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