[GH-ISSUE #554] [Bug]: Maintenance breaks after updating total print time (v0.2.1) #362

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

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

Originally assigned to: @maziggy on GitHub.

Bug Description

In v0.2.1 the Maintenance section becomes unusable after modifying the printer’s total print time.

Initial state:
Fresh database
Printer added successfully (P1S)
Custom maintenance entries can be created
Maintenance page works as expected

After changing the printer’s total print time (e.g. setting it to 2300h):
Maintenance page shows: “No printer configured”

Image

Printer is still present in the printers table, but shows no maintenance anymore
Reproduces consistently
Deleting and recreating the database does not prevent the issue

Expected Behavior

Maintenance should work as intended

Steps to Reproduce

  1. use fresh instance of bambuddy
  2. add printer
  3. add some custom maintenance jobs and assign those to the printer
  4. edit total print hours of the printer, e.g. to 2300h
  5. try confirming maintenance jobs -> it doesn't work anymore
  6. reboot bambuddy, now the printer is not shown anymore in the maintenance view

Printer Model

P1S

Bambuddy Version

0.2.1

Printer Firmware Version

01.09.01.00

Installation Method

Docker

Operating System

Docker

Relevant Logs / Support Package

bambuddy-support-20260228-141614.zip

Screenshots

No response

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 @Percy2Live on GitHub (Feb 28, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/554 Originally assigned to: @maziggy on GitHub. ### Bug Description In v0.2.1 the Maintenance section becomes unusable after modifying the printer’s total print time. **Initial state:** Fresh database Printer added successfully (P1S) Custom maintenance entries can be created Maintenance page works as expected After changing the printer’s total print time (e.g. setting it to 2300h): Maintenance page shows: “No printer configured” <img width="2150" height="560" alt="Image" src="https://github.com/user-attachments/assets/f4a3f665-8e56-41af-8634-00915eeef516" /> Printer is still present in the printers table, but shows no maintenance anymore Reproduces consistently Deleting and recreating the database does not prevent the issue ### Expected Behavior Maintenance should work as intended ### Steps to Reproduce 1. use fresh instance of bambuddy 2. add printer 3. add some custom maintenance jobs and assign those to the printer 4. edit total print hours of the printer, e.g. to 2300h 5. try confirming maintenance jobs -> it doesn't work anymore 6. reboot bambuddy, now the printer is not shown anymore in the maintenance view ### Printer Model P1S ### Bambuddy Version 0.2.1 ### Printer Firmware Version 01.09.01.00 ### Installation Method Docker ### Operating System Docker ### Relevant Logs / Support Package [bambuddy-support-20260228-141614.zip](https://github.com/user-attachments/files/25621479/bambuddy-support-20260228-141614.zip) ### Screenshots _No response_ ### 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:38 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Good catch, thanks! Fixed in branch 0.2.2b1.

<!-- gh-comment-id:3977171349 --> @maziggy commented on GitHub (Feb 28, 2026): Good catch, thanks! Fixed in branch 0.2.2b1.
Author
Owner

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

Great to hear that. I'm obviously better at searching bugs than coding^^
Are you aware that in this state the backup functionality is also not working?

<!-- gh-comment-id:3977182347 --> @Percy2Live commented on GitHub (Feb 28, 2026): Great to hear that. I'm obviously better at searching bugs than coding^^ Are you aware that in this state the backup functionality is also not working?
Author
Owner

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

Can confirm this works now in 0.2.2b1.
Also solved the backup problem

<!-- gh-comment-id:3980838086 --> @Percy2Live commented on GitHub (Mar 1, 2026): Can confirm this works now in 0.2.2b1. Also solved the backup problem
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#362
No description provided.