bobhays 2 Posted December 15, 2016 Share Posted December 15, 2016 (edited) Hi everyone, I'm trying to setup Emby on my FreeNAS and got stuck at the start. I installed the Emby plugin from the plugins tab. I then went to the jails to check the IP address. I typed in the IP address and got nothing. I thought maybe I needed to add a storage space so I added that too and then tried the local IP address again and still got nothing. I'm not really sure what I'm supposed to do to access the server start page. I also restarted the plugin, the jail, and the FreeNAS box, none of which seemed to help. I can ping the Jail IP Address but went I go to it in a browser nothing happens. EDIT: After digging through FreeNAS forums I found out that the port is 8096 and that it was on the plugin tab on the left side not the top tab... ugh Edited December 15, 2016 by bobhays Link to comment Share on other sites More sharing options...
Luke 37060 Posted December 15, 2016 Share Posted December 15, 2016 Hi @@bobhays, thanks for the feedback. What would you suggest to make this easier? Thanks ! Link to comment Share on other sites More sharing options...
bobhays 2 Posted December 15, 2016 Author Share Posted December 15, 2016 Hi @@bobhays, thanks for the feedback. What would you suggest to make this easier? Thanks ! It was actually pretty simple I was just being dumb. When I clicked on the plugin on the left-side menu it said "Emby can be found here" or something like that. The problem was I didn't realize that "here" was a hyperlink because it had no underline and was a dark blue. To make it easier if you just added "default port is 8096" I think it would help. Link to comment Share on other sites More sharing options...
Luke 37060 Posted December 16, 2016 Share Posted December 16, 2016 Thanks for the feedback. I will pass it on to the freenas package maintainer. Link to comment Share on other sites More sharing options...
wbravin 3 Posted November 3, 2018 Share Posted November 3, 2018 (edited) Hello Everyone the above issue was resolved and it helped me. Thank you for making this simpler. I am new to freenas and i'running 11.2. I manage to install emby I mounted volumes, stated the jail and i do have an IP address . now if i go to the far right i do not see how to manage emby nor can i reach it if i type in the ip address in chrome. how do i manage it? Thank you for any assistance One improvement i would like to see in your forums is a step by step process for newbies for installing activating and managing plugin jails etc. I woul be happy to contribute to writing the one for emby sonnarr and radarr once i have them all installed and running if this helps. rgrds Edited November 3, 2018 by wbravin Link to comment Share on other sites More sharing options...
Guest Posted November 3, 2018 Share Posted November 3, 2018 Hello Everyone the above issue was resolved and it helped me. Thank you for making this simpler. I am new to freenas and i'running 11.2. I manage to install emby I mounted volumes, stated the jail and i do have an IP address . now if i go to the far right i do not see how to manage emby nor can i reach it if i type in the ip address in chrome. how do i manage it? Thank you for any assistance One improvement i would like to see in your forums is a step by step process for newbies for installing activating and managing plugin jails etc. I woul be happy to contribute to writing the one for emby sonnarr and radarr once i have them all installed and running if this helps. rgrds On FreeNAS plugin page, click the 3 dots and select Management. Sent from my Pixel 2 XL using Tapatalk Link to comment Share on other sites More sharing options...
wbravin 3 Posted November 3, 2018 Share Posted November 3, 2018 On FreeNAS plugin page, click the 3 dots and select Management. Sent from my Pixel 2 XL using Tapatalk THank you for your prompt rely, at the 3 dots i do no see "management" i only get stop and delete Link to comment Share on other sites More sharing options...
Guest Posted November 4, 2018 Share Posted November 4, 2018 (edited) THank you for your prompt rely, at the 3 dots i do no see "management" i only get stop and deleteNow that's strange. If Stop is present, then the plugin is running and you should see Management as an option. Can you try going to http://<JAIL IP ADDRESS>:8096/web/index.html in the browser? Sent from my Pixel 2 XL using Tapatalk Edited November 4, 2018 by chrisada Link to comment Share on other sites More sharing options...
wbravin 3 Posted November 4, 2018 Share Posted November 4, 2018 On FreeNAS plugin page, click the 3 dots and select Management. Sent from my Pixel 2 XL using Tapatalk Thank you for your prompt reply. At the 3 dots i only get stop and delete as options Link to comment Share on other sites More sharing options...
wbravin 3 Posted November 4, 2018 Share Posted November 4, 2018 Now that's strange. If Stop is present, then the plugin is running and you should see Management as an option. Can you try going to http://<JAIL IP ADDRESS>:8096/web/index.html in the browser? Sent from my Pixel 2 XL using Tapatalk Hello I tried to access it via chrome however i get site can't be reached 192.168.1.58 refused to connect. I downloaded Plex and it works (almost) but iu prefer emby to plex thanks you for your support Link to comment Share on other sites More sharing options...
MRobi 159 Posted November 4, 2018 Share Posted November 4, 2018 Hello I tried to access it via chrome however i get site can't be reached 192.168.1.58 refused to connect. I downloaded Plex and it works (almost) but iu prefer emby to plex thanks you for your support Are you trying to go to 192.168.1.58 or 192.168.1.58:8096 ?? Big difference Link to comment Share on other sites More sharing options...
wbravin 3 Posted November 4, 2018 Share Posted November 4, 2018 Are you trying to go to 192.168.1.58 or 192.168.1.58:8096 ?? Big difference Yes tried both to no avail yet when i hit the 3 dots on plex i do get management Link to comment Share on other sites More sharing options...
MRobi 159 Posted November 4, 2018 Share Posted November 4, 2018 Yes tried both to no avail yet when i hit the 3 dots on plex i do get management When I go to mine I get stop, management and delete. I installed using the official installation instructions found here: https://emby.media/community/index.php?/topic/60971-new-freenas-package-for-testing/ The plugin install through the gui is unofficial and this may be where the difference is coming from. However if you see the option of stop, then that should mean the plugin is currently running. It should be accessible by entering the IP address of the jail and adding :8096. Are you certain you're entering the correct IP address for the jail? Maybe post up a screenshot of your installed plugins list and your jails list. Link to comment Share on other sites More sharing options...
wbravin 3 Posted November 5, 2018 Share Posted November 5, 2018 (edited) When I go to mine I get stop, management and delete. I installed using the official installation instructions found here: https://emby.media/community/index.php?/topic/60971-new-freenas-package-for-testing/ The plugin install through the gui is unofficial and this may be where the difference is coming from. However if you see the option of stop, then that should mean the plugin is currently running. It should be accessible by entering the IP address of the jail and adding :8096. Are you certain you're entering the correct IP address for the jail? Maybe post up a screenshot of your installed plugins list and your jails list. as al;ways thank you for your response. I just ended up uninstalling and re-installing the plugin. and it resolved the issue. Once again thank you for putting up with me. as mentioned i will write up a step by step process and if any one is interested i could publish it hereTHis is the erro i get mount: /mnt/Media1: Operation not supported by device jail: /sbin/mount -t None -o rw /mnt/Media1 /mnt/iocage/jails/emby/root/media: failed rgds Edited November 7, 2018 by wbravin Link to comment Share on other sites More sharing options...
wbravin 3 Posted November 7, 2018 Share Posted November 7, 2018 Hello all i managed to set up emby to the point of adding libraries. however i see no content in the library folders. It seems to me then no data exists in the jail forlder /mnt/iocage/jails/emby/root/media. how do i add data to the emby folders via the GUI. regards Link to comment Share on other sites More sharing options...
makarai 108 Posted November 7, 2018 Share Posted November 7, 2018 have you watched the video ? (Full screen and you can pause it) Mounting starts at 1:10 https://streamable.com/72jah 1 Link to comment Share on other sites More sharing options...
wbravin 3 Posted October 7, 2019 Share Posted October 7, 2019 @@makarai Hello Thank you for your comments and the video. I watched it and tried to understand it. To my chagrin I have a vere difficult time with command line coding. I am not a programer and i do not understand Unix. This is why i like GUIs with which i am more comfortable with. I have been trolling the forums both in freenas and emby. from the emby side they suspect a permission issue. Fair enough my user account in Emby is called emby no such account exists in Freenas should i just change the emby account name? and re install the emby plugin? once again thank you Link to comment Share on other sites More sharing options...
makarai 108 Posted October 7, 2019 Share Posted October 7, 2019 Hi. I probably should record a new video (maybe tonight) for the installation process as this is quite dated by now. However you should not be afraid to get your hands dirty in the command line of jails. Back to your problem: You have an issue with the permissions of emby (in a jail/plugin) and your videos i suppose. You need to figure out what is the UID (user number associated to your user) and GID (group number number associated to your user) that owns your data. I assume you have a standard user on freenas call him "userone" with the id 1101 and a group 1101 named "useronegroup" which owns the video files, however emby after you install it runs on a different userid (UID) and groupid (GID), so it cant access the files or folders, depending how strong your settings are it cant even see the files. This leads to problems I solve this problem the following way, i just change my emby userid (from within the plugin/jail) to 1101, ez pz. You can navigate the the jail shell via the GUI and click on shell on your plugin (this opens a shell (command line) to your plugin). Click "jails" -> click on the 3 dots next to your plugin -> select shell you'll be greeted with root@jailname(for me thats emby-server-beta-421201), you cant really destroy anything here, think sandbox. from this shell i change the userid of emby with: service emby-server stop pw groupmod emby -n emby -g 1101 pw usermod emby -n emby -u 1101 -g 1101 chown -R emby:emby /var/db/emby(hit tab) sysrc 'emby_server_user=emby' service emby-server start Here with some comments (sorry for yelling) service emby-server stop // STOPS EMBY FROM RUNNING pw groupmod emby -n emby -g 1101 // CHANGES EMBY GROUP TO ID 1101 pw usermod emby -n emby -u 1101 -g 1101 // CHANGES EMBY USER TO 1101 and moves it to the group 1101 chown -R emby:emby /var/db/emby(hit tab) // CHANGES THE EMBY FILES TO BE OWNED BY 1101 sysrc 'emby_server_user=emby' // DETERMIN WHO SHOULT BE THE EMBY USER service emby-server start // STARTS EMBY AGAIN Link to comment Share on other sites More sharing options...
wbravin 3 Posted October 7, 2019 Share Posted October 7, 2019 (edited) Thank you very so much for your reply. this clarification and the greatly appreciated education. I understand what you are telling me to do. I have currently my media pool owned by wb''''ravin (user ID 1000) belonging to usergroup wbravin (group id 1000).. My user ID in emby is wbravin Therefore if i fully understand the above i would get service emby-server stoppw groupmod emby -n emby -g 1000pw usermod emby -n emby -u 1000 -g 1000chown -R emby:emby /var/db/emby(hit tab) are you telling me to hit tab at this line?sysrc 'emby_server_user=wbravin'service emby-server start is this correct? when i go to the jail shell I get root@emby~ (sorry i do not know how to hit the number sign key) Again thank you I have been goin nuts with this. you are making my life simpler Edited October 7, 2019 by wbravin Link to comment Share on other sites More sharing options...
wbravin 3 Posted October 7, 2019 Share Posted October 7, 2019 Hello again Sorry to be such a pain I tried your version of the code (meaning I created userone and the relative group) It seemed to accept all the command lines with no issue however now when I install the emby plugin and i name the user emby with password and all. I go to add a folder when i click \ i get a dropdown and select media I do not get any of the mount points i created I guess i still manage to screw it up somehow Link to comment Share on other sites More sharing options...
wbravin 3 Posted October 7, 2019 Share Posted October 7, 2019 Hello again I am about to give up on emby. I am so frustrated with this issue that i removed the jail from freenas which removed the emby plugin, I performed a iocage clean -a in the Freenas shell and i deleted the iocage dataset from the strage pool. At this point i believe that i have removed all traces of emby, and returned to a simple freenas installation, I plan to reinstall it again. There must be a lower frustrating process to follow. Once again thank you all Link to comment Share on other sites More sharing options...
makarai 108 Posted October 8, 2019 Share Posted October 8, 2019 Thank you very so much for your reply. this clarification and the greatly appreciated education. I understand what you are telling me to do. I have currently my media pool owned by wb''''ravin (user ID 1000) belonging to usergroup wbravin (group id 1000).. My user ID in emby is wbravin Therefore if i fully understand the above i would get service emby-server stop pw groupmod emby -n emby -g 1000 pw usermod emby -n emby -u 1000 -g 1000 chown -R emby:emby /var/db/emby(hit tab) are you telling me to hit tab at this line? sysrc 'emby_server_user=wbravin' service emby-server start is this correct? when i go to the jail shell I get root@emby~ (sorry i do not know how to hit the number sign key) Again thank you I have been goin nuts with this. you are making my life simpler So, to clarify. The plugin system is a selfcontained system with its own usernames and everything. Host system has user wbravin(1000:1000) jailsystem has user emby(1000:1000) for the file permission that is the same thing the name does not really matter. So i would say that besides the line of sysrc 'emby_server_user=wbravin' which still should read sysrc 'emby_server_user=emby' everything seems ok. (and yes hit tab means hit tab, it should autocomplete to /var/db/emby-server) Link to comment Share on other sites More sharing options...
wbravin 3 Posted October 8, 2019 Share Posted October 8, 2019 Hello @makarai I was fed up yesterday that i deleted emby server and emby plugins for kodi on all my machines last night. But since i never give up i looked at several videos on permission. Then you mail arrives ... Interesting i said. So i reinstalled the emby server plugin in freenas. (funny thing happened It installed 2 plugin for emby (emby and emby_2) and created 2 jails.. So I took the opportunity to use emby_2 and apply your solution as per your message. Voila, when setting up emby_2 and i go to add folders I do see all 3 of my mount points ....Youppie Now the server is scanning the folders . it is populating the music folder not the movies or the TV shows but the scan is only at 88.1 % So far so good we made a step forward since last week. Will post later today the end result when it is finished Thank you so much for your guidance and help Link to comment Share on other sites More sharing options...
makarai 108 Posted October 8, 2019 Share Posted October 8, 2019 (edited) I hope this forum receives an update so that one can use markdown and drag and drop, anyway here is a pdf that i quickly created to elucidate on how to setup emby using only the gui (all shell steps are optional, mainly to check things) sorry for the shade @@Luke This goes through user permissions and creation so that you don't have to change anything within the jail itself Install Emby Plugin from Scratch Freenas .pdf Edited October 8, 2019 by makarai 2 Link to comment Share on other sites More sharing options...
wbravin 3 Posted October 8, 2019 Share Posted October 8, 2019 Hi Brilliant document just a typo Styart the jail and enter jail shell and Create Group Emby with the GID 989, than create the User May I suggest to break it down in chapters. In this way, this could form the basis of a compendium for a freenas/kodi integration. I would be happy to help Once again thank you 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