-
Notifications
You must be signed in to change notification settings - Fork 24
/var/crashplan/id/.ui_info does not persist over time and remote connections fail #8
Comments
I've exactly the same problem and no "chmod" attempts worked. In theory it should be possible to set the immutable attribute IMHO but this command is "inside" the docker not available. Any ideas? |
Retrieve the token before trying to connect to the container. |
Thanks a lot for your feedback @JrCs and in general your fantastic work! I'm not a docker expert, so I didn't know how to access stuff inside the docker container beside starting a bash according https://miketabor.com/run-crashplan-docker-synology-nas/ which is mentioning your docker container. Questions: Disclaimer: Mike's guide is only a startinig point. He forgets to mention quite a few things:
|
@blankster |
Thanks for your answers @JrCs!
The setting itself I only can find in .ui_info to change (and beeing forced to restart the crashplan deamon/service inside the docker). I know there would be also the possibility to create a SSH tunnel to the NAS and connect then "localy" to it, but if possible I try to keep the things "easy"... |
|
Is it working now with the latest docker image ? |
@JrCs I am having a similar issue. How are you restarting your containers if they need to be shutdown. For instance, I had to add another virtual drive to be backup. Are you just commiting the docker image and rebooting the previous commit with new params? or can you start from scratch utilizing the state in /var/crashplan? I am still debugging the issue. But in general, I was hoping that the /var/crashplan folder would persist all critical setup data, but despite the data persisting a fresh crashplan docker container does not boot up and work. IT looks like some value in /var/crashplan/id/.ui_info get overwritten. I often see a new GUID, and changed port number. |
If you use the volumes describe in the README all the critical data must be persist on the host, and you can restart the container anytime you want. |
I have just encountered this issue as well. Whenever I have to stop the container in order to add mounted volumes, the .ui_info file on the server is modified after restart with a new token, and the ip 0.0.0.0 is changed to 127.0.0.1. |
Well, after some more research I figured out at least my issue. I am posting here since it might be related and help someone else. |
According to the comments in entrypoint.sh the idea is that the account info for remote UI connections found in /var/crashplan/id/.ui_info pertains over time. This is actually not working in this way. When the docker auto-updates crashplan and/or is restarted the authentication token in the file is updated and the service host IP is changed to 127.0.0.1, effectively no longer allowing to remotely connect to the crashplan engine. I can change the service host IP back to 0.0.0.0 by modifying the my.service.xml which allows me to connect again using a new authentication token. Is there a way to make the authentication token and service host IP pertinent?
The text was updated successfully, but these errors were encountered: