[GH-ISSUE #558] [Bug]: queue empty with 500 error #364

Closed
opened 2026-05-06 12:28:39 +02:00 by BreizhHardware · 13 comments

Originally created by @Dendrowen on GitHub (Feb 28, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/558

Originally assigned to: @maziggy on GitHub.

Bug Description

Queue list suddenly not showing items unless filtering on state. It worked before but after some fiddling with canceling a print and reordering the queue it disappeared entirely unless I filter on a state like 'pending'.

Expected Behavior

When opening the queue I should see all the items in the queue in every possible state when the 'All states' option is selected.

Steps to Reproduce

  1. go to queue
  2. see an empty list. The 'totals' at the top also display 0
  3. filter on 'pending'
  4. Now I can see al pending items.

Printer Model

P1S

Bambuddy Version

0.2.1.1

Printer Firmware Version

01.09.01.00

Installation Method

Docker

Operating System

Linux (Ubuntu/Debian)

Relevant Logs / Support Package


Screenshots

Image

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
  • My printer has Developer Mode enabled
Originally created by @Dendrowen on GitHub (Feb 28, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/558 Originally assigned to: @maziggy on GitHub. ### Bug Description Queue list suddenly not showing items unless filtering on state. It worked before but after some fiddling with canceling a print and reordering the queue it disappeared entirely unless I filter on a state like 'pending'. ### Expected Behavior When opening the queue I should see all the items in the queue in every possible state when the 'All states' option is selected. ### Steps to Reproduce 1. go to queue 2. see an empty list. The 'totals' at the top also display 0 3. filter on 'pending' 4. Now I can see al pending items. ### Printer Model P1S ### Bambuddy Version 0.2.1.1 ### Printer Firmware Version 01.09.01.00 ### Installation Method Docker ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs / Support Package ```shell ``` ### Screenshots <img width="2855" height="1058" alt="Image" src="https://github.com/user-attachments/assets/076709c2-d66f-4818-8f13-af183fdcfa75" /> ### Additional Context _No response_ ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy - [x] My printer is set to LAN Only mode - [x] My printer has Developer Mode enabled
BreizhHardware 2026-05-06 12:28:39 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Dendrowen commented on GitHub (Feb 28, 2026):

bambuddy-support-20260228-222534.zip

<!-- gh-comment-id:3977929314 --> @Dendrowen commented on GitHub (Feb 28, 2026): [bambuddy-support-20260228-222534.zip](https://github.com/user-attachments/files/25640246/bambuddy-support-20260228-222534.zip)
Author
Owner

@Dendrowen commented on GitHub (Feb 28, 2026):

Image

the request is getting 500 errors. Also when calling the api from home assistant.

My thought was that a queue item moght've gotten corrupted somehow, but all the status filters seem to be working.

<!-- gh-comment-id:3977977140 --> @Dendrowen commented on GitHub (Feb 28, 2026): <img width="981" height="288" alt="Image" src="https://github.com/user-attachments/assets/05502de1-2bc0-4e36-8b7c-5f0985469aeb" /> the request is getting 500 errors. Also when calling the api from home assistant. My thought was that a queue item moght've gotten corrupted somehow, but all the status filters seem to be working.
Author
Owner

@maziggy commented on GitHub (Mar 1, 2026):

Permission problem.

2026-02-28 11:19:59,797 ERROR [backend.app.services.virtual_printer.manager] Cannot create directory /app/data/virtual_printer/uploads: Permission denied. For Docker: ensure the data volume is writable by the container user. For bare metal: run 'sudo chown -R $(whoami) /app/data/virtual_printer'

<!-- gh-comment-id:3979360547 --> @maziggy commented on GitHub (Mar 1, 2026): Permission problem. 2026-02-28 11:19:59,797 ERROR [backend.app.services.virtual_printer.manager] Cannot create directory /app/data/virtual_printer/uploads: Permission denied. For Docker: ensure the data volume is writable by the container user. For bare metal: run 'sudo chown -R $(whoami) /app/data/virtual_printer'
Author
Owner

@maziggy commented on GitHub (Mar 1, 2026):

Cannot reproduce the problem, but I guess it's triggered by failed/aborted prints.

Please use branch 0.2.2b1 and let me know how it goes.

<!-- gh-comment-id:3979533003 --> @maziggy commented on GitHub (Mar 1, 2026): Cannot reproduce the problem, but I guess it's triggered by failed/aborted prints. Please use branch 0.2.2b1 and let me know how it goes.
Author
Owner

@Dendrowen commented on GitHub (Mar 1, 2026):

I am on docker. How do I use 0.2.2b1? I can't see it on https://github.com/maziggy/bambuddy/pkgs/container/bambuddy

fixing the permissions did not resolve the problem

<!-- gh-comment-id:3979703325 --> @Dendrowen commented on GitHub (Mar 1, 2026): I am on docker. How do I use 0.2.2b1? I can't see it on https://github.com/maziggy/bambuddy/pkgs/container/bambuddy fixing the permissions did not resolve the problem
Author
Owner

@maziggy commented on GitHub (Mar 1, 2026):

cd to your bambuddy folder and do a

git pull && git checkout 0.2.2b1 && git pull && docker compose down && docker compose up --build -d

<!-- gh-comment-id:3979768379 --> @maziggy commented on GitHub (Mar 1, 2026): cd to your bambuddy folder and do a git pull && git checkout 0.2.2b1 && git pull && docker compose down && docker compose up --build -d
Author
Owner

@Percy2Live commented on GitHub (Mar 1, 2026):

This isn't working for standard users. @Dendrowen just wait for a tagged version, I also wait to verify a fix in 0.2.2b1

This looks similar to my bug in #523, you may want to check if the problem persists if you stop the container, remove the WAL and SHM file and restart it (backup recommended).

<!-- gh-comment-id:3979887254 --> @Percy2Live commented on GitHub (Mar 1, 2026): This isn't working for standard users. @Dendrowen just wait for a tagged version, I also wait to verify a fix in 0.2.2b1 This looks similar to my bug in #523, you may want to check if the problem persists if you stop the container, remove the WAL and SHM file and restart it (backup recommended).
Author
Owner

@maziggy commented on GitHub (Mar 1, 2026):

Why do you think rebuilding an image is not working?

<!-- gh-comment-id:3980055618 --> @maziggy commented on GitHub (Mar 1, 2026): Why do you think rebuilding an image is not working?
Author
Owner

@Percy2Live commented on GitHub (Mar 1, 2026):

99% of the standard users use an environment without git being installed. For productive environments I have no need for git as well - and even if I would like to install this, it's not working on all systems. E.g. I'm running DSM from Synology on the system I deploy bambuddy, rebuilding the image on this system is not trivial and it's not sufficient to run the command you posted. Hence I rely on tagged versions to test the latest builds. To make this clear: I don't want to criticize you for not publishing a tagged version, I just noticed you receive the same question over and over again in a lot of bug reports by the authors - I believe most of them are non-devs, so this is probably the explanation. Consider making the latest builds more accessible for your non-developer community by releasing tagged versions for betas and maybe even alphas (I already noticed a lot of improvement here, thanks!)

<!-- gh-comment-id:3980379885 --> @Percy2Live commented on GitHub (Mar 1, 2026): 99% of the standard users use an environment without git being installed. For productive environments I have no need for git as well - and even if I would like to install this, it's not working on all systems. E.g. I'm running DSM from Synology on the system I deploy bambuddy, rebuilding the image on this system is not trivial and it's not sufficient to run the command you posted. Hence I rely on tagged versions to test the latest builds. To make this clear: I don't want to criticize you for not publishing a tagged version, I just noticed you receive the same question over and over again in a lot of bug reports by the authors - I believe most of them are non-devs, so this is probably the explanation. Consider making the latest builds more accessible for your non-developer community by releasing tagged versions for betas and maybe even alphas (I already noticed a lot of improvement here, thanks!)
Author
Owner

@maziggy commented on GitHub (Mar 1, 2026):

Very helpful feedback!

I could think of publishing nightly builds. That should help, right?

<!-- gh-comment-id:3980425962 --> @maziggy commented on GitHub (Mar 1, 2026): Very helpful feedback! I could think of publishing nightly builds. That should help, right?
Author
Owner

@Percy2Live commented on GitHub (Mar 1, 2026):

Sure, that would help!

<!-- gh-comment-id:3980616506 --> @Percy2Live commented on GitHub (Mar 1, 2026): Sure, that would help!
Author
Owner

@maziggy commented on GitHub (Mar 1, 2026):

Done!

<!-- gh-comment-id:3980626599 --> @maziggy commented on GitHub (Mar 1, 2026): Done!
Author
Owner

@Dendrowen commented on GitHub (Mar 1, 2026):

0.2.2b1 fixed the issue. I now have two prints running simultaneously on a single printer according to bambuddy, but I would think that ought to clear up when it's done.

<!-- gh-comment-id:3980969498 --> @Dendrowen commented on GitHub (Mar 1, 2026): 0.2.2b1 fixed the issue. I now have two prints running simultaneously on a single printer according to bambuddy, but I would think that ought to clear up when it's done.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#364
No description provided.