nevolex 4 Posted December 31, 2019 Share Posted December 31, 2019 (edited) Hi and happy new year everyone, I have Emby Installed on Ubuntu Server (as a VM), the media folder is a smb share mounted to the VM , Emby I believe (not 100% sure), has access to it ? I also installed Backup plugin but it cannot save logs because it has no access to the directory for some reason Folder: Emby_Backup - I created for it Emby Backup - it tried to create by itself, but the folder doesn't exist to the path '/mnt/MyMedia/Emby_Backup/Emby Backup - 2019-12-31 00.10.0 - Auto' is denied. at System.IO.FileSystem.CreateDirectory(String fullPath) at System.IO.Directory.CreateDirectory(String path) at Emby.Server.Implementations.IO.ManagedFileSystem.CreateDirectory(String path) at MBBackup.ServerEntryPoint.ExecuteBackup(BackupProfile settings, CancellationToken cancellationToken, IProgress`1 progress, Boolean isAuto) at MBBackup.Entities.ScheduledBackupTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) Thank you Edited January 1, 2020 by nevolex Link to comment Share on other sites More sharing options...
nevolex 4 Posted January 1, 2020 Author Share Posted January 1, 2020 I think I was wrong. "emby" user group doesn't have full access to the folders, just "read and execute"? drwxr-xr-x 2 root root 0 Dec 30 20:53 Emby_Backup I am not very good with Linux permissions, is this how to fix it? sudo chgrp -R emby /mnt/MyMedia/Emby_Backup sudo chmod -R g+w /mnt/MyMedia/Emby_Backup Thank you Link to comment Share on other sites More sharing options...
Luke 37248 Posted January 1, 2020 Share Posted January 1, 2020 Hi, you'll need to make sure emby server has permissions to the folder. Have you checked out this guide? https://emby.media/community/index.php?/topic/32218-file-permissions-guide-for-new-linux-users/?view=getnewpost Link to comment Share on other sites More sharing options...
nevolex 4 Posted January 1, 2020 Author Share Posted January 1, 2020 Hi, Thank you for the link, but I am still a bit confused my fstab is currently has 1 option: //10.0.0.2/MyMedia /mnt/MyMedia cifs credentials=/var/credentials 0 0 Shell I just add this as the 2nd one ? : //10.0.0.2/MyMedia /mnt/MyMedia rw,uid=emby,gid=emby Link to comment Share on other sites More sharing options...
Luke 37248 Posted January 1, 2020 Share Posted January 1, 2020 Yea I would try that. Let us know if this helps. Thanks. Link to comment Share on other sites More sharing options...
Solution nevolex 4 Posted January 1, 2020 Author Solution Share Posted January 1, 2020 (edited) Hi Luke, I got it working, finally: sudo mount -t cifs -o credentials=/var/credentials,uid=emby,gid=emby //10.0.0.2/MyMedia /mnt and for the fstab //10.0.0.2/MyMedia /mnt/MyMedia cifs uid=emby,gid=emby,credentials=/var/credentials 0 0 Thank you Edited January 1, 2020 by nevolex 1 Link to comment Share on other sites More sharing options...
Luke 37248 Posted January 1, 2020 Share Posted January 1, 2020 Thanks for the feedback ! 1 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