gfjardim / docker-containers

50 stars 75 forks source link

crashplan must re-adopt machine every time docker container is started #41

Open bennytheshap opened 9 years ago

bennytheshap commented 9 years ago

No matter what I try, crashplan gets logged out every time I re-start it via docker.

This is reflected in an error message in the client that says "Logged out by authority - Invalid application state" (see screenshot).

Am I doing something wrong?

I am starting docker with the following command line: docker run -h ${HOSTNAME} --name=crashplan -v /mnt/ssd/storage/crashplan/config:/config -v /mnt/ssd/storage/crashplan/var/lib/crashplan:/var/lib/crashplan -v /mnt/biggun:/data -v /etc/localtime:/etc/localtime:ro -p 4242:4242 -p 4243:4243 gfjardim/crashplan

screen shot 2015-09-06 at 5 13 54 pm

gfjardim commented 9 years ago

You shouldn't map any volumes to /var/lib/crashplan. The container create a symlink there, and stores the identity on /config/id '

bennytheshap commented 9 years ago

Thanks. I’ll try that.

Do you know of any way to keep the daemon from changing the .ui_info file each time it starts?

On Sep 7, 2015, at 5:44 PM, gfjardim notifications@github.com wrote:

You shouldn't map any volumes to /var/lib/crashplan. The container create a symlink there, and stores the identity on /config/id '

— Reply to this email directly or view it on GitHub https://github.com/gfjardim/docker-containers/issues/41#issuecomment-138393346.

gfjardim commented 9 years ago

No, I tried and failed there.

bennytheshap commented 9 years ago

Bummer. Thanks.

On Sep 8, 2015, at 1:26 PM, gfjardim notifications@github.com wrote:

No, I tried and failed there.

— Reply to this email directly or view it on GitHub https://github.com/gfjardim/docker-containers/issues/41#issuecomment-138676507.

nunofgs commented 8 years ago

FWIW I'm having the same issue with my own crashplan Dockerfile. Haven't solved it yet. Would love a solution.

haysclark commented 7 years ago

@bennytheshap Try using this line (with the :rw when starting the container:

-v /mnt/ssd/storage/crashplan/config:/config:rw
kendokan commented 7 years ago

Having the same issue, and my config directory is mounted RW on host storage.

danjng commented 7 years ago

+1