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

Cache - Path not found #1834

Closed
FoGBaV opened this Issue Nov 18, 2017 · 11 comments

Comments

Projects
None yet
4 participants
@FoGBaV

FoGBaV commented Nov 18, 2017

rclone v1.38-105-g31d2fb4e

  • os/arch: windows/amd64
  • go version: go1.9.1

Windows 10 64 Bit

Gdrive Storage (Business unlimited)

ok … after complete deleting the cache dir and start from scratch - after getting into subdir following error comes up :

2017/11/18 11:39:32 ERROR : IO error: file is too short to be encrypted
2017/11/18 11:39:32 ERROR : worker-1 : failed caching chunk in storage 0: open cache/gcache/fas9qo4eirl3pntkfjqqmi08hs/kp70u7dtkqn63dl5caa9ikirc4/3ct4j7ed9lbofra5m5em55ed527v8tlm3qr5pgc3j4sasp0sunog/dmgjhbr77l4lto6ebr8jm4qfvnq16j69v5106lqkl0e8nie9o19ti21e1m7pf8oaacmj7u0livk7ki6ue28mqefpcgahrk0cu2102992noerbd4hvcsb3ag4qtevk59d/ir2h35b4b3085tagvinv7d3q3nn1mcktheg7gcbh8spqo0nmh700/0: Das System kann den angegebenen Pfad nicht finden.

Could not find the path - is it possible, that the path is to long (in cache dir) for Windows 10 ? (so storage in file system is not the best way to go ?)

Mounted dir then gets out of order - big dir has only one file left (the one i tried to open).

Gdrive -> Cache -> Crypt

Without Cache - everything accessable … same structure - same storage …

@ncw

This comment has been minimized.

Owner

ncw commented Nov 18, 2017

I think this is likely the cache not working properly on Windows - what do you think @remusb ?

@remusb

This comment has been minimized.

Collaborator

remusb commented Nov 20, 2017

@ncw #1836 (comment)
Same deal I suspect. There seems to be multiple issues on OS's different than my main. I'll setup some VMs this week to try and replicate these issues on them.

@remusb

This comment has been minimized.

Collaborator

remusb commented Nov 20, 2017

@FoGBaV on a Linux OS this was a permission issue. Just want to rule this out, I know Windows isn't that strict about this but there are some special cases like the C:\ drive where special permissions are needed to write files.

@remusb remusb self-assigned this Dec 5, 2017

@remusb

This comment has been minimized.

Collaborator

remusb commented Dec 9, 2017

@FoGBaV I'm sorry for the delay. There's a new beta that I would like you to try and see if you exhibit the same issue.

https://beta.rclone.org/v1.38-217-gb48b5373/
The doc was updated with new configuration: https://github.com/ncw/rclone/blob/master/docs/content/cache.md

I never managed to replicate the scenario you presented here but I also had some issues in setting up a Windows runtime for this too so maybe I just didn't do that right either.

@ncw ncw added this to the Known Problem milestone Dec 14, 2017

@remusb

This comment has been minimized.

Collaborator

remusb commented Dec 18, 2017

@FoGBaV
New beta: https://beta.rclone.org/v1.38-238-g6f1ae00c/
from #1904

I'm fairly certain (as in other cases) that the issue was related to the linked one. But I'm still keeping it open on account of being on Windows and never really having a proper chance to dig better in it. I would appreciate your help if you can confirm that you're still seeing it with the recent beta.

Thank you

@remusb

This comment has been minimized.

Collaborator

remusb commented Dec 20, 2017

https://beta.rclone.org/v1.38-242-g0d4bff82/

New beta. Also related to paths and location on Windows

@FoGBaV

This comment has been minimized.

FoGBaV commented Dec 20, 2017

Hi remusb - sorry for not beeing back here for long time ... i was quite busy in my job.

Will test in detail tomorrow ... short test gives me a empty drive - log says it's catching first file ... but nothing comes up ... i will post logs tomorrow - and i will test on other pcs ..

Many thanks for your great effort !

command :

rclone mount --config=./rclone.conf --cache-db-path=./Cache --allow-non-empty --allow-other -vv gdrivecryptc: a:

