yadayada / acd_cli

An unmaintained command line interface and FUSE filesystem for Amazon (Cloud) Drive
Other
1.35k stars 165 forks source link

sync breaks my mount #494

Closed NicoLeOca closed 7 years ago

NicoLeOca commented 7 years ago

Hi, I got an issue and I don't know what's going on. It may come from acdcli but I don't know.

I synced and my mounted folder (/media/.acd) disappeared I fixed it by running: /bin/fusermount -u /media/.acd acdcli mount -ro /media/.acd then it appeared again

here are my logs if someone wants to investigate. around 19:10; there are errors I don't understand can you help please?

https://gist.github.com/NicoLeOca/f49e93ad7bf838cce446024e61f2eae6

[EDIT] to be more precise, something has happened here

16-11-24 19:08:08.385 [INFO] [acdcli.cache.schema] - DB schema version is 2.
16-11-24 19:08:08.386 [DEBUG] [acdcli.cache.db] - Set busy_timeout to 30000. Result: 30000.
16-11-24 19:08:08.386 [DEBUG] [acdcli.cache.db] - Set journal_mode to wal. Result: wal.
16-11-24 19:08:08.387 [DEBUG] [acd_cli] - Namespace(acd_client=<acdcli.api.client.ACDClient object at 0x7f1c5e960278>, action='sync', cache=<acdcli.cache.db.NodeCache object at 0x7f1c5e9d0470>, check=0, color=2, debug=None, from_file=None, full=False, func=<function sync_action at 0x7f1c5e9a0488>, log=True, no_wait=False, to_file=None, utf=False, verbose=None)
16-11-24 19:08:08.387 [INFO] [acdcli.api.metadata] - Getting changes with checkpoint "CKvvpfOIKxoA".
16-11-24 19:08:08.388 [DEBUG] [acdcli.api.backoff_req] - Retry 0, waiting -0.022891s
16-11-24 19:08:08.388 [INFO] [acdcli.api.backoff_req] - POST "https://cdws.us-east-1.amazonaws.com/drive/v1/changes"
16-11-24 19:08:08.388 [DEBUG] [acdcli.api.backoff_req] - {"includePurged": "true", "checkpoint": "CKvvpfOIKxoA"}
16-11-24 19:08:08.392 [INFO] [requests.packages.urllib3.connectionpool] - Starting new HTTPS connection (1): cdws.us-east-1.amazonaws.com
16-11-24 19:08:08.851 [DEBUG] [requests.packages.urllib3.connectionpool] - "POST /drive/v1/changes HTTP/1.1" 200 None
16-11-24 19:08:08.852 [DEBUG] [acdcli.api.backoff_req] - x-amzn-RequestId: f45dfbf6-b270-11e6-a495-2b2c37974d85
16-11-24 19:08:08.855 [DEBUG] [acdcli.api.metadata] - Checkpoint: CLb3r6eJKxoA
16-11-24 19:08:08.888 [INFO] [acdcli.cache.sync] - Inserted/updated 9 folder(s).
16-11-24 19:08:08.917 [INFO] [acdcli.cache.sync] - Inserted/updated 14 file(s).
16-11-24 19:08:08.936 [INFO] [acdcli.cache.sync] - Parented 23 node(s).
16-11-24 19:08:08.955 [INFO] [acdcli.api.metadata] - 1 page(s) in changes.
16-11-24 19:09:47.957 [DEBUG] [acdcli.acd_fuse] - -> getattr /PMS (None,)
16-11-24 19:09:47.957 [DEBUG] [acdcli.acd_fuse] - <- getattr '[Unhandled Exception]'
16-11-24 19:09:47.965 [DEBUG] [acdcli.acd_fuse] - -> getattr /PMS (None,)
16-11-24 19:09:47.966 [DEBUG] [acdcli.acd_fuse] - <- getattr '[Unhandled Exception]'
16-11-24 19:09:47.967 [DEBUG] [acdcli.acd_fuse] - -> getattr /PMS (None,)
16-11-24 19:09:47.968 [DEBUG] [acdcli.acd_fuse] - <- getattr '[Unhandled Exception]'
16-11-24 19:09:47.976 [DEBUG] [acdcli.acd_fuse] - -> getattr /PMS (None,)
16-11-24 19:09:47.977 [DEBUG] [acdcli.acd_fuse] - <- getattr '[Unhandled Exception]'
16-11-24 19:09:47.978 [DEBUG] [acdcli.acd_fuse] - -> getattr /PMS (None,)
16-11-24 19:09:47.978 [DEBUG] [acdcli.acd_fuse] - <- getattr '[Unhandled Exception]'
16-11-24 19:09:47.981 [DEBUG] [acdcli.acd_fuse] - -> getattr /PMS (None,)
16-11-24 19:09:47.981 [DEBUG] [acdcli.acd_fuse] - <- getattr '[Unhandled Exception]'
16-11-24 19:09:47.983 [DEBUG] [acdcli.acd_fuse] - -> getattr /PMS (None,)
16-11-24 19:09:47.983 [DEBUG] [acdcli.acd_fuse] - <- getattr '[Unhandled Exception]'
16-11-24 19:09:47.985 [DEBUG] [acdcli.acd_fuse] - -> getattr /PMS (None,)
16-11-24 19:09:47.986 [DEBUG] [acdcli.acd_fuse] - <- getattr '[Unhandled Exception]'
16-11-24 19:09:47.987 [DEBUG] [acdcli.acd_fuse] - -> getattr /PMS (None,)
16-11-24 19:09:47.988 [DEBUG] [acdcli.acd_fuse] - <- getattr '[Unhandled Exception]'
NicoLeOca commented 7 years ago

it seems I am not the only one https://github.com/yadayada/acd_cli/issues/290