-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crashplan stops working after update #407
Comments
How do you create the container ? |
I just started getting this error as well. I am also using Proxmox with a LXC container. I am creating the container using compose (portainer stack to be exact). I tried from the command line as well, getting the same error. |
So you see the same error when running |
Yes, running that yields the same error. Starting to wonder if it is related to a privledged LXC in Proxmox. A bit weird as it was working just the other week. I believe I updated the container last week and have not been able to get it to work since. |
In my case, I created the LCX container from he GUI as a privileged container with the following options (which are necessary to run docker inside the container): lxc.apparmor.profile: unconfined I was running an alpine LXC container w/ 32GB or RAM and 4 cores, 50GB of disk space. I decided to install crashplan directly on the container (using using the docker images), and it works fine. Thank you |
Ok sorry I didn't realized that you where running Docker inside an LCX container. Looks like something is preventing changes to the content of the container itself. Can you try this test to confirm: Run the following command:
Then, once inside the container, run:
|
I'm getting:
Thanks! |
So for some reason the LCX container prevent changes inside the Docker container... My guess is that you should have this problem with any Docker container. On a normal Linux installation, a container is actually stored somewhere under |
I would agree there seems to be something with the LXC. Something changed some where as this was working for me with this exact same setup 3 weeks ago. A new image pull is when I noticed the issue, but I do believe I updated Proxmox a bit before that as well, so harder to isolate what may have been the catalyst. I have not had an issue with any other docker image I am running. |
You could try to use a previous version of the Docker image that you know was working.
I guess it depends on what the container is doing. You could try the test I mentioned in previous comment, but using a different image. For example:
|
I did try going back before and that didn't work. I just pulled down alpine with your recommendation above and am getting an error running the mv. This this confirms that it is related to Proxmox and LXC. Guess it is time to go down a rabbit hole with that now. Thank you for the help. |
Thanks for the test. Keep us updated if you found any solution, I'm sure other people will have the same issue. |
I can confirm that I see the same behavior. The "invalid argument" message appears with an alpine image, though. If, instead, I run an ubuntu:22.04 image and run the same "mv" command, I get a different (and perplexing) error:
|
Humm interesting. Could you provide the output of the following commands (run inside container):
Also, are you able to move or create other files in the container ? I would like to understand if the problem is only related to |
I tried to reproduce on my side by doing the following steps:
This worked fine for me. Is there anything else I need to do to reproduce the problem ? |
Underprivileged or privileged LXC? I am using a privileged LXC. I am using a Debian template, don't know if that matters. |
I tried both. Here is the config of the privileged LXC container:
|
Also, did you try to reproduce in a new LXC container ? |
I've been running crashplan docker for well over a year with no problems inside an LXC container in proxmox. After a recent proxmox upgrade, I'm getting the following errors while starting the container:
[init ] container is starting...
[cont-env ] loading container environment variables...
[cont-env ] APP_NAME: loading...
[cont-env ] APP_VERSION: loading...
[cont-env ] DISPLAY: executing...
[cont-env ] DISPLAY: terminated successfully.
[cont-env ] DISPLAY: loading...
[cont-env ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env ] DOCKER_IMAGE_VERSION: loading...
[cont-env ] GTK_THEME: executing...
[cont-env ] GTK_THEME: terminated successfully.
[cont-env ] GTK_THEME: loading...
[cont-env ] HOME: loading...
[cont-env ] QT_STYLE_OVERRIDE: executing...
[cont-env ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env ] QT_STYLE_OVERRIDE: loading...
[cont-env ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env ] XDG_CACHE_HOME: loading...
[cont-env ] XDG_CONFIG_HOME: loading...
[cont-env ] XDG_DATA_HOME: loading...
[cont-env ] XDG_RUNTIME_DIR: loading...
[cont-env ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init ] executing container initialization scripts...
[cont-init ] 10-certs.sh: executing...
[cont-init ] 10-certs.sh: terminated successfully.
[cont-init ] 10-check-app-niceness.sh: executing...
[cont-init ] 10-check-app-niceness.sh: terminated successfully.
[cont-init ] 10-cjk-font.sh: executing...
[cont-init ] 10-cjk-font.sh: terminated successfully.
[cont-init ] 10-clean-logmonitor-states.sh: executing...
[cont-init ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init ] 10-clean-tmp-dir.sh: executing...
[cont-init ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init ] 10-fontconfig-cache-dir.sh: executing...
[cont-init ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init ] 10-init-users.sh: executing...
[cont-init ] 10-init-users.sh: sed: can't move '/etc/group' to '/etc/group.bak': Invalid argument
[cont-init ] 10-init-users.sh: terminated with error 1.
Container image has not changed:
crashplan:~/bin# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
jlesage/crashplan-pro latest ffab6950e94f 2 weeks ago 473MB
Just to be on the safe side, I removed the image and re-loaded it, but I'm getting the same error.
Thank you!
George
The text was updated successfully, but these errors were encountered: