msh100 / acd-docker Goto Github PK
View Code? Open in Web Editor NEWacd_cli encfs unionfs-fuse mount on Docker
acd_cli encfs unionfs-fuse mount on Docker
Hi,
thank you for this project!
Unfortunately I've got a little problem using it. If I place a file in the folder mapped to /mnt/acd/
nothing is uploaded to ACD. The logs seem to show the synchronization but nothing happens on my ACD:
acd-encfs_1 | Getting changes17-04-06 07:08:45.589 [INFO] [acdcli.api.metadata] - Getting changes with checkpoint "CMH-2fazKxoSCAIaDgEUAAAAAYj6K8i-KPov".
acd-encfs_1 | 17-04-06 07:08:45.589 [DEBUG] [acdcli.api.backoff_req] - Retry 0, waiting -299.490441s
acd-encfs_1 | 17-04-06 07:08:45.589 [DEBUG] [acdcli.api.backoff_req] - POST "https://cdws.eu-west-1.amazonaws.com/drive/v1/changes"
acd-encfs_1 | 17-04-06 07:08:45.590 [DEBUG] [acdcli.api.backoff_req] - {"includePurged": "true", "checkpoint": "CMH-2fazKxoSCAIaDgEUAAAAAYj6K8i-KPov"}
acd-encfs_1 | 17-04-06 07:08:45.591 [DEBUG] [requests.packages.urllib3.connectionpool] - Resetting dropped connection: cdws.eu-west-1.amazonaws.com
acd-encfs_1 | send: b'POST /drive/v1/changes HTTP/1.1\r\nHost: cdws.eu-west-1.amazonaws.com\r\nAccept-Encoding: gzip, deflate\r\nAccept: /\r\nConnection: keep-alive\r\nUser-Agent: acdcli.api/0.9.2 python-requests/2.13.0\r\nContent-Length: 79\r\nAuthorization: mytoken'
acd-encfs_1 | send: b'{"includePurged": "true", "checkpoint": "CMH-2fazKxoSCAIaDgEUAAAAAYj6K8i-KPov"}'
acd-encfs_1 | reply: 'HTTP/1.1 200 OK\r\n'
acd-encfs_1 | header: Server header: Date header: Content-Type header: Transfer-Encoding header: Connection header: x-amzn-RequestId header: Content-Encoding header: Cache-Control header: Pragma header: Vary 17-04-06 07:08:45.860 [DEBUG] [requests.packages.urllib3.conne
ctionpool] - https://cdws.eu-west-1.amazonaws.com:443 "POST /drive/v1/changes HTTP/1.1" 200 None
acd-encfs_1 | 17-04-06 07:08:45.860 [DEBUG] [acdcli.api.backoff_req] - x-amzn-RequestId: e1be52e9-1a97-11e7-b378-3b494a27ef6a
acd-encfs_1 | ..
acd-encfs_1 | 17-04-06 07:08:45.862 [DEBUG] [acdcli.api.metadata] - Checkpoint: CPrU5PazKxoA
acd-encfs_1 | Inserting nodes.17-04-06 07:08:45.881 [INFO] [acdcli.api.metadata] - 1 page(s) in changes.
acd-encfs_1 |
Thank you for your help.
Hey there,
I needed quite a lot of time to figure out, that docker needs a special configuration to work with shared mounts. Maybe this would be helpful in the readme.
See this post:
http://unix.stackexchange.com/a/293329
@msh100 for me its working quite well for the last couple of days, except , as you mentioned, it does not properly restart. After the container stops, i have to unmount and remount the mountpoint. Wouldn't it be possible to catch SIGINT ect and unmount the acd / encfs before shutting down?
Hello,
I ran this stack, however, it is infinitely waiting for mount. Also, noticed that acd-decrypted is not created. Is this still supposed to work?
It appears that for the two images that have the wait-for-mount in the mount.sh files, there isn't anything mounting those mount points into those containers. Perhaps I missed something important.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.