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

Using the no-seek argument causes a bug #63

Open
HidemaruOwO opened this issue Oct 19, 2023 · 0 comments
Open

Using the no-seek argument causes a bug #63

HidemaruOwO opened this issue Oct 19, 2023 · 0 comments

Comments

@HidemaruOwO
Copy link

  • Plugin version (or commit ref) : latest
  • Docker version : 24.0.6, build ed223bc
  • Plugin type : legacy
  • Operating system: Fedora 38

Description

If I create a volume using the --no-seek option as args, the files in the volume will be empty (do not get)
SEEK should be avoided due to its high processing load
...

Logs

  • Don't use --no-seek

In this case, the existence of the file is firmly confirmed.

root@thinkcentre-any ~# docker volume rm nextcloud_dav && docker volume create --driver sapk/plugin-rclone --opt config="$(base64 ~/.config/rclone/rclone.conf)" --opt remote=nextcloud: --name nextcloud_dav --opt args="--allow-root --allow-other"
nextcloud_dav
nextcloud_dav

root@thinkcentre-any ~# docker run -itd --name testvolume -v nextcloud_dav:/nc_dav busybox && docker exec -it testvolume /bin/sh && docker stop testvolume && docker rm testvolume
6a36381e1127a4876653e6df99d86fc5f85c0baef14bd72ee8169b9835ef7bb1
/ # ls nc_dav
Audio      Books      Documents  Photos     Video      public
/ #
  • Use --no-seek

In this case, the existence of the file cannot be firmly confirmed.

root@thinkcentre-any ~# docker volume rm nextcloud_dav && docker volume create --driver sapk/plugin-rclone --opt config="$(base64 ~/.config/rclone/rclone.conf)" --opt remote=nextcloud: --name nextcloud_dav --opt args="--allow-root --allow-other --no-seek"
nextcloud_dav
nextcloud_dav

root@thinkcentre-any ~# docker run -itd --name testvolume -v nextcloud_dav:/nc_dav busybox && docker exec -it testvolume /bin/sh && docker stop testvolume && docker rm testvolume
b7f961e9f8290f9faedbfd07adcb8f39a70018a6d1ccd855c3ca460ac7586532
/ # ls nc_dav/
/ #
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

1 participant