Skip to content

[Bug]: Cannot download package with DB enabled #367

Description

@heidrje-SICKAG

Contact Details

jens.heidrich@sick.de

Describe the bug

If I download a package (GET /packages({packageID}) with DB enabled (--with-db) I'll get an error message stating that the file is used by another process. If I disable the DB support the download works as expected.

To reproduce

Start server with DB support and try to download package via GET /packages/{packageID}

Screenshots

Expected Behaviour

Download of package should work even with DB enabled.

Version

main

Operating System

Docker, Linux

Relevant log output

{
  "Messages": [
    {
      "Code": "InternalServerError",
      "CorrelationId": null,
      "MessageType": "Error",
      "Text": "The process cannot access the file \u0027/tmp/tmpU8KUuY.aasx\u0027 because it is being used by another process.",
      "Timestamp": "02/24/2025 14:56:03"
    }
  ]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions