acd_cli icon indicating copy to clipboard operation
acd_cli copied to clipboard

Removing file failed error.

Open syaifulnizamyahya opened this issue 9 years ago • 3 comments

This is the command I used to upload

acd_cli upload --remove-source-files /mnt/user/Amazon/.local/fxR--l67TIkpk, /encfs

This is my log

16-10-27 16:09:23.208 [ERROR] [acd_cli] - Removing file "/mnt/user/Amazon/.local/fxR--l67TIkpk,/-w8Blv8tKHH7AwbYeeBDHkDi/,h1cYtMqJagS-EebcwrZIIYNKwpcslV8E9psvvCQHC,9ztaQniHgwX1w93c86eEIML1x2e682kNoV,/-QhkpjzAUb-iOq8GCqZ7z87XyzUBnB4zX-qRcmfO0gm-zNmLSVgifaWeten99FPpJxWfNbd7zA28e,/IUsy9MSS0wLZ4ysqYawSdNB7hDblH30wViB" failed.
16-10-27 16:55:33.331 [ERROR] [acd_cli] - Removing file "/mnt/user/Amazon/.local/fxR--l67TIkpk,/-w8Blv8tKHH7AwbYeeBDHkDi/,h1cYtMqJagS-EebcwrZIIYNKwpcslV8E9psvvCQHC,9ztaQniHgwX1w93c86eEIML1x2e682kNoV,/-QhkpjzAUb-iOq8GCqZ7z87XyzUBnB4zX-qRcmfO0gm-zNmLSVgifaWeten99FPpJxWfNbd7zA28e,/a9OZ2dTHaGDodwNkt-cKGuvUnr0i,j0,3Z," failed.
16-10-27 16:55:41.640 [ERROR] [acd_cli] - Removing file "/mnt/user/Amazon/.local/fxR--l67TIkpk,/-w8Blv8tKHH7AwbYeeBDHkDi/,h1cYtMqJagS-EebcwrZIIYNKwpcslV8E9psvvCQHC,9ztaQniHgwX1w93c86eEIML1x2e682kNoV,/1JWOWpYLPp6tQVNXBEP8SWuahVxvaLgoZ23DscLJ3Ljz9s1Lf9vLQsfuXZkI21nIfDk76HOMahbur-k8J18qU5B7t8cSVGH9OK2/6cXcgvyYgr-761/tTzQsBrLi6WikQncOYrxijUXQm-T5Qw7xe7" failed.
16-10-27 17:02:03.973 [ERROR] [acd_cli] - Removing file "/mnt/user/Amazon/.local/fxR--l67TIkpk,/-w8Blv8tKHH7AwbYeeBDHkDi/,h1cYtMqJagS-EebcwrZIIYNKwpcslV8E9psvvCQHC,9ztaQniHgwX1w93c86eEIML1x2e682kNoV,/1JWOWpYLPp6tQVNXBEP8SWuahVxvaLgoZ23DscLJ3Ljz9s1Lf9vLQsfuXZkI21nIfDk76HOMahbur-k8J18qU5B7t8cSVGH9OK2/RG34DYeHeCW6He2PQ6IW,zga" failed.
16-10-27 17:02:12.257 [ERROR] [acd_cli] - Removing file "/mnt/user/Amazon/.local/fxR--l67TIkpk,/-w8Blv8tKHH7AwbYeeBDHkDi/,h1cYtMqJagS-EebcwrZIIYNKwpcslV8E9psvvCQHC,9ztaQniHgwX1w93c86eEIML1x2e682kNoV,/31GIZo4u01Z2oVxr3GVACrdgQsG,s,F-b4mqSldVh4Iir0/6cXcgvyYgr-761/xq1yjGHQusmg628rbX7yy3zuXd1iNRcLk4-sDzqxQKxit0" failed.
16-10-27 17:09:25.526 [ERROR] [acd_cli] - Removing file "/mnt/user/Amazon/.local/fxR--l67TIkpk,/-w8Blv8tKHH7AwbYeeBDHkDi/,h1cYtMqJagS-EebcwrZIIYNKwpcslV8E9psvvCQHC,9ztaQniHgwX1w93c86eEIML1x2e682kNoV,/31GIZo4u01Z2oVxr3GVACrdgQsG,s,F-b4mqSldVh4Iir0/aUZamuf1-Qow0imTWsbW4rDbfBPBHxrMI72" failed.
16-10-27 17:09:33.602 [ERROR] [acd_cli] - Removing file "/mnt/user/Amazon/.local/fxR--l67TIkpk,/-w8Blv8tKHH7AwbYeeBDHkDi/,h1cYtMqJagS-EebcwrZIIYNKwpcslV8E9psvvCQHC,9ztaQniHgwX1w93c86eEIML1x2e682kNoV,/3h-oXuxXLmBR8RrhlxH,R2xtH2pHK-N-F-qESgMFwPwq1u43OAQcbfSW/6cXcgvyYgr-761/k3EwywseOkjyV8R9J8Er3u5ZjM8ejVwAfs6" failed.
16-10-27 17:18:24.025 [ERROR] [acd_cli] - Removing file "/mnt/user/Amazon/.local/fxR--l67TIkpk,/-w8Blv8tKHH7AwbYeeBDHkDi/,h1cYtMqJagS-EebcwrZIIYNKwpcslV8E9psvvCQHC,9ztaQniHgwX1w93c86eEIML1x2e682kNoV,/3h-oXuxXLmBR8RrhlxH,R2xtH2pHK-N-F-qESgMFwPwq1u43OAQcbfSW/Mce3MQtxC2LfcT9LlsHFwE4nXn2xSgGrlm," failed.
16-10-27 17:25:41.178 [ERROR] [acd_cli] - Removing file "/mnt/user/Amazon/.local/fxR--l67TIkpk,/-w8Blv8tKHH7AwbYeeBDHkDi/,h1cYtMqJagS-EebcwrZIIYNKwpcslV8E9psvvCQHC,9ztaQniHgwX1w93c86eEIML1x2e682kNoV,/5IE,,F5KJNH2vwoQVx-8gx2TRi24LRTFEgMQY5VN9eczSTI1L6JHBUQR/3yLr6Chkv,JwN,/0kLFcCQW-1q2nnNCzOByT5lkuPtCJy6dpmwFrYY14,-0Ph9mkt129d5o" failed.

