preedy 1 Posted December 31, 2019 Share Posted December 31, 2019 freenas 11.2 u7 Emby 4.2.1.0_1 I'm following the installing Emby instructions. Because I had user issue when I tried it myself. After installing emby, the server is running and has ip: can access the shell. and www. Then I do this part. I use 8675309 for my uid and gid, service emby-server stop change the group and user id: pw groupmod emby -n emby -g 1101 pw usermod emby -n emby -u 1101 -g 1101 change the permission on the emby executables: chown -R emby:emby /var/db/emby-server/ tell the jail which user is using the emby server sysrc 'emby_server_user=emby' start the emby server service emby-server start At this point the Emby server will not start. no shell Ive tried, shell for my freenas cd /mnt/media/iocage/jails/emby I found that my /vars/run/emby-server.pid was set to uid gid of 989 so I chown 8675309:8675309 vars/run/emby-server.pid and still not running. any ideas?? Thank you for your time Link to comment Share on other sites More sharing options...
Luke 37063 Posted December 31, 2019 Share Posted December 31, 2019 HI there, what happens if you change it back? Link to comment Share on other sites More sharing options...
preedy 1 Posted December 31, 2019 Author Share Posted December 31, 2019 (edited) not sure,,Ill give it a try. I do not know how i can not get in the jail shell. if i try to change emby user in /mnt/media/iocage/jails/emby it says no user found. Edited December 31, 2019 by preedy Link to comment Share on other sites More sharing options...
makarai 108 Posted December 31, 2019 Share Posted December 31, 2019 (edited) I don't really know this but is the UID number space limited? 8675309 seems quite a high number? Edited December 31, 2019 by makarai Link to comment Share on other sites More sharing options...
preedy 1 Posted December 31, 2019 Author Share Posted December 31, 2019 i believe its the defualt for media uid and gid in freenas Link to comment Share on other sites More sharing options...
preedy 1 Posted December 31, 2019 Author Share Posted December 31, 2019 ok, I figured it out, it was a mount point error. I deleted my mounting points and now it starts. So,, what is wrong with Source: /mnt/media destination: /mnt/media/iocage/jails/emby/root/movemby Link to comment Share on other sites More sharing options...
preedy 1 Posted December 31, 2019 Author Share Posted December 31, 2019 ok once again, figured it out. it was permission on root they were root:wheel now media:media and it works. Sorry about posting, but ive been working days on this. and lucky got it. thanks. Link to comment Share on other sites More sharing options...
Solution MRobi 159 Posted January 1, 2020 Solution Share Posted January 1, 2020 ok, I figured it out, it was a mount point error. I deleted my mounting points and now it starts. So,, what is wrong with Source: /mnt/media destination: /mnt/media/iocage/jails/emby/root/movemby Looking at your folder structure, if your source is /mtn/media you'll be mounting all of your jails inside the emby jail as well which could cause a recurring loop. This is because your iocage folder is located inside mnt/media If you changed ownership of /mnt/media and made that recursive you might have changed ownership on all of your jails as well which is likely causing you issues somewhere else. It should look more like this: Source: /mnt/media/DATASET/LocationOfMediaFiles Destination: /mnt/media/iocage/jails/emby/root/movemby 1 Link to comment Share on other sites More sharing options...
preedy 1 Posted January 5, 2020 Author Share Posted January 5, 2020 Thank you MRobi, I did figure that out shortly after I posted it. now nearly everthing is working correctly. Ill start a new post on my next problem 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