log (repeating) :

2017/12/20 22:45:22 DEBUG : /.bzvol/bzvol_id.xml: >Getattr: errc=-2
2017/12/20 22:45:32 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2017/12/20 22:45:32 DEBUG : /: >Getattr: errc=0
2017/12/20 22:45:32 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2017/12/20 22:45:32 DEBUG : /: >Getattr: errc=0
2017/12/20 22:45:32 DEBUG : /: Opendir:
2017/12/20 22:45:32 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2017/12/20 22:45:32 DEBUG : /: >OpenFile: fd=/ (r), err=
2017/12/20 22:45:32 DEBUG : /: >Opendir: errc=0, fh=0x0
2017/12/20 22:45:32 DEBUG : /: Statfs:
2017/12/20 22:45:32 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:8796093022207 Bfree:8796093022207 Bavail:8796093022207 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2017/12/20 22:45:32 DEBUG : /: Releasedir: fh=0x0
2017/12/20 22:45:32 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2017/12/20 22:45:32 DEBUG : /: >Getattr: errc=0
2017/12/20 22:45:32 DEBUG : /: >Releasedir: errc=0
2017/12/20 22:45:32 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2017/12/20 22:45:32 DEBUG : /: >Getattr: errc=0
2017/12/20 22:45:32 DEBUG : /: Opendir:
2017/12/20 22:45:32 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2017/12/20 22:45:32 DEBUG : /: >OpenFile: fd=/ (r), err=
2017/12/20 22:45:32 DEBUG : /: >Opendir: errc=0, fh=0x0
2017/12/20 22:45:32 DEBUG : /: Releasedir: fh=0x0
2017/12/20 22:45:32 DEBUG : /: >Releasedir: errc=0
2017/12/20 22:45:32 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2017/12/20 22:45:32 DEBUG : /: >Getattr: errc=0
2017/12/20 22:45:32 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2017/12/20 22:45:32 DEBUG : /: >Getattr: errc=0
2017/12/20 22:45:32 DEBUG : /: Opendir:
2017/12/20 22:45:32 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2017/12/20 22:45:32 DEBUG : /: >OpenFile: fd=/ (r), err=
2017/12/20 22:45:32 DEBUG : /: >Opendir: errc=0, fh=0x0
2017/12/20 22:45:32 DEBUG : /: Readdir: ofst=0, fh=0x0
2017/12/20 22:45:32 DEBUG : /: >Readdir: items=0, errc=0
2017/12/20 22:45:32 DEBUG : /: Releasedir: fh=0x0
2017/12/20 22:45:32 DEBUG : /: >Releasedir: errc=0
2017/12/20 22:45:32 DEBUG : /.bzvol/bzvol_id.xml: Getattr: fh=0xFFFFFFFFFFFFFFFF
2017/12/20 22:45:32 DEBUG : /.bzvol/bzvol_id.xml: >Getattr: errc=-2

@remusb

This comment has been minimized.

Collaborator

remusb commented Dec 20, 2017

Can you make sure to start again from an empty cache using the recent betas? And the config has suffered a minor change too. Can you post that as well?

Those logs don't even show cache being used at all. None of them come from it sadly.

@FoGBaV

This comment has been minimized.

FoGBaV commented Jan 2, 2018

Hi remusb - sorry for the delay ... Cache works now ... rclone.Config Error on my system ... ups ... 8)

Will test ... first files started ok ... (Official 1.39 Version)

On Windows 10 - still path not found errors ...

@remusb

This comment has been minimized.

Collaborator

remusb commented Jan 30, 2018

Hi @FoGBaV

Found a bug in Windows related to this and pushed it with one of the recent enhancements. Can you give it a try if you're still interested? https://beta.rclone.org/v1.39-099-gb3d8b7e2/

Thanks

@remusb

This comment has been minimized.

Collaborator

remusb commented Feb 12, 2018

Closing this as it's likely the same cause as here: #1935

@FoGBaV if you encounter the issue again please feel free to reopen it.

@remusb remusb closed this Feb 12, 2018

@B4dM4n B4dM4n modified the milestones: Known Problem, v1.40 Feb 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment