Jump to content


Photo

Path could not be found

rclone mount onedrive emby library path

Best Answer DutchEllie , 07 February 2020 - 03:19 PM

Hi there, probably same question as here:

https://emby.media/c...der-is-missing/

 

And i would also see here:

https://emby.media/c...ew-linux-users/

 

Thanks.

 

Those did not help, but as always when I post something on a forum I figured it out myself.

The reason it did not work was because the permissions for the mounted onedrive folder work quite differently from regular folder permissions, in the sense that you cannot just sudo chown or sudo chmod them. You have to specify the permissions beforehand when mounting the drive. I figured out after some searching that there is a flag called --allow-other in the rclone mount command, as well as an --allow-root. So what happened was when I mounted the drive to the folder I did it using the qbtuser, therefor the ownership was in the hands of the qbtuser. This worked great for qbittorrent, but not for anything else. I unmounted it using qbtuser and mounted it again using the root user (sudo su) and added the flag --allow-other. Worked absolutely perfectly... Thanks anyway

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 DutchEllie OFFLINE  

DutchEllie

    Newbie

  • Members
  • 2 posts
  • Local time: 04:15 AM

Posted 07 February 2020 - 02:48 PM

Hi all,

 

I just installed emby server on my linux vps. I want to have my emby libraries on a different server however, specifically a onedrive server. Don't worry, I have that all sorted out, using rclone and a cache. It works like a charm. However, the folder currently is in the root directory, under the name of /onedrive owned by a user and group called qbtuser (from qbittorrent) so it can write nicely to it. Now I need to assign the emby libraries to somewhere like /onedrive/movies and /onedrive/series. However when I try to add a library in emby server and specify the folder, /onedrive is not found.

 

/onedrive is owned by user and group qbtuser, and the directories and files inside are given the permissions of 775. The folder /onedrive itself also has permissions 775. Now, not only does that mean that everyone should be able to read and see what is in every folder, but the first problem arose when the root user tried to read from the /onedrive folder, and they are not allowed to.. Now also emby is not allowed to read or anything. 

 

There is a group qbtuser as mentioned before and I have added emby to that, and even rebooted the server, but it still does not work.

I am out of ideas. Anyone else got any ideas?

 



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153199 posts
  • Local time: 11:15 PM

Posted 07 February 2020 - 02:50 PM

Hi there, probably same question as here:

https://emby.media/c...der-is-missing/

 

And i would also see here:

https://emby.media/c...ew-linux-users/

 

Thanks.



#3 DutchEllie OFFLINE  

DutchEllie

    Newbie

  • Members
  • 2 posts
  • Local time: 04:15 AM

Posted 07 February 2020 - 03:19 PM   Best Answer

Hi there, probably same question as here:

https://emby.media/c...der-is-missing/

 

And i would also see here:

https://emby.media/c...ew-linux-users/

 

Thanks.

 

Those did not help, but as always when I post something on a forum I figured it out myself.

The reason it did not work was because the permissions for the mounted onedrive folder work quite differently from regular folder permissions, in the sense that you cannot just sudo chown or sudo chmod them. You have to specify the permissions beforehand when mounting the drive. I figured out after some searching that there is a flag called --allow-other in the rclone mount command, as well as an --allow-root. So what happened was when I mounted the drive to the folder I did it using the qbtuser, therefor the ownership was in the hands of the qbtuser. This worked great for qbittorrent, but not for anything else. I unmounted it using qbtuser and mounted it again using the root user (sudo su) and added the flag --allow-other. Worked absolutely perfectly... Thanks anyway


  • Luke likes this

#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153199 posts
  • Local time: 11:15 PM

Posted 07 February 2020 - 03:47 PM

Thanks for the feedback !







Also tagged with one or more of these keywords: rclone, mount, onedrive, emby, library, path

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users