StuShort
(Stuart Short)
February 5, 2024, 9:36am
1
I can not get my OneDrive to mount correctly on my Ubuntu 23.10 server.
I have it working perfectly on a VM. I have reinstalled it but i get the same error.
When I installed it on my VM when accessing the onedrive URL automatically displayed the Microsoft browser and asked for both user name and password.
On the server I had to open the URL it asked for a user name but not the password.
Is it missing my OneDrive password?
Apologies for any errors/omissions/mistakes this is my first post.
Rclone Version
rclone v1.65.2
- os/version: ubuntu 23.10 (64 bit)
- os/kernel: 6.5.0-15-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.6
- go/linking: static
- go/tags: snap
I am using Microsoft OneDrive Personal.
stuart@sslt1:~$ rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive &
[1] 12774
stuart@sslt1:~$ 2024/02/05 09:24:05 Fatal error: failed to mount FUSE fs: cannot get mounts: open /proc/self/mountinfo: permission denied
[1]+ Exit 1 rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive
stuart@sslt1:~$ rclone config redacted
[OneDrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
Please advise what log to include
Any help with this would be greatly appreciated.
Run:
rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive -vv
and
ls -l ~/OneDrive
and post output here
StuShort
(Stuart Short)
February 5, 2024, 10:33am
3
stuart@sslt1:~$ rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive -vv
2024/02/05 10:30:11 DEBUG : rclone: Version "v1.65.2" starting with parameters ["/snap/rclone/492/bin/rclone" "--vfs-cache-mode" "writes" "mount" "OneDrive:" "/home/stuart/OneDrive" "-vv"]
2024/02/05 10:30:11 DEBUG : Creating backend with remote "OneDrive:"
2024/02/05 10:30:11 DEBUG : Using config file from "/home/stuart/snap/rclone/492/.config/rclone/rclone.conf"
2024/02/05 10:30:12 DEBUG : OneDrive root '': Next delta token is: aTE09NjM4NDI3MDk1NjEwNTA7SUQ9RTZBMTRCRkQxMzQzNEQyITEwMTtMUj02Mzg0MjcyNTgxMjI2MDtFUD0yMDtTST03O0RMRVA9MDtTRz0xO1NPPTY7UEk9Mw
2024/02/05 10:30:12 DEBUG : vfs cache: root is "/home/stuart/snap/rclone/492/.cache/rclone"
2024/02/05 10:30:12 DEBUG : vfs cache: data root is "/home/stuart/snap/rclone/492/.cache/rclone/vfs/OneDrive"
2024/02/05 10:30:12 DEBUG : vfs cache: metadata root is "/home/stuart/snap/rclone/492/.cache/rclone/vfsMeta/OneDrive"
2024/02/05 10:30:12 DEBUG : Creating backend with remote "/home/stuart/snap/rclone/492/.cache/rclone/vfs/OneDrive/"
2024/02/05 10:30:12 DEBUG : fs cache: renaming cache item "/home/stuart/snap/rclone/492/.cache/rclone/vfs/OneDrive/" to be canonical "/home/stuart/snap/rclone/492/.cache/rclone/vfs/OneDrive"
2024/02/05 10:30:12 DEBUG : Creating backend with remote "/home/stuart/snap/rclone/492/.cache/rclone/vfsMeta/OneDrive/"
2024/02/05 10:30:12 DEBUG : fs cache: renaming cache item "/home/stuart/snap/rclone/492/.cache/rclone/vfsMeta/OneDrive/" to be canonical "/home/stuart/snap/rclone/492/.cache/rclone/vfsMeta/OneDrive"
2024/02/05 10:30:12 Fatal error: failed to mount FUSE fs: cannot get mounts: open /proc/self/mountinfo: permission denied
stuart@sslt1:~$ ls -i ~/OneDrive
stuart@sslt1:~$
You are using snap installed rclone. As per docs :
Note: Due to the strict confinement of Snap, rclone mount
feature is not
supported.
Uninstall it and install normal version by running:
sudo -v ; curl https://rclone.org/install.sh | sudo bash
StuShort
(Stuart Short)
February 5, 2024, 10:41am
5
Thanks for the help how do I uninstall it?
Open Software Centre, go to rclone and click uninstall?
Something like this:
Or check snap documentation and use command line.
As you can install with sudo snap install rclone
then maybe you can sudo snap uninstall rclone
I do not use snap so no idea about details.
StuShort
(Stuart Short)
February 5, 2024, 1:25pm
7
That worked thank you very much your support greatly appreciated.
FYI The snap command to uninstall is 'remove' well that worked for me :).
system
(system)
Closed
February 8, 2024, 1:26pm
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.