mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[GH-ISSUE #428] [Bug]: The end-of-print photo is not visible #268
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#268
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 @Eltarius on GitHub (Feb 18, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/428
Originally assigned to: @maziggy on GitHub.
Bug Description
The end-of-print photo is not visible as well as the 3D printing thumbnail. The snapshot is present in the file tree.
As if I had a rights issue (See files lower)
Expected Behavior
Snapshot visible
Steps to Reproduce
Fresh install
Printer Model
P2S
Bambuddy Version
0.2.0
Printer Firmware Version
01.01.03.00
Installation Method
Docker
Operating System
Linux (Ubuntu/Debian)
Relevant Logs / Support Package
bambuddy-support-20260218-114557.zip
Screenshots
Additional Context
Tree:
Data folder (1000:1000);
Docker compose:
Checklist
@maziggy commented on GitHub (Feb 18, 2026):
Looking at your logs and docker-compose, there are a couple of configuration issues:
Your docker-compose has TZ, PORT, and VIRTUAL_PRINTER_PASV_ADDRESS listed under volumes: — Docker treats these as volume mount definitions, not environment variables. This likely explains why the support info detects bridge network mode despite your network_mode: host setting.
Fix:
services:
bambuddy:
image: ghcr.io/maziggy/bambuddy:latest
container_name: bambuddy
user: ${PUID:-1000}:${PGID:-1000}
cap_add:
- NET_BIND_SERVICE
network_mode: host
volumes:
- /home/eltarius/docker/bambuddy/data:/app/data
- /home/eltarius/docker/bambuddy/logs:/app/logs
environment:
- TZ=${TZ:-Europe/Paris}
- PORT=${PORT:-8000}
- VIRTUAL_PRINTER_PASV_ADDRESS=10.0.0.6
restart: unless-stopped
Your logs show repeated Permission denied errors for /app/data/virtual_printer/. The virtual printer directories may have been created by a different user/process. Fix with:
sudo chown -R 1000:1000 /home/eltarius/docker/bambuddy/data
After fixing both, recreate the container (docker compose up -d --force-recreate) and try a new print to verify photos and thumbnails render correctly.
@Eltarius commented on GitHub (Feb 18, 2026):
Hi, thank you for your quick return.
When I want download the snapshot:
http://10.0.0.6:8000/api/v1/archives/2/photos/finish_20260218_114408_1f93462f.jpg > Return 404 Error
@maziggy commented on GitHub (Feb 18, 2026):
The photos exist on disk but in data/photos/ rather than inside an archive subdirectory (e.g. data/archive/1/20260217_.../photos/). This suggests the archive record's file path may not have the expected directory structure, which would cause the API to look in the wrong location.
Could you check two things?
http://10.0.0.6:8000/api/v1/archives/2
This will help pinpoint whether it's a path resolution issue or something else.
@Eltarius commented on GitHub (Feb 18, 2026):
{"detail":"Photo not found"}I looked in the Bambuddy API tool and I still have an output like this:

@maziggy commented on GitHub (Feb 18, 2026):
You need to generate and use an API key!
@maziggy commented on GitHub (Feb 18, 2026):
"Output: {"detail":"Authentication required"}"
You have enabled authentication but something is missing. Go to settings -> authentication and disable authentication. then force a page reload and try again.
@maziggy commented on GitHub (Feb 18, 2026):
Why is your installtion so "dirty"? I would strongly suggest to delete the complete Bambuddy folder and do a clean install.
@Eltarius commented on GitHub (Feb 18, 2026):
After disable Authentication:

Same Error with 404 error > Photo not found
@Eltarius commented on GitHub (Feb 18, 2026):
I delete complete Bambuddy folder and do a clean install.
The problem persist 😢
Json archive 1:
1.json
Log file:
log.txt
FTP Download failed multiple time...
@maziggy commented on GitHub (Feb 18, 2026):
Looking at your attached archive JSON and logs, the root cause is clear:
Your P2S printer is returning 550 Failed to open file for every FTP download attempt (24 failures in the logs). Bambuddy can't download the 3MF file from the printer, so the archive record has an empty file_path. This causes photos to be saved correctly but retrieved from the wrong location.
Questions to help narrow it down:
The FTP failures are the upstream issue — once those are resolved, photos and thumbnails will work correctly.
@Eltarius commented on GitHub (Feb 18, 2026):
When I print:
I have free space on my printer's SD Card.
My P2S was in LAN only mode & Developer mode actived.
@maziggy commented on GitHub (Feb 18, 2026):
So you are opening an issue for a broken image link, when the issue is proxy related? That's not very helpful and a waste of time.
Please open a proper issue for this.