mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[GH-ISSUE #49] [Bug]: P1S does not seam to archive prints #18
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mathse on GitHub (Jan 2, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/49
Originally assigned to: @maziggy on GitHub.
Bug Description
I saw that the functionality with P1S printers need to be testet. Luckely I have one.
Looks like there are some problems with it
Expected Behavior
When i am printing a plate via BambuStudio Bumbuddy recognize the print in the Printers dialog but the print does not get archived.
Quick Stats does not get updated.
Maintenance gets updated tough.
Steps to Reproduce
Printer Model
P1S
Bambuddy Version
v0.1.6b4
Printer Firmware Version
01.09.00.00
Installation Method
Docker
Operating System
Docker
Relevant Logs
log.txt
Screenshots
Checklist
@maziggy commented on GitHub (Jan 2, 2026):
Thanks for pointing this out!
Please use branch 0.1.6b5, test again and send me the logs.
@mathse commented on GitHub (Jan 3, 2026):
Hm, no luck.
But it looks more like a firewall problem on my side.
I cannot browse the files on the printer. Seams like port 2024, 2025 and 6000 need to be open between bambuddy and the printer.
Maybe this is worth mentioning in the documentation
@maziggy commented on GitHub (Jan 3, 2026):
https://wiki.bambuddy.cool/getting-started/first-printer/?h=firewall#check-these-first
@mathse commented on GitHub (Jan 3, 2026):
8883 and 900 are open and accessible
@maziggy commented on GitHub (Jan 3, 2026):
Send the logs!
@mathse commented on GitHub (Jan 3, 2026):
bambuddy.log
here you go
@maziggy commented on GitHub (Jan 3, 2026):
You printer is behaving weird....
The Problem:
Your P1S is stuck reporting gcode_state: FAILED continuously. Looking at the logs:
gcode_state: FAILED, gcode_file: , subtask_name: 1_plate_1
This state is being reported over and over - the printer never transitions to IDLE (when not printing), RUNNING (during a print), or FINISH (when complete). In the entire log, there are only 14 state updates total, and they're all FAILED.
Because Bambuddy never sees:
Additional issues noticed:
What to try:
- On the printer's touchscreen, go to print history and clear/acknowledge any failed prints
- Or start a short test print and let it complete (or cancel it) to reset the state
- Port 6000 (camera) appears blocked - ensure it's open from Bambuddy → printer
- The stale connections suggest possible network instability between Bambuddy and the printer
- Restart the P1S printer
- Restart Bambuddy after the printer is back online
After doing this, start a test print and check if Bambuddy now sees RUNNING state. You can verify by watching the printer status in the Bambuddy UI - it should show "Printing" with progress.
Please send the test logs again.
@mathse commented on GitHub (Jan 3, 2026):
the problem of the failed print is indeed a failed print ;-) its stuck 10km away at the moment, i simply forgot to mention ;-)
@Stooovie commented on GitHub (Jan 4, 2026):
Running in something similar after b5, succesful prints do not appear in archive and also the Success rate in Statistics is calculated wrongly:
I'd send logs if I knew where they are, this is my docker compose:
and .env
@maziggy commented on GitHub (Jan 4, 2026):
Please first update to the latest version.
@Stooovie commented on GitHub (Jan 4, 2026):
I did, b6 now, problem persists. Prints aren't added to the archive anymore. Network, firmware and Bambu Studio hasn't changed.
@maziggy commented on GitHub (Jan 5, 2026):
Please enable debug logging (https://wiki.bambuddy.cool/getting-started/installation/?h=debug#development-settings). Then test and send me the complete logs. You can copy the logfile from Docker container to your local machine via
docker cp :/app/logs/bambuddy.log .
@maziggy commented on GitHub (Jan 5, 2026):
If you use branch 0.1.6b7 you could use the new "export debug logs" function.
https://wiki.bambuddy.cool/features/system-info/#support-bundle
@mathse commented on GitHub (Jan 5, 2026):
turns out, that the camera port was blocked (firewall openend ->fixed)
the access to the files is still problematic. the docker host is able to contact port 990, the container does not
the container is in bridge mode
@maziggy commented on GitHub (Jan 5, 2026):
Without debug logs I cannot do anything.
@mathse commented on GitHub (Jan 5, 2026):
bambuddy.txt
@mathse commented on GitHub (Jan 5, 2026):
i was able to fix it by issuing a
iptables -t nat -I PREROUTING 1 -s 172.23.0.2/32 -p tcp --dport 990 -j DNAT --to-destination printer-ip:990@maziggy commented on GitHub (Jan 5, 2026):
Very good! Let me know if you need any help.