[GH-ISSUE #376] [Bug]: Reprint from Archive fails with SDCard error #237

Closed
opened 2026-05-06 12:27:29 +02:00 by BreizhHardware · 2 comments

Originally created by @T1gg0r on GitHub (Feb 14, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/376

Originally assigned to: @maziggy on GitHub.

Bug Description

When I try to reprint a failed or completed print for my A1 Mini, the web interface tries multiple times to upload/rerun the print but ultimatly fails due to a sd card error.
There is a SD Card inserted with a current usage of 334 MB.

I am able to send new prints from OrcaSlicer/Bambu Studio.

Expected Behavior

I expected the print to start restart.

Steps to Reproduce

  1. Start a print from Orca/Bambu Studio
  2. (Optional) Stop the Print
  3. After the print is finished, go to BamBuddys Archive and click und "reprint" for that file
  4. Choose the same printer, leave the advanced options default
  5. Wait until SD Card error comes

Printer Model

A1 Mini

Bambuddy Version

v0.1.9

Printer Firmware Version

01.07.02.00

Installation Method

Docker

Operating System

Docker

Relevant Logs / Support Package

2026-02-14 10:59:01,203 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -55dBm
2026-02-14 10:59:03,246 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -53dBm
2026-02-14 10:59:04,121 WARNING [backend.app.api.routes.archives] Failed to parse plates from archive 4: [Errno 21] Is a directory: '/app/data'
2026-02-14 10:59:04,124 WARNING [backend.app.api.routes.archives] Failed to parse filament requirements from archive 4: [Errno 21] Is a directory: '/app/data'
2026-02-14 10:59:05,285 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -52dBm
2026-02-14 10:59:07,839 INFO [backend.app.api.routes.archives] Reprint FTP upload starting: printer=A1 Mini (A1 Mini), ip=192.168.188.12, file=Warhound Zammerak A1 Mini_Leg Pistons.3mf, local_path=/app/data, retry_enabled=True, retry_count=3, timeout=30.0
2026-02-14 10:59:08,697 INFO [backend.app.services.bambu_ftp] FTP connected successfully to 192.168.188.12 (model=A1 Mini, prot_c=False)
2026-02-14 10:59:08,721 WARNING [backend.app.services.bambu_ftp] Failed to delete /Warhound Zammerak A1 Mini_Leg Pistons.3mf: 550 
2026-02-14 10:59:08,731 INFO [backend.app.services.bambu_ftp] FTP connecting to 192.168.188.12 for upload (model=A1 Mini, mode=prot_p, socket_timeout=30.0s)...
2026-02-14 10:59:09,330 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -53dBm
2026-02-14 10:59:09,529 INFO [backend.app.services.bambu_ftp] FTP connected successfully to 192.168.188.12 (model=A1 Mini, prot_c=False)
2026-02-14 10:59:09,530 INFO [backend.app.services.bambu_ftp] FTP connected to 192.168.188.12
2026-02-14 10:59:09,530 INFO [backend.app.services.bambu_ftp] FTP uploading /app/data (154 bytes) to /Warhound Zammerak A1 Mini_Leg Pistons.3mf
2026-02-14 10:59:09,530 ERROR [backend.app.services.bambu_ftp] FTP upload failed for /Warhound Zammerak A1 Mini_Leg Pistons.3mf: [Errno 21] Is a directory: '/app/data' (type: IsADirectoryError)
2026-02-14 10:59:09,544 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini will retry in 2.0s...
2026-02-14 10:59:11,371 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -56dBm
2026-02-14 10:59:11,546 INFO [backend.app.services.bambu_ftp] FTP connecting to 192.168.188.12 for upload (model=A1 Mini, mode=prot_p, socket_timeout=30.0s)...
2026-02-14 10:59:12,379 INFO [backend.app.services.bambu_ftp] FTP connected successfully to 192.168.188.12 (model=A1 Mini, prot_c=False)
2026-02-14 10:59:12,379 INFO [backend.app.services.bambu_ftp] FTP connected to 192.168.188.12
2026-02-14 10:59:12,379 INFO [backend.app.services.bambu_ftp] FTP uploading /app/data (154 bytes) to /Warhound Zammerak A1 Mini_Leg Pistons.3mf
2026-02-14 10:59:12,379 ERROR [backend.app.services.bambu_ftp] FTP upload failed for /Warhound Zammerak A1 Mini_Leg Pistons.3mf: [Errno 21] Is a directory: '/app/data' (type: IsADirectoryError)
2026-02-14 10:59:12,388 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini attempt 2/4 returned failure
2026-02-14 10:59:12,388 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini will retry in 2.0s...
2026-02-14 10:59:13,407 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -51dBm
2026-02-14 10:59:14,389 INFO [backend.app.services.bambu_ftp] FTP connecting to 192.168.188.12 for upload (model=A1 Mini, mode=prot_p, socket_timeout=30.0s)...
2026-02-14 10:59:15,185 INFO [backend.app.services.bambu_ftp] FTP connected successfully to 192.168.188.12 (model=A1 Mini, prot_c=False)
2026-02-14 10:59:15,185 INFO [backend.app.services.bambu_ftp] FTP connected to 192.168.188.12
2026-02-14 10:59:15,186 INFO [backend.app.services.bambu_ftp] FTP uploading /app/data (154 bytes) to /Warhound Zammerak A1 Mini_Leg Pistons.3mf
2026-02-14 10:59:15,186 ERROR [backend.app.services.bambu_ftp] FTP upload failed for /Warhound Zammerak A1 Mini_Leg Pistons.3mf: [Errno 21] Is a directory: '/app/data' (type: IsADirectoryError)
2026-02-14 10:59:15,194 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini attempt 3/4 returned failure
2026-02-14 10:59:15,195 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini will retry in 2.0s...
2026-02-14 10:59:15,434 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -52dBm
2026-02-14 10:59:17,196 INFO [backend.app.services.bambu_ftp] FTP connecting to 192.168.188.12 for upload (model=A1 Mini, mode=prot_p, socket_timeout=30.0s)...
2026-02-14 10:59:18,071 INFO [backend.app.services.bambu_ftp] FTP connected successfully to 192.168.188.12 (model=A1 Mini, prot_c=False)
2026-02-14 10:59:18,072 INFO [backend.app.services.bambu_ftp] FTP connected to 192.168.188.12
2026-02-14 10:59:18,072 INFO [backend.app.services.bambu_ftp] FTP uploading /app/data (154 bytes) to /Warhound Zammerak A1 Mini_Leg Pistons.3mf
2026-02-14 10:59:18,072 ERROR [backend.app.services.bambu_ftp] FTP upload failed for /Warhound Zammerak A1 Mini_Leg Pistons.3mf: [Errno 21] Is a directory: '/app/data' (type: IsADirectoryError)
2026-02-14 10:59:18,080 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini attempt 4/4 returned failure
2026-02-14 10:59:18,080 ERROR [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini failed after 4 attempts
2026-02-14 10:59:18,081 ERROR [backend.app.api.routes.archives] FTP upload failed for reprint: printer=A1 Mini, model=A1 Mini, ip=192.168.188.12, file=Warhound Zammerak A1 Mini_Leg Pistons.3mf. Check logs above for storage diagnostics and specific error codes.
2026-02-14 10:59:19,491 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -53dBm
2026-02-14 10:59:21,517 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -50dBm
2026-02-14 10:59:23,543 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -53dBm

Screenshots

No response

Additional Context

I was unable to upload a file to the "Support Packages" text box:
bambuddy-support-20260214-113521.zip

I would assume that the leading "/" for the filename may cause a problem somewhere internally:

2026-02-14 10:59:18,072 ERROR [backend.app.services.bambu_ftp] FTP upload failed for /Warhound Zammerak A1 Mini_Leg Pistons.3mf: [Errno 21] Is a directory: '/app/data' (type: IsADirectoryError)

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
Originally created by @T1gg0r on GitHub (Feb 14, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/376 Originally assigned to: @maziggy on GitHub. ### Bug Description When I try to reprint a failed or completed print for my A1 Mini, the web interface tries multiple times to upload/rerun the print but ultimatly fails due to a sd card error. There is a SD Card inserted with a current usage of 334 MB. I am able to send new prints from OrcaSlicer/Bambu Studio. ### Expected Behavior I expected the print to start restart. ### Steps to Reproduce 1. Start a print from Orca/Bambu Studio 2. (Optional) Stop the Print 3. After the print is finished, go to BamBuddys Archive and click und "reprint" for that file 4. Choose the same printer, leave the advanced options default 5. Wait until SD Card error comes ### Printer Model A1 Mini ### Bambuddy Version v0.1.9 ### Printer Firmware Version 01.07.02.00 ### Installation Method Docker ### Operating System Docker ### Relevant Logs / Support Package ```shell 2026-02-14 10:59:01,203 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -55dBm 2026-02-14 10:59:03,246 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -53dBm 2026-02-14 10:59:04,121 WARNING [backend.app.api.routes.archives] Failed to parse plates from archive 4: [Errno 21] Is a directory: '/app/data' 2026-02-14 10:59:04,124 WARNING [backend.app.api.routes.archives] Failed to parse filament requirements from archive 4: [Errno 21] Is a directory: '/app/data' 2026-02-14 10:59:05,285 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -52dBm 2026-02-14 10:59:07,839 INFO [backend.app.api.routes.archives] Reprint FTP upload starting: printer=A1 Mini (A1 Mini), ip=192.168.188.12, file=Warhound Zammerak A1 Mini_Leg Pistons.3mf, local_path=/app/data, retry_enabled=True, retry_count=3, timeout=30.0 2026-02-14 10:59:08,697 INFO [backend.app.services.bambu_ftp] FTP connected successfully to 192.168.188.12 (model=A1 Mini, prot_c=False) 2026-02-14 10:59:08,721 WARNING [backend.app.services.bambu_ftp] Failed to delete /Warhound Zammerak A1 Mini_Leg Pistons.3mf: 550 2026-02-14 10:59:08,731 INFO [backend.app.services.bambu_ftp] FTP connecting to 192.168.188.12 for upload (model=A1 Mini, mode=prot_p, socket_timeout=30.0s)... 2026-02-14 10:59:09,330 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -53dBm 2026-02-14 10:59:09,529 INFO [backend.app.services.bambu_ftp] FTP connected successfully to 192.168.188.12 (model=A1 Mini, prot_c=False) 2026-02-14 10:59:09,530 INFO [backend.app.services.bambu_ftp] FTP connected to 192.168.188.12 2026-02-14 10:59:09,530 INFO [backend.app.services.bambu_ftp] FTP uploading /app/data (154 bytes) to /Warhound Zammerak A1 Mini_Leg Pistons.3mf 2026-02-14 10:59:09,530 ERROR [backend.app.services.bambu_ftp] FTP upload failed for /Warhound Zammerak A1 Mini_Leg Pistons.3mf: [Errno 21] Is a directory: '/app/data' (type: IsADirectoryError) 2026-02-14 10:59:09,544 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini will retry in 2.0s... 2026-02-14 10:59:11,371 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -56dBm 2026-02-14 10:59:11,546 INFO [backend.app.services.bambu_ftp] FTP connecting to 192.168.188.12 for upload (model=A1 Mini, mode=prot_p, socket_timeout=30.0s)... 2026-02-14 10:59:12,379 INFO [backend.app.services.bambu_ftp] FTP connected successfully to 192.168.188.12 (model=A1 Mini, prot_c=False) 2026-02-14 10:59:12,379 INFO [backend.app.services.bambu_ftp] FTP connected to 192.168.188.12 2026-02-14 10:59:12,379 INFO [backend.app.services.bambu_ftp] FTP uploading /app/data (154 bytes) to /Warhound Zammerak A1 Mini_Leg Pistons.3mf 2026-02-14 10:59:12,379 ERROR [backend.app.services.bambu_ftp] FTP upload failed for /Warhound Zammerak A1 Mini_Leg Pistons.3mf: [Errno 21] Is a directory: '/app/data' (type: IsADirectoryError) 2026-02-14 10:59:12,388 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini attempt 2/4 returned failure 2026-02-14 10:59:12,388 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini will retry in 2.0s... 2026-02-14 10:59:13,407 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -51dBm 2026-02-14 10:59:14,389 INFO [backend.app.services.bambu_ftp] FTP connecting to 192.168.188.12 for upload (model=A1 Mini, mode=prot_p, socket_timeout=30.0s)... 2026-02-14 10:59:15,185 INFO [backend.app.services.bambu_ftp] FTP connected successfully to 192.168.188.12 (model=A1 Mini, prot_c=False) 2026-02-14 10:59:15,185 INFO [backend.app.services.bambu_ftp] FTP connected to 192.168.188.12 2026-02-14 10:59:15,186 INFO [backend.app.services.bambu_ftp] FTP uploading /app/data (154 bytes) to /Warhound Zammerak A1 Mini_Leg Pistons.3mf 2026-02-14 10:59:15,186 ERROR [backend.app.services.bambu_ftp] FTP upload failed for /Warhound Zammerak A1 Mini_Leg Pistons.3mf: [Errno 21] Is a directory: '/app/data' (type: IsADirectoryError) 2026-02-14 10:59:15,194 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini attempt 3/4 returned failure 2026-02-14 10:59:15,195 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini will retry in 2.0s... 2026-02-14 10:59:15,434 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -52dBm 2026-02-14 10:59:17,196 INFO [backend.app.services.bambu_ftp] FTP connecting to 192.168.188.12 for upload (model=A1 Mini, mode=prot_p, socket_timeout=30.0s)... 2026-02-14 10:59:18,071 INFO [backend.app.services.bambu_ftp] FTP connected successfully to 192.168.188.12 (model=A1 Mini, prot_c=False) 2026-02-14 10:59:18,072 INFO [backend.app.services.bambu_ftp] FTP connected to 192.168.188.12 2026-02-14 10:59:18,072 INFO [backend.app.services.bambu_ftp] FTP uploading /app/data (154 bytes) to /Warhound Zammerak A1 Mini_Leg Pistons.3mf 2026-02-14 10:59:18,072 ERROR [backend.app.services.bambu_ftp] FTP upload failed for /Warhound Zammerak A1 Mini_Leg Pistons.3mf: [Errno 21] Is a directory: '/app/data' (type: IsADirectoryError) 2026-02-14 10:59:18,080 INFO [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini attempt 4/4 returned failure 2026-02-14 10:59:18,080 ERROR [backend.app.services.bambu_ftp] Upload for reprint to A1 Mini failed after 4 attempts 2026-02-14 10:59:18,081 ERROR [backend.app.api.routes.archives] FTP upload failed for reprint: printer=A1 Mini, model=A1 Mini, ip=192.168.188.12, file=Warhound Zammerak A1 Mini_Leg Pistons.3mf. Check logs above for storage diagnostics and specific error codes. 2026-02-14 10:59:19,491 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -53dBm 2026-02-14 10:59:21,517 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -50dBm 2026-02-14 10:59:23,543 INFO [backend.app.services.bambu_mqtt] [01P00A442000561] wifi_signal received: -53dBm ``` ### Screenshots _No response_ ### Additional Context I was unable to upload a file to the "Support Packages" text box: [bambuddy-support-20260214-113521.zip](https://github.com/user-attachments/files/25314401/bambuddy-support-20260214-113521.zip) I would assume that the leading "/" for the filename may cause a problem somewhere internally: 2026-02-14 10:59:18,072 ERROR [backend.app.services.bambu_ftp] FTP upload failed for /Warhound Zammerak A1 Mini_Leg Pistons.3mf: [Errno 21] Is a directory: '/app/data' (type: IsADirectoryError) ### 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
BreizhHardware 2026-05-06 12:27:29 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@T1gg0r commented on GitHub (Feb 14, 2026):

For clarification:
The actual filename on the printers SD Card does NOT start with a "/".
Also, the issue persists after reformatting the SD Card from the printers UI.

<!-- gh-comment-id:3901665623 --> @T1gg0r commented on GitHub (Feb 14, 2026): For clarification: The actual filename on the printers SD Card does NOT start with a "/". Also, the issue persists after reformatting the SD Card from the printers UI.
Author
Owner

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

Looking at your logs, the root cause is that the 3MF file was never stored locally by Bambuddy. When a print is sent from OrcaSlicer or Bambu Studio, Bambuddy detects it via MQTT and tries to download the 3MF from the printer's FTP to archive it. In your case, every FTP download from the A1 Mini failed:

FTP download failed for /cache/Warhound Zammerak A1 Mini_Leg Pistons.gcode.3mf: 550
FTP download failed for /cache/Warhound Zammerak A1 Mini_Leg Pistons.gcode.3mf: 425

When this happens, Bambuddy creates a "fallback" archive to still track the print — but without the actual file. When you then click Reprint, there's no file to upload back to the printer, which causes the error.

Note: Sending prints from OrcaSlicer works fine because it uploads to the printer — the issue is specifically with downloading the file back from the printer's FTP for archival.

What you can try to improve FTP downloads for future prints:

  • Make sure no other clients (Bambu Studio, OrcaSlicer) are connected to the printer while Bambuddy is running
  • Try increasing the FTP timeout in Settings → Advanced (currently 30s)
  • Check if a firmware update is available for your A1 Mini

What we've fixed for the next release:

  • Archives without a 3MF file now clearly disable the Print/Schedule buttons with a tooltip explaining why, instead of showing a confusing SD card error
<!-- gh-comment-id:3903960521 --> @maziggy commented on GitHub (Feb 15, 2026): Looking at your logs, the root cause is that the 3MF file was never stored locally by Bambuddy. When a print is sent from OrcaSlicer or Bambu Studio, Bambuddy detects it via MQTT and tries to download the 3MF from the printer's FTP to archive it. In your case, every FTP download from the A1 Mini failed: FTP download failed for /cache/Warhound Zammerak A1 Mini_Leg Pistons.gcode.3mf: 550 FTP download failed for /cache/Warhound Zammerak A1 Mini_Leg Pistons.gcode.3mf: 425 When this happens, Bambuddy creates a "fallback" archive to still track the print — but without the actual file. When you then click Reprint, there's no file to upload back to the printer, which causes the error. Note: Sending prints from OrcaSlicer works fine because it uploads to the printer — the issue is specifically with downloading the file back from the printer's FTP for archival. What you can try to improve FTP downloads for future prints: - Make sure no other clients (Bambu Studio, OrcaSlicer) are connected to the printer while Bambuddy is running - Try increasing the FTP timeout in Settings → Advanced (currently 30s) - Check if a firmware update is available for your A1 Mini What we've fixed for the next release: - Archives without a 3MF file now clearly disable the Print/Schedule buttons with a tooltip explaining why, instead of showing a confusing SD card error
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#237
No description provided.