Folder /mnt/user/Amazon/.local contained encrypted files.

Advice? Any tips on how to narrow down the problem?

syaifulnizamyahya avatar Oct 27 '16 09:10 syaifulnizamyahya

Unfortunately, the problem is not with acd_cli. I'm using encfs --reverse and that makes the mount read only. Even when I explicitly tells it to be read write. Here are the encfs command

echo <password> | ENCFS6_CONFIG='/boot/acd_cli/config/.encfs6.xml' encfs -S --reverse -o rw -o allow_other -o uid=99 -o gid=100 /mnt/user/Amazon/local/ /mnt/user/Amazon/.local/

acd_cli works wonders so far.

syaifulnizamyahya avatar Oct 29 '16 14:10 syaifulnizamyahya

@syaifulnizamyahya try a newer version of encfs. I was originally using Arch which currently has a package for encfs v1.9.1 and wasn't having any issues with acd_cli removing files after uploading.

I switch to another system running Ubuntu 16.04 to continue the process and found that it was having these errors about removing the files. After spending forever trying to figure out the issue I compared the versions and found that Ubuntu 16.04 is using encfs v1.8.1.

I downloaded the encfs source from github, compiled and then installed it and now I'm not running into any issues on Ubuntu either. Take care to notice that Ubuntu install encfs under /usr/bin and the github source make install installs to /usr/local/bin by default.

toasterlint avatar Nov 16 '16 01:11 toasterlint

@henrymohn You were right! encfs --version reports that I was indeed on version 1.8.1. When I have upgraded, I will report back my findings.

Thanks for the tip.

syaifulnizamyahya avatar Nov 16 '16 04:11 syaifulnizamyahya