cgcmgr 17 Posted January 25, 2020 Share Posted January 25, 2020 (edited) Hello, So I had some playback issues, https://emby.media/community/index.php?/topic/81682-playback-error-no-compatible-streams-are-currently-available/, that I was never able to get resolved. I started playing around and really messed things up. 1. First, in my FreeNas Server, I could not remember the password for the user I had all permissions on my datasets set to, so I changed it. 2. After fooling around with that I was able to map drives to my datasets in Windows 10 and access them 3. I then accessed my Emby server and could see everything as before, although this time no movies played and I received the attached error for ALL movies (Playback.PNG) 4. So I decided to create a new library to test. When creating I receive the attached error (Path.PNG). I cannot create a new library. 5. Then I thought it may have to do with my Mount Points, so I deleted them and recreated them. 6. I restarted the Emby Server and although my main screen pictures show (Capture.PNG), If I click on Collections and Movies, they are empty and say no items found. All the others show some of the content, but not nearly all of it and a lot of the pictures I had added for folder art is not showing. Trying to play any content in the others results in the Playback error. 7. Performing a Library scans does nothing - As I'm guessing it is due to the path error. So, I'm guessing and hoping this is all because I changed the user password that is tied to the datasets in FreeNas. Does Emby somehow use this password? If so, how can I go about associating the new password? In this thread, https://emby.media/community/index.php?/topic/54346-playback-error-no-compatible-streams-are-currently-available/, someone wrote "So I was able to fix the issue by changing the default user from emby to my username in /etc/emby-server.conf I'm not sure why I've been able to use the server fine up to this point with the default user but now it's working fine." Can someone please explain how I can access that to make the change? I have no idea how to access these files. Also, when performing a user password reset in Emby, there is supposed to be a file you access to click on a link. Again, I have no idea how to get to that file. Also, I have attached a screen capture of what my Mount Point was before I deleted it. I created it exacty the same, so not sure why the path cannot be found. Thanks, Chris Edited January 25, 2020 by cgcmgr Link to comment Share on other sites More sharing options...
cgcmgr 17 Posted January 25, 2020 Author Share Posted January 25, 2020 So I Stopped the Jail and went to edit. Under custom properties I saw an Owner field and it was set to root. I changed it to chris (the same username for my datasets) and restarted my FreeNAS server. I can no longer access my Emby server. I changed it back to root and rebooted and still cannot access the Emby server. Any suggestions? Link to comment Share on other sites More sharing options...
cgcmgr 17 Posted January 25, 2020 Author Share Posted January 25, 2020 So I decided to just delete the emby server and reinstall from FreeNAS GUI. I did, but I still cannot create a library. I have my mount points set in my Jail, but when I try to create a library and enter the folder path, I do not see where my mount points are pointing. How can I get this corrected? Link to comment Share on other sites More sharing options...
MRobi 159 Posted January 25, 2020 Share Posted January 25, 2020 OK, there seems like a lot going on here and it's a little hard to follow. It sounds to me like a permission issue. In a nutshell when it comes to file permission there's READ, WRITE and EXECUTE. At a bare minimum, Emby will need access to READ your files, and depending on your library settings it may need permission to WRITE your files as well. After you mount your datasets, you need to give the plugin access to your mount by setting these permissions. In FreeNAS there are essentially 4 ways to accomplish this. https://www.ixsystems.com/community/threads/how-to-giving-plugins-write-permissions-to-your-data.27273/ This thread over on the FreeNAS boards give step by step on the 4 ways. Choose 1 and roll with it. @@makarai wrote a great little pdf file that walks through the setup steps for Emby on FreeNAS and he covers permissions. I suggest checking this out as well. https://emby.media/community/index.php?/topic/13083-freenas-plugin/?p=795287 I'm not exactly sure what stage you're at right now. I'd almost recommend blowing it all up and starting over from scratch following the guy above. Link to comment Share on other sites More sharing options...
cgcmgr 17 Posted January 26, 2020 Author Share Posted January 26, 2020 OK, there seems like a lot going on here and it's a little hard to follow. It sounds to me like a permission issue. In a nutshell when it comes to file permission there's READ, WRITE and EXECUTE. At a bare minimum, Emby will need access to READ your files, and depending on your library settings it may need permission to WRITE your files as well. After you mount your datasets, you need to give the plugin access to your mount by setting these permissions. In FreeNAS there are essentially 4 ways to accomplish this. https://www.ixsystems.com/community/threads/how-to-giving-plugins-write-permissions-to-your-data.27273/ This thread over on the FreeNAS boards give step by step on the 4 ways. Choose 1 and roll with it. @@makarai wrote a great little pdf file that walks through the setup steps for Emby on FreeNAS and he covers permissions. I suggest checking this out as well. https://emby.media/community/index.php?/topic/13083-freenas-plugin/?p=795287 I'm not exactly sure what stage you're at right now. I'd almost recommend blowing it all up and starting over from scratch following the guy above. That's exactly what I did, uninstalled the Emby server and the iocage Dataset and started over. Reinstalled Emby, set my permissions and created my mount point. Still couldn't get Emby to recognize the mount point. Finally afters hours of working on this, I came across the PDF you linked. I checked who had ownership of the my media folder and it turned out to be user 1000 which equates to my FreeNAS user Chris. Using the instructions in the PDF, I changed it so that user also had ownership of Emby and then I was able to access the mount points. Still syncing and need to do some cosmetic clean up when done such as correct or add some movie art, etc. It shouldn't take too long. I just wish I had found the PDF before I deleted Emby. I'm wondering if changing ownership would have fixed the issue I had with some of the movies not playing. Would have saved me a lot of work, but bottom line is it is now working. I never had to worry about switching ownership previously and I had installed FreeNAS and Emby on my machine a few times. I had it working flawlessly for almost a year until I experienced the issue with some of the movies not playing. Anyway, thanks for responding, appreciate you taking the time. Link to comment Share on other sites More sharing options...
Luke 37113 Posted January 26, 2020 Share Posted January 26, 2020 Thanks for the feedback. Glad to hear you're back up and running. Link to comment Share on other sites More sharing options...
wbravin 3 Posted March 10, 2020 Share Posted March 10, 2020 hello alli have too much time on my hands so i just upgraded to freenas 11.3 rc1 everything works well except emby jail. the old jail was constructed in 11.2 and worked fine.so now i needed to rebuild the emby server. therefore i performed an (iocage clean -a ) in a shell before starting the process fine.I have created a user called emby in freenas with full privileges. the shares on freeenas are owned by wbravin the user in emby server is wbravin all with same passwordso now i install the emby pluginit will ask me what pool i want to use (my media pool is called media)i enter the name emby as a namerelease is 11.3now there is the option to tick dhcp auto configure ipv4, Nat, vnet and berkeley packet filter everything with the exception of nat is checkedthe only other ticked box is auto start and the jail auto starts fine I sometimes do not get an IP number for the jail when i do i get 192.168.1.237 which is fine.I stop the jail to start to add mount pointsthis is where i have a problemmy window share in freenas is mapped as /mnt/media/movies (all in lower case) owned by wbravinso when i add a mount point to my emby jail i add as source /mnt/media/movies (all in lower case)my destination i have /mnt/media/iocage/jails/emby/root/media/movies all is fine i start the jailnow i want to add a folder called movies to the emby serveri add as server \\192.168.1.237and in the optional share file /media/movieswhen i go to scan folders emby will not load any movies to its server The scan starts and stop immediately It looks like a permission issue however i do not see what to changewhat am i missingplease assistthank you in advance @@MRobi @@makarai Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 10, 2020 Share Posted March 10, 2020 Hi there, try adding this to Emby server: /mnt/media/movies instead of: \\192.168.1.237 Link to comment Share on other sites More sharing options...
wbravin 3 Posted March 10, 2020 Share Posted March 10, 2020 Hi Luke Thank you for responding tried to insert /mnt/media/movies into the in the folder area to no avail i then inserted \\192.168.1.237 in the folder area and /mnt/media/movies in the optional shared network folder to no avail the movie folder remains empty in both cases thank you Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 10, 2020 Share Posted March 10, 2020 What does "to no avail" mean? Link to comment Share on other sites More sharing options...
wbravin 3 Posted March 10, 2020 Share Posted March 10, 2020 hi Luke it means it still did not work sorry Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 10, 2020 Share Posted March 10, 2020 If it didn't work then it means emby server does not have access to the folder. I would use the local mount /mnt/media/movies But you'll need to make sure the emby server process has permissions to access it. Link to comment Share on other sites More sharing options...
wbravin 3 Posted March 10, 2020 Share Posted March 10, 2020 (edited) hi Luke the freenas server has wbravin and emby as users with the same password with full access in frenass shares the owner of the shares is wbravin with the same password with full access in emby i have 2 users ; emby and wbravin with the same password i really do not know what to do next or where to look thank for responding Edited March 10, 2020 by wbravin Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 10, 2020 Share Posted March 10, 2020 @@MRobi @@makarai Do you have any tips? Link to comment Share on other sites More sharing options...
MRobi 159 Posted March 10, 2020 Share Posted March 10, 2020 my destination i have /mnt/media/iocage/jails/emby/root/media/movies all is fine i add as server \\192.168.1.237 In Emby, when you create your library you should be using the above path, not an IP. When you mount your file system, it imports it into the jail as a local directory NOT as a shared network folder. So when you add your library, you'll click the + sign beside folders, you can type in the path OR the easiest way is to click through it. Click on "/" then click on "media" then click on "movies" and you'll be golden. As for permissions, I haven't played with 11.3 yet, but to my understanding there's a new access control list manager. Essentially in FreeNAS you'll just need to go to your dataset, open the ACL manager, add the Emby user to the ACL and you SHOULD be good (again I haven't played with this yet) Link to comment Share on other sites More sharing options...
MRobi 159 Posted March 10, 2020 Share Posted March 10, 2020 (edited) I have my mount to the same spot and here's what my Library setup looks like, again with NOTHING in the network share section since the mount brings it locally into the jail. EDIT: And here is the article from FreeNAS on the new ACL manager. The article is titled Plex, but should be the same for all plugins. Emby typically runs as user 989 unless you've changed it, so it should be as simple as adding 989 with full control to your dataset. https://www.ixsystems.com/blog/plex-permissions/ Edited March 10, 2020 by MRobi Link to comment Share on other sites More sharing options...
wbravin 3 Posted March 10, 2020 Share Posted March 10, 2020 Hi Mrobi thank you for your prompt reply "In Emby, when you create your library you should be using the above path, not an IP. When you mount your file system, it imports it into the jail as a local directory NOT as a shared network folder." I presume you mean the emby jail if so this is what i have "So when you add your library, you'll click the + sign beside folders, you can type in the path OR the easiest way is to click through it. Click on "/" then click on "media" then click on "movies" and you'll be golden" when i try to do this i do get media and then select movies but it all and nothing shows up "As for permissions, I haven't played with 11.3 yet, but to my understanding there's a new access control list manager. Essentially in FreeNAS you'll just need to go to your dataset, open the ACL manager, add the Emby user to the ACL and you SHOULD be good (again I haven't played with this yet) i did click on add ACL and added emby as an acl user (i realy do not know what i am doing here. However i then added a folder in emby and added (as above) \\192.168.1.237 as a server and /media/movies as an optional folder and performed a scan . Emby is now presenting a progress circle that i green then yellow then red and it been doing this for the last 5 minutes. its doing much more than before and i will see in several hours if it worked. once again thank you for responding Link to comment Share on other sites More sharing options...
MRobi 159 Posted March 10, 2020 Share Posted March 10, 2020 when i try to do this i do get media and then select movies but it all and nothing shows up Do you have your movies separated into individual folders or are they all in your movies folder? The fact that you can get to media and select movies says you're doing it right, I'm assuming you have them all in the main folder which is fine. However i then added a folder in emby and added (as above) \\192.168.1.237 as a server and /media/movies as an optional folder and performed a scan . As I said, do NOT enter an IP anywhere. Forget the IP address even exists. You are not trying to add a shared network folder here that is on a different machine. You mounted your dataset inside your jail and it is not considered a local folder in the jail. Follow the steps above, go to /media/Movies, add that folder and then run your scan. If you did your permissions properly you'll be fine. Link to comment Share on other sites More sharing options...
wbravin 3 Posted March 11, 2020 Share Posted March 11, 2020 hello all last night it did not work because the jail was stopped DUH i performed again an iocage clean -a to remove all traces of the emby jail and for the plugin in order to start a new.i downloaded the plugin againI configured the jail by selecting dhcp vnet and bpf,and autostart then savei do this because there is no way of avoiding dhcp, because if i try to input a static address i get a vnet error when saving the configuration of the jail. Be that as i may I still choose dhcp vnet and bpf and autostart. I save the config and start the jail. most of the time i get dhcp not working error.if i recycle the jail by stopping the configuration and start it again i get an IP address 192.168.1.134. I enter this IP address in my browser and i get that this site can't be reached.i check my router and it confirms the IP address for my jaili have wbravin and emby as users with identical passwordsthe pools are owned by wbravin and have an ACL instance for emby with full controlsthe shared folders are owned by wbravin and have an acl instance for emby with full controlswhat am i doing incorrectly?why can i not have a static IP address for my jail? thank you for looking at this and for your assistance Link to comment Share on other sites More sharing options...
MRobi 159 Posted March 11, 2020 Share Posted March 11, 2020 Are you entering the port when you try to access your jail? You need to go to http://192.168.1.134:8096. Without the :8096 you won't be able to access Emby. As for why you can't configure vnet, without knowing exactly what you're doing and typing in to try to configure it, or what you've setup for your network configuration in FreeNAS, it's hard to try to troubleshoot. Link to comment Share on other sites More sharing options...
wbravin 3 Posted March 11, 2020 Share Posted March 11, 2020 Are you entering the port when you try to access your jail? You need to go to http://192.168.1.134:8096. Without the :8096 you won't be able to access Emby. As for why you can't configure vnet, without knowing exactly what you're doing and typing in to try to configure it, or what you've setup for your network configuration in FreeNAS, it's hard to try to troubleshoot. thank you for your reply the dhcp address is now 192.168.1.237:8096 this is fine with regards to vnet if i untick dhcp it allows me to change the ip address to make it static by making the ip4 interface vnet0:bridge0 i insert the ip4 address 192.168.1.237 and net mask 30 i get a vnet error when i try to start the jail. under the dhcp setting emby does create the folder as you suggested but it does not populate it when i select scan thank for your help Link to comment Share on other sites More sharing options...
MRobi 159 Posted March 11, 2020 Share Posted March 11, 2020 the dhcp address is now 192.168.1.237:8096 this is fine While a DHCP address isn't a static IP, it should only really change when your router releases the IP which shouldn't happen every few hours. You should look into your router for that. with regards to vnet if i untick dhcp it allows me to change the ip address to make it static by making the ip4 interface vnet0:bridge0 i insert the ip4 address 192.168.1.237 and net mask 30 i get a vnet error when i try to start the jail. Are you entering the proper gateway IP for your router? Have you configured your interface in the network config? Are you sure you should be using net mask 30 (255.255.255.252)? under the dhcp setting emby does create the folder as you suggested but it does not populate it when i select scan I honestly have no clue what you're trying to do here. DHCP settings are network settings and have nothing to do with Emby or folders. Emby doesn't have DHCP settings. What directions are you trying to follow here to set things up? Are you using a video, or step by step guide or just clicking around trying to get it working? Link to comment Share on other sites More sharing options...
wbravin 3 Posted March 11, 2020 Share Posted March 11, 2020 While a DHCP address isn't a static IP, it should only really change when your router releases the IP which shouldn't happen every few hours. You should look into your router for that. Are you entering the proper gateway IP for your router? Have you configured your interface in the network config? Are you sure you should be using net mask 30 (255.255.255.252)? I honestly have no clue what you're trying to do here. DHCP settings are network settings and have nothing to do with Emby or folders. Emby doesn't have DHCP settings. What directions are you trying to follow here to set things up? Are you using a video, or step by step guide or just clicking around trying to get it working? Thank you Mrobie for your suggestion s I will set the static route in my router from youtube and reading the emby documentation and getting by clicking in o logical process I still cannot get any content into my emby folders thank for your help Link to comment Share on other sites More sharing options...
MRobi 159 Posted March 11, 2020 Share Posted March 11, 2020 @@wbravin can you post a screenshot of exactly what you're inputting as your folder. Link to comment Share on other sites More sharing options...
wbravin 3 Posted March 11, 2020 Share Posted March 11, 2020 Hi Mrobie sorry i do not know ho to attach a screenshot to this forum. If i can explain in setting you emby server one get to a point where it ask to add a folder so i entered as you suggested /media/movies and emby created a folder called movies this is fine then i go to the dashboard and select libraries I see my movies folder and then select scan all libraries. instead of seeing the progress bar building as it loads the movies into the folder. This propgress bar should take some time whils emby is addin movies to the server I see the progress bar for a split second and then nothing. I check in the folder for movies hopping to see movie titles but the folder is empty thank you for your constant help 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