Ranse 3 Posted February 25, 2021 Share Posted February 25, 2021 Hello , I have two servers running Emby. Both share same library on DS918+ Ds918+ has emby installed natively (not docker) and works fine most of the time. The other server runs on Ubuntu 20.04 also natively (HP 800g2 mini Core I5 6500U). I need help with Ubuntu server , since it does not work properly. I have mounted the shares using CIFS (samba) and I can add or delete form Ubuntu Nautilus file explorer without any issues. But from emby , I cannot , getting permission error (see the picture). Apologies if this was covered before, but I have just started using emby. Okay so my questions are: 1.How can I fix the issue with the permissions on Ubuntu server ? 2.Will there be noticeable gains in terms of performance for Emby server compared to Ds918+ ? Ds918+ has Intel celeron J3455 - passmark 2117 HP 800g2 Mini has intel core i5 6500t - passmark 4802 3. Is it possible to sync user data across two servers ? For example user profiles , and their watchlists with current and future progress ( basically seamlessly continue watching between two) Sorry for long post , I can provide the logs and other details if necessary . P.S. I have Emby Premiere Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted February 25, 2021 Share Posted February 25, 2021 1) fix your permisisons. Nautilus is not emby so that fact is moot. there is KB article about how to do this on the forum and thousands on the internet. 2) if you are only direct playing/streaming (not transcoding) media, it makes no difference. if you are, all-in-one NAS are garbage, either convert your media so everyone can direct play/stream it, or invest in something that has the guts to transcode. fyi if you divide your passmak score by 1000, thats roughly how many transcodes the server is capable of concurrently, so 3) yes, multiple topics on here regarding that as well. tl;dr do some homework, and post again with stuff that comes up. Link to comment Share on other sites More sharing options...
Ranse 3 Posted February 25, 2021 Author Share Posted February 25, 2021 37 minutes ago, mastrmind11 said: 1) fix your permisisons. Nautilus is not emby so that fact is moot. there is KB article about how to do this on the forum and thousands on the internet. 2) if you are only direct playing/streaming (not transcoding) media, it makes no difference. if you are, all-in-one NAS are garbage, either convert your media so everyone can direct play/stream it, or invest in something that has the guts to transcode. fyi if you divide your passmak score by 1000, thats roughly how many transcodes the server is capable of concurrently, so 3) yes, multiple topics on here regarding that as well. tl;dr do some homework, and post again with stuff that comes up. 1. I have tried with NFS , but I have encountered some weird issues: a) unbearably slow scans about 7tb mixed content b) in Synology GUI there is an option for NFS settings I have allowed clients to have RW access from whole 192.168.1.0/24 and from Ubuntu as well 192.168.1.18, and sqash set to map all to admin, Under ubuntu It showed as mounted , with df . Link to comment Share on other sites More sharing options...
Ranse 3 Posted February 25, 2021 Author Share Posted February 25, 2021 2) got it thanks for explanation. 3) was looking in KB articles did not found , will look more in here. Link to comment Share on other sites More sharing options...
Ranse 3 Posted February 25, 2021 Author Share Posted February 25, 2021 in short I gave up on trying to mount with NFS and tried to do the same with CIFS Scans are way faster Link to comment Share on other sites More sharing options...
Luke 37097 Posted February 26, 2021 Share Posted February 26, 2021 Has this resolved your issue? Link to comment Share on other sites More sharing options...
Ranse 3 Posted February 26, 2021 Author Share Posted February 26, 2021 No, The issue lies with synology uid it seems. Here is a link from syno forum,someone had issues with NFS https://community.synology.com/enu/forum/1/post/129603 I'm trying to match ubuntu user uid with what I have on ds918 Link to comment Share on other sites More sharing options...
Ranse 3 Posted February 27, 2021 Author Share Posted February 27, 2021 can't get the damn thing to work ! I have tried this : Matched uid and gid on synology and ubuntu -- did not work after the above, tried to run emby server under my username (not emby user) based on this post from emby community tried to run nfs4.1 with idmapping that too did not work, but I am lacking the knowledge to properly implement this. So, if you want to have it run under a user called newuser systemctl stop emby-server vim /usr/lib/systemd/system/emby-server.service Change 'User=emby' to 'User=newuser' Save emby-server.service chown -R newuser:newuser /var/lib/emby/ systemctl start emby-server systemctl status emby-server This is too did not work... The only way I can get this working , is too allow rw access to guest account under synology share settings for media folder. If somebody can help me out with this, I would appreciate it . Link to comment Share on other sites More sharing options...
Luke 37097 Posted February 27, 2021 Share Posted February 27, 2021 Hi, why not just use the defaults with the emby user that gets created? Link to comment Share on other sites More sharing options...
Ranse 3 Posted February 27, 2021 Author Share Posted February 27, 2021 @Luke Because by default first user in ubuntu fedora etc, has uid 1000 On Synology for some reason user uids start from 1025, thus mismatches and folder permission issues with NFS Emby user (on ubuntu) can read , but no rw unless it is properly matched with uid. Emby user on NAS has no such issues. I hope this explains my issue, can provide more info if needed. Link to comment Share on other sites More sharing options...
alucryd 216 Posted March 9, 2021 Share Posted March 9, 2021 (edited) @Ranse Do you absolutely require NFS? This is one case where CIFS would be preferable due to its configurable permissions on the client side. As far as I can remember, the host side can also force permissions for newly created files and dirs. Edited March 9, 2021 by alucryd Link to comment Share on other sites More sharing options...
Luke 37097 Posted March 10, 2021 Share Posted March 10, 2021 @Ranse has this helped? Link to comment Share on other sites More sharing options...
rylando 0 Posted March 30, 2021 Share Posted March 30, 2021 I use NFS without issue. Check both the Permissions tab and the NFS Permissons tab. I didn't have match up any IDs, but since this is a benign location, I did open up full access. Link to comment Share on other sites More sharing options...
Luke 37097 Posted April 7, 2021 Share Posted April 7, 2021 @Ranse? 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