lagarto_san 5 Posted February 5 Share Posted February 5 (edited) Hi, I'm running Emby server in a TrueNAS Core[1]. I'm not using the community-driven plugin-based jail[2]. Rather, I ran the TrueNAS setup commands, found here, which setup an empty jail. The server's up and running. However, it's not at the latest version. The dashboard page shows this at the top: The link for the latest version take you to the downloads page, which, for TrueNAS, takes you back to the same installation page link included above. Note that the command to install was run several days after the official 4.8 release. I haven't found any commands to upgrade an existing Emby instance from within its own jail, other than trying the pkg update and pkg upgrade commands, from this other thread. This is my system's output: root@emby:~ # pkg update && pkg upgrade Updating plugin-default repository catalogue... plugin-default repository is up to date. All repositories are up to date. Updating plugin-default repository catalogue... plugin-default repository is up to date. All repositories are up to date. Updating database digests format: 100% Checking for upgrades (1 candidates): 100% Processing candidates (1 candidates): 100% The following 4 package(s) will be affected (of 0 checked): New packages to be INSTALLED: aribb24: 1.0.4 chromaprint: 1.5.1.20221217_1 libraw: 0.21.2 Installed packages to be UPGRADED: emby-server: 4.7.14.0_1 -> 4.7.14.0_10 Number of packages to be installed: 3 Number of packages to be upgraded: 1 The operation will free 50 MiB. 50 MiB to be downloaded. Proceed with this action? [y/N]: y [emby] [1/4] Fetching emby-server-4.7.14.0_10.pkg: 100% 50 MiB 17.4MB/s 00:03 [emby] [2/4] Fetching aribb24-1.0.4.pkg: 100% 37 KiB 37.9kB/s 00:01 [emby] [3/4] Fetching libraw-0.21.2.pkg: 100% 574 KiB 588.1kB/s 00:01 [emby] [4/4] Fetching chromaprint-1.5.1.20221217_1.pkg: 100% 55 KiB 56.3kB/s 00:01 Checking integrity... done (0 conflicting) [emby] [1/4] Installing aribb24-1.0.4... [emby] [1/4] Extracting aribb24-1.0.4: 100% root@emby:~ # As you can see, it upgraded from 4.7.14.0_1 to 4.7.14.0_10. What's the correct command to safely upgrade the existing instance to 4.8.0.80? Thanks. [1]: FreeBSD-based, AFAIK. It's version 13.0-U6.1. [2]: Bad experiences and also, more recently, ran into this forum post re the bad state of plugins in general. Edited February 5 by lagarto_san Add link Link to comment Share on other sites More sharing options...
Luke 37179 Posted February 5 Share Posted February 5 Hi, the links in the post install script were still pointing to 4.7. I've just updated it. Can you please try it again? Thanks. Link to comment Share on other sites More sharing options...
lagarto_san 5 Posted February 5 Author Share Posted February 5 (edited) 7 minutes ago, Luke said: Hi, the links in the post install script were still pointing to 4.7. I've just updated it. Can you please try it again? Thanks. Hi. I ran the pkg update/upgrade commands again, but they didn't do anything: root@emby:~ # pkg update && pkg upgrade Updating plugin-default repository catalogue... plugin-default repository is up to date. All repositories are up to date. Updating plugin-default repository catalogue... plugin-default repository is up to date. All repositories are up to date. Checking for upgrades (0 candidates): 100% Processing candidates (0 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. root@emby:~ # Do I have to run some other command in addition to those? I tried clearing the local cache with pkg clean, but it made no difference. Thanks. Edited February 5 by lagarto_san Add note about pkg clean Link to comment Share on other sites More sharing options...
lagarto_san 5 Posted February 6 Author Share Posted February 6 Hi, @Luke, any other suggestions? Thanks. Link to comment Share on other sites More sharing options...
Solution adrianwi 238 Posted February 6 Solution Share Posted February 6 pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.0.80/emby-server-freebsd13_4.8.0.80_amd64.pkg This should work, assuming everything else is up to date 1 Link to comment Share on other sites More sharing options...
lagarto_san 5 Posted February 6 Author Share Posted February 6 1 hour ago, adrianwi said: pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.0.80/emby-server-freebsd13_4.8.0.80_amd64.pkg This should work, assuming everything else is up to date Hi, @adrianwi, how can I verify that assumption is true? What happens if I try that and that assumption is not true? Link to comment Share on other sites More sharing options...
adrianwi 238 Posted February 6 Share Posted February 6 If you've run pkg update and pkg upgrade in the jail, you should be all good. I always take a snapshot of my jail before running any updates, so if the worst happens and it doesn't restart I can just roll it back. I had no problems updating from 4.7.14.0 to 4.8.0.80 on TrueNAS Core 13.0-U6. 1 Link to comment Share on other sites More sharing options...
lagarto_san 5 Posted February 8 Author Share Posted February 8 On 2/6/2024 at 6:40 AM, adrianwi said: If you've run pkg update and pkg upgrade in the jail, you should be all good. I always take a snapshot of my jail before running any updates, so if the worst happens and it doesn't restart I can just roll it back. I had no problems updating from 4.7.14.0 to 4.8.0.80 on TrueNAS Core 13.0-U6. Hi @adrianwi, that worked. I was able to successfully upgrade to 4.8.1. I did have to restart the whole jail since, for some reason, the service restart emby-server command wasn't enough, even though the console messages were saying the service was actually stopping/starting. Moreover, I'm not sure why the original pkg update && pkg upgrade commands failed to to do their thing with the emby package (including a few minutes ago) even after the reference fix by @Luke. Is something else missing? 1 1 Link to comment Share on other sites More sharing options...
Baenwort 97 Posted February 22 Share Posted February 22 The reason the Pkg upgrade didn't do anything is that the newest Emby version isn't in the package tree for FreeBSD 13 yet. You can see that at: https://www.freshports.org/multimedia/emby-server/ so until pkg catches up you'll have to manually download the package from the Emby developers and install that (this is what @adrianwigave the command to do) Link to comment Share on other sites More sharing options...
Luke 37179 Posted February 22 Share Posted February 22 18 hours ago, Baenwort said: The reason the Pkg upgrade didn't do anything is that the newest Emby version isn't in the package tree for FreeBSD 13 yet. You can see that at: https://www.freshports.org/multimedia/emby-server/ so until pkg catches up you'll have to manually download the package from the Emby developers and install that (this is what @adrianwigave the command to do) Hi, yes hopefully it will be in there soon. Thanks. Link to comment Share on other sites More sharing options...
jkdebuhr 0 Posted April 6 Share Posted April 6 I just tried to to the update / upgrade and is broke my install.. I tried to install a new Plugin but that also failed.. I assume the current still works on Truenas Core? Link to comment Share on other sites More sharing options...
Luke 37179 Posted April 9 Share Posted April 9 On 4/6/2024 at 4:15 PM, jkdebuhr said: I just tried to to the update / upgrade and is broke my install.. I tried to install a new Plugin but that also failed.. I assume the current still works on Truenas Core? Hi there, what exactly happened? Can you please describe your issue in more detail? Thanks. Link to comment Share on other sites More sharing options...
jkdebuhr 0 Posted April 11 Share Posted April 11 I did the pkg update && pkg upgrade and the server no longer runs.. Honestly I am not sure what happened. To be honest I use ChannelsDVR as well and it broke the week prior. I find out now that TrueNAS Core wil not get uopdated past a certain verison so right now, I have Emby running off ofo an older MacBook Pro and I use TrueNAS for file storage.. Link to comment Share on other sites More sharing options...
jkdebuhr 0 Posted April 12 Share Posted April 12 so I tried to install a new Plugin on my TrueNAS install Trying the Beta got me the attached Error Trying the Stable plugin: Link to comment Share on other sites More sharing options...
adrianwi 238 Posted April 12 Share Posted April 12 Don't use the Plugins! It's really easy to get emby up and running in a TrueNAS Jail that will run and update for many years to come (well, at least as long as TrueNAS is supported) 1 Link to comment Share on other sites More sharing options...
Luke 37179 Posted April 12 Share Posted April 12 15 hours ago, jkdebuhr said: so I tried to install a new Plugin on my TrueNAS install Trying the Beta got me the attached Error Trying the Stable plugin: Hi, can you try again? Link to comment Share on other sites More sharing options...
jkdebuhr 0 Posted April 13 Share Posted April 13 11 hours ago, adrianwi said: Don't use the Plugins! It's really easy to get emby up and running in a TrueNAS Jail that will run and update for many years to come (well, at least as long as TrueNAS is supported) Got some Directions for setting it up without the plugin? 8 hours ago, Luke said: Hi, can you try again? Same erroe Link to comment Share on other sites More sharing options...
adrianwi 238 Posted April 13 Share Posted April 13 This is about 6 years old, but the principle remains the same. There are probably better/easier ways of doing this now. https://www.truenas.com/community/threads/how-to-emby-iocage-jail-installation.64198/ Link to comment Share on other sites More sharing options...
lagarto_san 5 Posted April 13 Author Share Posted April 13 10 hours ago, adrianwi said: Don't use the Plugins! It's really easy to get emby up and running in a TrueNAS Jail that will run and update for many years to come (well, at least as long as TrueNAS is supported) Unfortunately, this is unreasonable advice, even if it happens to be technically correct. The fact that the app is listed as an available plugin explicitly communicates to users that it should just work. If the team doesn't want this, then the team should take steps to have it removed from the list. This may be the most important factor here. Additionally, saying it's "easy" to set up is relative and rarely helpful. For example, not everyone knows what to do after SSHing into a remote box —or even what SSH is. They're just expecting the available "push-button" solutions to work as they've been led to believe they do. Also, your guide, while helpful, shows it's anything but "easy" Link to comment Share on other sites More sharing options...
adrianwi 238 Posted April 14 Share Posted April 14 Call it whatever advice you like, but the plugins on TrueNAS and FreeNAS before that have never been a reliable way of running services in FreeBSD jails. Any of them! You might not like that, but that's just the way it has been for the last 10 years or so, and given the future direction of iXsystems that's not likely to change either. Crying about it on here certianly won't change anything. If you don't want to learn, very little in life is easy, but relatively speaking getting emby running in a FreeBSD jail on TrueNAS really won't take much effort if you wanted to get it to work reliably, like it has for me over the last 5 years or so. There are some even "easier" instructions here > https://emby.media/truenas-server.html 4 lines which you can copy into a TrueNAS shell, although I'd prefer to understand what it was doing and perhaps learn a little that I could apply again in the future. Good luck with whatever you choose to do. Link to comment Share on other sites More sharing options...
Luke 37179 Posted April 16 Share Posted April 16 @lagarto_sanhas this helped? Link to comment Share on other sites More sharing options...
lagarto_san 5 Posted April 16 Author Share Posted April 16 6 hours ago, Luke said: @lagarto_sanhas this helped? Hi @Luke, there might be some confusion here. I don't have a particular technical problem that needs solving at this time. I was just posting a reply to what was said previously, especially regarding the plugin situation, since that's what most users, especially the non-technical ones, will see and try to get to work first —i.e. the "push-button" solution. 1 Link to comment Share on other sites More sharing options...
hjason7812 25 Posted April 22 Share Posted April 22 On 4/16/2024 at 3:14 AM, lagarto_san said: Hi @Luke, there might be some confusion here. I don't have a particular technical problem that needs solving at this time. I was just posting a reply to what was said previously, especially regarding the plugin situation, since that's what most users, especially the non-technical ones, will see and try to get to work first —i.e. the "push-button" solution. my suggestion is to make an easy install guide to help the ones that can't do it on their own. i have even had some issues doing emby install on truenas and have been using it for years.. Link to comment Share on other sites More sharing options...
bolok 16 Posted April 27 Share Posted April 27 On 4/16/2024 at 2:14 AM, lagarto_san said: Hi @Luke, there might be some confusion here. I don't have a particular technical problem that needs solving at this time. I was just posting a reply to what was said previously, especially regarding the plugin situation, since that's what most users, especially the non-technical ones, will see and try to get to work first —i.e. the "push-button" solution. Plugins are basically deprecated on truenas core- other than the official ones. But unless you keep up to date with Ix's forums most people are probably be out of that loop. There is some - probably too mild language about plugins and support in the latest avail truenas version when you install one. But long story short... You are much better served making a normal jail and using the emby freebsd install directions inside the jail. Just be sure to check the mlock option. Link to comment Share on other sites More sharing options...
Luke 37179 Posted Tuesday at 08:41 PM Share Posted Tuesday at 08:41 PM On 4/21/2024 at 8:11 PM, hjason7812 said: my suggestion is to make an easy install guide to help the ones that can't do it on their own. i have even had some issues doing emby install on truenas and have been using it for years.. Hi, have you tried the instructions on our website? https://emby.media/truenas-server.html 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