-
Notifications
You must be signed in to change notification settings - Fork 226
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
Restore configuration is broken #75
Comments
Observed the same. |
The latest version of the docker image is considered a breaking change from past docker images. I'm working with @foosel on the best way to publish this message. The full changes are documented in the releases doc: https://github.com/OctoPrint/octoprint-docker/releases/tag/1.0.0 I'm also working on finalizing documentation on how docker users should go about standard things like installing plugins, upgrading, or backup/restores. The best way with docker to backup/restore/upgrade is going to be the standard way of backing up container volumes with docker. From this point moving forward, the OctoPrint native backup feature will likely work as expected again, however it will not be supported for docker users. I have issue #22 open for tracking documentation on these pieces, and will close this issue in favor of that one. If you want to help me explore ways of migrating backups from the old image to the new one, drop into discord.octoprint.org and i'll try to help you out. Volume mounting should be the way to go though, so I'd recommend going that route. |
i know that, but for me the symlink to /home/octoprint/ is not working, i can't load the backup neither web interface nor docker volumes.. I guess that is because now the
nor
|
Correct. This is a breaking change, and that is one of those changes. |
Thanks for updating the comment to include your compose file. I notice that your port mapping is |
thanks for your answer! i think the next time will be better to wait the documentation be completed to submit a breaking change |
The documentation for usage is there. The stuff that's not documented that I mentioned is how to upgrade the new image to future versions of the new image, and we need the community's help with this due to the OctoPrint plugin ecosystem. That stuff was never documented before, and this image was never supported prior to this release. (There was also a statement to that effect in the README prior to this release) Considering all that, any change was a breaking change, because it's impossible to know what users where doing. We needed a stable baseline product to work from with a stable set of docs, so that I can field issues that come in over the first month or so and help determine what documentation is missing. I'd recommend subscribing to the repo or to the releases from here on out so that you know when the documentation changes. |
My issue here is not trying to restore a backup from a previously Dockerised version -- I'm trying to migrate from a Raspberry Pi installation to Docker using a backup/restore, and it's failing due to the pathname issue. Is there a workaround? |
@ax42 I'm not really sure. backup/restore wasn't really meant to work as a way to migrate platforms. OctoPrint plugins are very tightly coupled with their installation environment. Your best bet is to hop on discord and start a discussion in the #support-misc channel. Either this weekend or next, I'll be implementing the SUID/GUID features, which would probably resolve most of the path issues. If you do drop into the discord, I'm @CHIEFdotJS on there, and I'm going to be active all weekend and will help you work through that, as it will help me figure out some things to document as well as give me test cases for the SUID/GUID feature. If you can't hop on discord, then my guess is that your best bet is to copy the configs, and then re-install plugins manually from thew new system. The new supported image includes a web-based config-editor, which will allow you to paste those configs in to the container environment. After that, just restart the container to restart OctoPrint with new configs. |
i think one workaround could be extend the Docker image to create and set the default user to i'm not sure anyway |
That's what the upcoming |
@LongLiveCHIEF the latest version still broken, please fix this! |
This is not broken, it was never intended to work for docker. |
After last version I noted that the restore configuration feature is failing giving this message
I also noted that the user of the container in the previous version was
octoprint
vsroot
in last versionThe text was updated successfully, but these errors were encountered: