[GH-ISSUE #970] [Bug Report] spoolbyddy won't sync #673

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

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

Originally assigned to: @maziggy on GitHub.

spoolbyddy won't sync

Reporter Contact

Email: info@dvd24h.it

System Information
{
  "generated_at": "2026-04-14T06:44:20.003136",
  "app": {
    "version": "0.2.3b4",
    "debug_mode": false
  },
  "system": {
    "platform": "Linux",
    "platform_release": "6.17.13-2-pve",
    "platform_version": "#1 SMP PREEMPT_DYNAMIC PMX 6.17.13-2 (2026-03-13T08:06Z)",
    "architecture": "x86_64",
    "python_version": "3.13.13"
  },
  "environment": {
    "docker": true,
    "data_dir": "/app/data",
    "log_dir": "/app/logs",
    "timezone": "Europe/Berlin"
  },
  "database": {
    "archives_total": 64,
    "archives_completed": 61,
    "printers_total": 2,
    "filaments_total": 0,
    "projects_total": 0,
    "smart_plugs_total": 4
  },
  "printers": [
    {
      "index": 1,
      "model": "H2C",
      "nozzle_count": 2,
      "is_active": true,
      "mqtt_connected": true,
      "state": "RUNNING",
      "firmware_version": "01.01.05.00",
      "wifi_signal": -56,
      "reachable": true,
      "ams_unit_count": 3,
      "ams_tray_count": 4,
      "has_vt_tray": true,
      "external_camera_configured": false,
      "plate_detection_enabled": false,
      "hms_error_count": 1,
      "developer_mode": false,
      "nozzle_rack_count": 7
    },
    {
      "index": 2,
      "model": "A1 Mini",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": false,
      "state": "unknown",
      "firmware_version": null,
      "wifi_signal": null,
      "reachable": false,
      "ams_unit_count": 0,
      "ams_tray_count": 0,
      "has_vt_tray": false,
      "external_camera_configured": false,
      "plate_detection_enabled": false,
      "hms_error_count": 0,
      "developer_mode": null,
      "nozzle_rack_count": 0
    }
  ],
  "settings": {
    "advanced_auth_enabled": "false",
    "smtp_auth_enabled": "true",
    "auth_enabled": "true",
    "setup_completed": "true",
    "auto_archive": "true",
    "save_thumbnails": "true",
    "capture_finish_photo": "true",
    "default_filament_cost": "12.0",
    "currency": "EUR",
    "energy_cost_per_kwh": "0.3",
    "energy_tracking_mode": "total",
    "disable_filament_warnings": "false",
    "check_updates": "true",
    "check_printer_firmware": "true",
    "include_beta_updates": "true",
    "notification_language": "it",
    "bed_cooled_threshold": "35.0",
    "ams_humidity_good": "40",
    "ams_humidity_fair": "60",
    "ams_temp_good": "28.0",
    "ams_temp_fair": "35.0",
    "ams_history_retention_days": "30",
    "queue_drying_enabled": "false",
    "queue_drying_block": "false",
    "ambient_drying_enabled": "false",
    "drying_presets": "",
    "per_printer_mapping_expanded": "false",
    "date_format": "system",
    "time_format": "system",
    "default_printer_id": "1",
    "ftp_retry_enabled": "true",
    "ftp_retry_count": "3",
    "ftp_retry_delay": "2",
    "ftp_timeout": "30",
    "mqtt_enabled": "false",
    "mqtt_broker": "",
    "mqtt_port": "1883",
    "mqtt_topic_prefix": "bambuddy",
    "mqtt_use_tls": "false",
    "ha_enabled": "true",
    "library_archive_mode": "ask",
    "library_disk_warning_gb": "5.0",
    "camera_view_mode": "embedded",
    "preferred_slicer": "bambu_studio",
    "prometheus_enabled": "false",
    "user_notifications_enabled": "true",
    "spoolman_enabled": "false",
    "spoolman_sync_mode": "manual",
    "spoolman_disable_weight_sync": "true",
    "spoolman_report_partial_usage": "true",
    "debug_logging_enabled": "false",
    "debug_logging_enabled_at": "",
    "dark_style": "vibrant",
    "obico_enabled": "false",
    "obico_sensitivity": "medium",
    "obico_action": "notify",
    "obico_poll_interval": "10",
    "obico_enabled_printers": ""
  },
  "docker": {
    "container_memory_limit_bytes": null,
    "container_memory_limit_formatted": null,
    "network_mode_hint": "host"
  },
  "virtual_printers": [],
  "integrations": {
    "notification_providers": [],
    "spoolman": {
      "enabled": false,
      "reachable": false
    },
    "mqtt_relay": {
      "enabled": false,
      "connected": false,
      "broker": "",
      "port": 0,
      "topic_prefix": "bambuddy"
    },
    "homeassistant": {
      "enabled": true
    }
  },
  "database_health": {
    "backend": "sqlite",
    "journal_mode": "wal",
    "quick_check": "ok",
    "db_size_bytes": 2928640,
    "wal_size_bytes": 4157112
  },
  "dependencies": {
    "fastapi": "0.135.3",
    "uvicorn": "0.44.0",
    "pydantic": "2.13.0",
    "sqlalchemy": "2.0.49",
    "paho-mqtt": "2.1.0",
    "psutil": "7.2.2",
    "httpx": "0.28.1",
    "aiofiles": "25.1.0",
    "cryptography": "46.0.7",
    "opencv-python-headless": "4.13.0.92",
    "numpy": "2.4.4"
  },
  "log_file": {
    "size_bytes": 174435,
    "size_formatted": "170.3 KB"
  },
  "network": {
    "interface_count": 1,
    "interfaces": [
      {
        "name": "eth0",
        "subnet": "x.x.0.0/22"
      }
    ]
  },
  "websockets": {
    "active_connections": 1
  }
}

Logs (sanitized): bambuddy.log


Submitted via BamBuddy Bug Report

Originally created by @maziggy on GitHub (Apr 14, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/970 Originally assigned to: @maziggy on GitHub. spoolbyddy won't sync <details> <summary>Reporter Contact</summary> Email: info@dvd24h.it </details> <details> <summary>System Information</summary> ```json { "generated_at": "2026-04-14T06:44:20.003136", "app": { "version": "0.2.3b4", "debug_mode": false }, "system": { "platform": "Linux", "platform_release": "6.17.13-2-pve", "platform_version": "#1 SMP PREEMPT_DYNAMIC PMX 6.17.13-2 (2026-03-13T08:06Z)", "architecture": "x86_64", "python_version": "3.13.13" }, "environment": { "docker": true, "data_dir": "/app/data", "log_dir": "/app/logs", "timezone": "Europe/Berlin" }, "database": { "archives_total": 64, "archives_completed": 61, "printers_total": 2, "filaments_total": 0, "projects_total": 0, "smart_plugs_total": 4 }, "printers": [ { "index": 1, "model": "H2C", "nozzle_count": 2, "is_active": true, "mqtt_connected": true, "state": "RUNNING", "firmware_version": "01.01.05.00", "wifi_signal": -56, "reachable": true, "ams_unit_count": 3, "ams_tray_count": 4, "has_vt_tray": true, "external_camera_configured": false, "plate_detection_enabled": false, "hms_error_count": 1, "developer_mode": false, "nozzle_rack_count": 7 }, { "index": 2, "model": "A1 Mini", "nozzle_count": 1, "is_active": true, "mqtt_connected": false, "state": "unknown", "firmware_version": null, "wifi_signal": null, "reachable": false, "ams_unit_count": 0, "ams_tray_count": 0, "has_vt_tray": false, "external_camera_configured": false, "plate_detection_enabled": false, "hms_error_count": 0, "developer_mode": null, "nozzle_rack_count": 0 } ], "settings": { "advanced_auth_enabled": "false", "smtp_auth_enabled": "true", "auth_enabled": "true", "setup_completed": "true", "auto_archive": "true", "save_thumbnails": "true", "capture_finish_photo": "true", "default_filament_cost": "12.0", "currency": "EUR", "energy_cost_per_kwh": "0.3", "energy_tracking_mode": "total", "disable_filament_warnings": "false", "check_updates": "true", "check_printer_firmware": "true", "include_beta_updates": "true", "notification_language": "it", "bed_cooled_threshold": "35.0", "ams_humidity_good": "40", "ams_humidity_fair": "60", "ams_temp_good": "28.0", "ams_temp_fair": "35.0", "ams_history_retention_days": "30", "queue_drying_enabled": "false", "queue_drying_block": "false", "ambient_drying_enabled": "false", "drying_presets": "", "per_printer_mapping_expanded": "false", "date_format": "system", "time_format": "system", "default_printer_id": "1", "ftp_retry_enabled": "true", "ftp_retry_count": "3", "ftp_retry_delay": "2", "ftp_timeout": "30", "mqtt_enabled": "false", "mqtt_broker": "", "mqtt_port": "1883", "mqtt_topic_prefix": "bambuddy", "mqtt_use_tls": "false", "ha_enabled": "true", "library_archive_mode": "ask", "library_disk_warning_gb": "5.0", "camera_view_mode": "embedded", "preferred_slicer": "bambu_studio", "prometheus_enabled": "false", "user_notifications_enabled": "true", "spoolman_enabled": "false", "spoolman_sync_mode": "manual", "spoolman_disable_weight_sync": "true", "spoolman_report_partial_usage": "true", "debug_logging_enabled": "false", "debug_logging_enabled_at": "", "dark_style": "vibrant", "obico_enabled": "false", "obico_sensitivity": "medium", "obico_action": "notify", "obico_poll_interval": "10", "obico_enabled_printers": "" }, "docker": { "container_memory_limit_bytes": null, "container_memory_limit_formatted": null, "network_mode_hint": "host" }, "virtual_printers": [], "integrations": { "notification_providers": [], "spoolman": { "enabled": false, "reachable": false }, "mqtt_relay": { "enabled": false, "connected": false, "broker": "", "port": 0, "topic_prefix": "bambuddy" }, "homeassistant": { "enabled": true } }, "database_health": { "backend": "sqlite", "journal_mode": "wal", "quick_check": "ok", "db_size_bytes": 2928640, "wal_size_bytes": 4157112 }, "dependencies": { "fastapi": "0.135.3", "uvicorn": "0.44.0", "pydantic": "2.13.0", "sqlalchemy": "2.0.49", "paho-mqtt": "2.1.0", "psutil": "7.2.2", "httpx": "0.28.1", "aiofiles": "25.1.0", "cryptography": "46.0.7", "opencv-python-headless": "4.13.0.92", "numpy": "2.4.4" }, "log_file": { "size_bytes": 174435, "size_formatted": "170.3 KB" }, "network": { "interface_count": 1, "interfaces": [ { "name": "eth0", "subnet": "x.x.0.0/22" } ] }, "websockets": { "active_connections": 1 } } ``` </details> **Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/170d6ee2422f433d88e48392474ca662.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-06 12:31:49 +02:00
Author
Owner

@maziggy commented on GitHub (Apr 14, 2026):

To debug this I need a bit more info — the attached log has debug logging disabled, so it doesn't show any SpoolBuddy activity.

Could you:

  1. Enable debug logging (Settings → Advanced → Debug logging), then trigger a sync attempt from the SpoolBuddy device, wait ~30s, and re-generate the bug report so the log captures the sync traffic.
  2. SpoolBuddy device state — in Settings → SpoolBuddy, is the device listed? Is it shown as online? What's the firmware version, and when was "last seen"?
  3. What exactly fails? — is the device not appearing at all, appearing but stuck offline, or online but spool data not updating? Any error toast?
  4. SpoolBuddy-side logs — if you can SSH into the SpoolBuddy Pi, journalctl -u spoolbuddy -n 200 (or equivalent) around the time of a sync attempt would help pinpoint whether it's failing on the device or on Bambuddy's end.
  5. Network — Bambuddy is running in Docker with network_mode: host. Can the SpoolBuddy device reach the Bambuddy host on its API port (e.g. via ping / browser)?

Once I have the debug log showing the sync attempt I should be able to narrow it down quickly.

Also you don't have developer mode enabled on your printers. This is a requirement for Bambuddy!!!

<!-- gh-comment-id:4242214300 --> @maziggy commented on GitHub (Apr 14, 2026): To debug this I need a bit more info — the attached log has debug logging disabled, so it doesn't show any SpoolBuddy activity. Could you: 1. Enable debug logging (Settings → Advanced → Debug logging), then trigger a sync attempt from the SpoolBuddy device, wait ~30s, and re-generate the bug report so the log captures the sync traffic. 2. SpoolBuddy device state — in Settings → SpoolBuddy, is the device listed? Is it shown as online? What's the firmware version, and when was "last seen"? 3. What exactly fails? — is the device not appearing at all, appearing but stuck offline, or online but spool data not updating? Any error toast? 4. SpoolBuddy-side logs — if you can SSH into the SpoolBuddy Pi, journalctl -u spoolbuddy -n 200 (or equivalent) around the time of a sync attempt would help pinpoint whether it's failing on the device or on Bambuddy's end. 5. Network — Bambuddy is running in Docker with network_mode: host. Can the SpoolBuddy device reach the Bambuddy host on its API port (e.g. via ping / browser)? Once I have the debug log showing the sync attempt I should be able to narrow it down quickly. Also you don't have developer mode enabled on your printers. This is a requirement for Bambuddy!!!
Author
Owner

@maziggy commented on GitHub (Apr 19, 2026):

  "developer_mode": false,

Developer mode is not enabled.

<!-- gh-comment-id:4275849114 --> @maziggy commented on GitHub (Apr 19, 2026): > "developer_mode": false, Developer mode is not enabled.
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#673
No description provided.