Skip to content
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

Extension “Volumes Backup & Share” fails with “Internal Server Error HTTP status code: 500” #97

Closed
TheSwede86 opened this issue Nov 3, 2022 · 3 comments

Comments

@TheSwede86
Copy link

Issue type: Unable to backup volume using extension “Volumes Backup & Share”
OS Version / Build: Windows 11 Version 22H2 (Build: 22621.674)
App version: v.4.13.1
Steps to reproduce:
“Volumes Backup & Share” > “Export volume” > “To: Local File” > “.tar.zst” > “Directory” > “Select directory” > “” returns
Failed to backup volume to C:\Users\Desktop: {“message”:“Internal Server Error”}. HTTP status code: 500

Diagnostic ID:
6FD65E53-DD8F-44DB-A774-357A2EE71651/20221102203305

Hello,

Trying to export a volume using the Docker extension “Volumes Backup & Share” but it fails regardless of destination:
C:
C:\Users\Desktop
D:
^ External USB
with the error:
Failed to backup volume to C:\Users\Desktop: {“message”:“Internal Server Error”}. HTTP status code: 500

The container the volume belongs to isn’t started.

Would appreciate any and all help!

Best Regards - TheSwede86

@felipecruz91 felipecruz91 transferred this issue from docker/for-win Nov 3, 2022
@felipecruz91
Copy link
Collaborator

felipecruz91 commented Nov 3, 2022

Hi @TheSwede86, thank you for reporting this issue.

Could you attach a text file or gist with the logs of the extension container? (i.e. docker logs docker_volumes-backup-extension-desktop-extension-service)

If you don't see that container, enable the Extension systems containers option in Preferences > Extensions.

@felipecruz91
Copy link
Collaborator

After some investigation, I think this may be the error you're seeing:

errdefs.errInvalidParameter Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/run/desktop/mnt/host/c/openstreetmap-tile-server/sweden-latest/sweden-latest.osm.pbf" to rootfs at "/data/region.osm.pbf": mount /run/desktop/mnt/host/c/openstreetmap-tile-server/sweden-latest/sweden-latest.osm.pbf:/data/region.osm.pbf (via /proc/self/fd/14), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

Could you confirm it?

@TheSwede86
Copy link
Author

After some investigation, I think this may be the error you're seeing:

errdefs.errInvalidParameter Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/run/desktop/mnt/host/c/openstreetmap-tile-server/sweden-latest/sweden-latest.osm.pbf" to rootfs at "/data/region.osm.pbf": mount /run/desktop/mnt/host/c/openstreetmap-tile-server/sweden-latest/sweden-latest.osm.pbf:/data/region.osm.pbf (via /proc/self/fd/14), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

Could you confirm it?

Thanks for your reply and advice!
I changed the path from:
C:\openstreetmap-tile-server\sweden-latest\sweden-latest.osm.pbf
to
C:\openstreetmap-tile-server\sweden-latest.osm.pbf
but before that I deleted the volume "osm-data", the container and the image and re-ran everything and it worked now!

Thanks again, I'll close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants