Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listing mounted "Remote/onedrive" shows Input/output error (os error 5) on v1.65.0 #7476

Closed
tleepa opened this issue Dec 1, 2023 · 2 comments

Comments

@tleepa
Copy link

tleepa commented Dec 1, 2023

The associated forum post URL from https://forum.rclone.org

None

What is the problem you are having with rclone?

Since version v1.65.0 listing mounted Onedrive (business) remote shows error "Remote/onedrive": Input/output error (os error 5).

It was working fine until v1.64.2 (all installed in the same way - from releases' rpm artifacts, not from my distribution's repositories).

Listing remote via rclone ls onedrive: is working fine.

What is your rclone version (output from rclone version)

rclone v1.65.0
- os/version: fedora 39 (64 bit)
- os/kernel: 6.6.2-201.fc39.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: none

installed via dnf from https://github.com/rclone/rclone/releases/download/v1.65.0/rclone-v1.65.0-linux-amd64.rpm

Which OS you are using and how many bits (e.g. Windows 7, 64 bit)

as above

Which cloud storage system are you using? (e.g. Google Drive)

Onedrive

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone mount --vfs-cache-mode full --vfs-cache-max-size 100M --log-level DEBUG --log-file /tmp/rclone-onedrive.log --umask 077 oned-cg: /home/USERNAME/Remote/onedrive

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

2023/11/29 10:23:44 DEBUG : rclone: Version "v1.65.0" starting with parameters ["rclone" "mount" "--vfs-cache-mode" "full" "--vfs-cache-max-size" "100M" "--log-level" "DEBUG" "--log-file" "/tmp/rclone-onedrive.log" "--umask" "077" "onedrive:" "/home/USERNAME/Remote/onedrive"]
2023/11/29 10:23:44 DEBUG : Creating backend with remote "onedrive:"
2023/11/29 10:23:44 DEBUG : Using config file from "/home/USERNAME/.config/rclone/rclone.conf"
2023/11/29 10:23:45 DEBUG : OneDrive root '': Next delta token is: REDACTED
2023/11/29 10:23:45 DEBUG : vfs cache: root is "/home/USERNAME/.cache/rclone"
2023/11/29 10:23:45 DEBUG : vfs cache: data root is "/home/USERNAME/.cache/rclone/vfs/onedrive"
2023/11/29 10:23:45 DEBUG : vfs cache: metadata root is "/home/USERNAME/.cache/rclone/vfsMeta/onedrive"
2023/11/29 10:23:45 DEBUG : Creating backend with remote "/home/USERNAME/.cache/rclone/vfs/onedrive/"
2023/11/29 10:23:45 DEBUG : fs cache: renaming cache item "/home/USERNAME/.cache/rclone/vfs/onedrive/" to be canonical "/home/USERNAME/.cache/rclone/vfs/onedrive"
2023/11/29 10:23:45 DEBUG : Creating backend with remote "/home/USERNAME/.cache/rclone/vfsMeta/onedrive/"
2023/11/29 10:23:45 DEBUG : fs cache: renaming cache item "/home/USERNAME/.cache/rclone/vfsMeta/onedrive/" to be canonical "/home/USERNAME/.cache/rclone/vfsMeta/onedrive"
2023/11/29 10:23:45 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/11/29 10:23:45 DEBUG : OneDrive root '': Mounting on "/home/USERNAME/Remote/onedrive"
2023/11/29 10:23:45 DEBUG : : Root: 
2023/11/29 10:23:45 DEBUG : : >Root: node=/, err=<nil>
2023/11/29 10:24:19 DEBUG : /: Attr: 
2023/11/29 10:24:19 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwx------, err=<nil>
2023/11/29 10:24:19 DEBUG : /: ReadDirAll: 
2023/11/29 10:24:19 DEBUG : REDACTED: OneNote file not shown in directory listing
2023/11/29 10:24:19 DEBUG : REDACTED: OneNote file not shown in directory listing
2023/11/29 10:24:19 DEBUG : : Dir.ReadDirAll error: unknown object type <nil>
2023/11/29 10:24:19 ERROR : IO error: unknown object type <nil>
2023/11/29 10:24:19 DEBUG : /: >ReadDirAll: item=-1, err=unknown object type <nil>
2023/11/29 10:24:44 INFO  : Signal received: interrupt
2023/11/29 10:24:44 DEBUG : vfs cache: cleaner exiting
2023/11/29 10:24:44 ERROR : /home/USERNAME/Remote/onedrive: Unmounted rclone mount
2023/11/29 10:24:44 INFO  : Exiting...
@Animosity022
Copy link
Collaborator

Please check:

https://forum.rclone.org/t/onedrive-fails-to-list-certain-files-1-65/43104/7

If you still have an issue, please post on the forums..

https://forum.rclone.org

@ncw
Copy link
Member

ncw commented Dec 2, 2023

I have merged the fix for this in the latest beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants