1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[GH-ISSUE #992] [Bug Report] I got the service to work once on Docker with Windows, but recently, I get this. #693

Closed
opened 2026-05-07 00:12:52 +02:00 by BreizhHardware · 2 comments

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

Originally assigned to: @maziggy on GitHub.

I got the service to work once on Docker with Windows, but recently, I get this. Right now, my H2S is printing and the P1S is offline. Both show "Ok" but offline. I have gone through a BUNCH of troubleshooting docker, and even tried Ubuntu with Docker in it and cannot get things to work.

Screenshot

Bug Report Screenshot

Reporter Contact

Email: timirvingdc@gmail.com

System Information
{
  "generated_at": "2026-04-15T18:27:26.187101",
  "app": {
    "version": "0.2.2.2",
    "debug_mode": false
  },
  "system": {
    "platform": "Linux",
    "platform_release": "6.6.87.2-microsoft-standard-WSL2",
    "platform_version": "#1 SMP PREEMPT_DYNAMIC Thu Jun  5 18:30:46 UTC 2025",
    "architecture": "x86_64",
    "python_version": "3.13.12"
  },
  "environment": {
    "docker": true,
    "data_dir": "/app/data",
    "log_dir": "/app/logs",
    "timezone": "America/Los_Angeles"
  },
  "database": {
    "archives_total": 0,
    "archives_completed": 0,
    "printers_total": 2,
    "filaments_total": 0,
    "projects_total": 0,
    "smart_plugs_total": 0
  },
  "printers": [
    {
      "index": 1,
      "model": "P1S",
      "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
    },
    {
      "index": 2,
      "model": "H2S",
      "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": {
    "auth_enabled": "true",
    "setup_completed": "true",
    "auto_archive": "true",
    "save_thumbnails": "true",
    "capture_finish_photo": "true",
    "default_filament_cost": "25.0",
    "currency": "USD",
    "energy_cost_per_kwh": "0.15",
    "energy_tracking_mode": "total",
    "check_updates": "true",
    "notification_language": "en",
    "ams_humidity_good": "40",
    "ams_humidity_fair": "60",
    "ams_temp_good": "28.0",
    "ams_temp_fair": "35.0",
    "ams_history_retention_days": "30",
    "per_printer_mapping_expanded": "false",
    "date_format": "system",
    "time_format": "system",
    "default_printer_id": "None",
    "telemetry_enabled": "true",
    "ftp_retry_enabled": "true",
    "ftp_retry_count": "3",
    "ftp_retry_delay": "2",
    "mqtt_enabled": "false",
    "mqtt_broker": "",
    "mqtt_port": "1883",
    "mqtt_topic_prefix": "bambuddy",
    "mqtt_use_tls": "false",
    "ha_enabled": "false",
    "library_archive_mode": "ask",
    "library_disk_warning_gb": "5.0",
    "camera_view_mode": "window",
    "advanced_auth_enabled": "false",
    "smtp_auth_enabled": "true",
    "debug_logging_enabled": "false",
    "debug_logging_enabled_at": ""
  },
  "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": false
    }
  },
  "database_health": {
    "journal_mode": "wal",
    "quick_check": "ok",
    "db_size_bytes": 200704,
    "wal_size_bytes": 741632
  },
  "dependencies": {
    "fastapi": "0.135.2",
    "uvicorn": "0.42.0",
    "pydantic": "2.12.5",
    "sqlalchemy": "2.0.48",
    "paho-mqtt": "2.1.0",
    "psutil": "7.2.2",
    "httpx": "0.28.1",
    "aiofiles": "25.1.0",
    "cryptography": "46.0.6",
    "opencv-python-headless": "4.13.0.92",
    "numpy": "2.4.3"
  },
  "log_file": {
    "size_bytes": 2327376,
    "size_formatted": "2.2 MB"
  },
  "network": {
    "interface_count": 2,
    "interfaces": [
      {
        "name": "services1",
        "subnet": "x.x.65.6/32"
      },
      {
        "name": "eth0",
        "subnet": "x.x.65.0/24"
      }
    ]
  },
  "websockets": {
    "active_connections": 2
  }
}

Logs (sanitized): bambuddy.log


Submitted via BamBuddy Bug Report

Originally created by @maziggy on GitHub (Apr 16, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/992 Originally assigned to: @maziggy on GitHub. I got the service to work once on Docker with Windows, but recently, I get this. Right now, my H2S is printing and the P1S is offline. Both show "Ok" but offline. I have gone through a BUNCH of troubleshooting docker, and even tried Ubuntu with Docker in it and cannot get things to work. ### Screenshot ![Bug Report Screenshot](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/screenshots/af22634b267042dc9c4eef83c4baf3c3.png) <details> <summary>Reporter Contact</summary> Email: timirvingdc@gmail.com </details> <details> <summary>System Information</summary> ```json { "generated_at": "2026-04-15T18:27:26.187101", "app": { "version": "0.2.2.2", "debug_mode": false }, "system": { "platform": "Linux", "platform_release": "6.6.87.2-microsoft-standard-WSL2", "platform_version": "#1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025", "architecture": "x86_64", "python_version": "3.13.12" }, "environment": { "docker": true, "data_dir": "/app/data", "log_dir": "/app/logs", "timezone": "America/Los_Angeles" }, "database": { "archives_total": 0, "archives_completed": 0, "printers_total": 2, "filaments_total": 0, "projects_total": 0, "smart_plugs_total": 0 }, "printers": [ { "index": 1, "model": "P1S", "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 }, { "index": 2, "model": "H2S", "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": { "auth_enabled": "true", "setup_completed": "true", "auto_archive": "true", "save_thumbnails": "true", "capture_finish_photo": "true", "default_filament_cost": "25.0", "currency": "USD", "energy_cost_per_kwh": "0.15", "energy_tracking_mode": "total", "check_updates": "true", "notification_language": "en", "ams_humidity_good": "40", "ams_humidity_fair": "60", "ams_temp_good": "28.0", "ams_temp_fair": "35.0", "ams_history_retention_days": "30", "per_printer_mapping_expanded": "false", "date_format": "system", "time_format": "system", "default_printer_id": "None", "telemetry_enabled": "true", "ftp_retry_enabled": "true", "ftp_retry_count": "3", "ftp_retry_delay": "2", "mqtt_enabled": "false", "mqtt_broker": "", "mqtt_port": "1883", "mqtt_topic_prefix": "bambuddy", "mqtt_use_tls": "false", "ha_enabled": "false", "library_archive_mode": "ask", "library_disk_warning_gb": "5.0", "camera_view_mode": "window", "advanced_auth_enabled": "false", "smtp_auth_enabled": "true", "debug_logging_enabled": "false", "debug_logging_enabled_at": "" }, "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": false } }, "database_health": { "journal_mode": "wal", "quick_check": "ok", "db_size_bytes": 200704, "wal_size_bytes": 741632 }, "dependencies": { "fastapi": "0.135.2", "uvicorn": "0.42.0", "pydantic": "2.12.5", "sqlalchemy": "2.0.48", "paho-mqtt": "2.1.0", "psutil": "7.2.2", "httpx": "0.28.1", "aiofiles": "25.1.0", "cryptography": "46.0.6", "opencv-python-headless": "4.13.0.92", "numpy": "2.4.3" }, "log_file": { "size_bytes": 2327376, "size_formatted": "2.2 MB" }, "network": { "interface_count": 2, "interfaces": [ { "name": "services1", "subnet": "x.x.65.6/32" }, { "name": "eth0", "subnet": "x.x.65.0/24" } ] }, "websockets": { "active_connections": 2 } } ``` </details> **Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/18cfc63a70d44be88fd41de476163b12.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-07 00:12:52 +02:00
Author
Owner

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

Please do the following:

  1. delete both orinters from Bambuddy
  2. enable debug logging -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging
  3. add your printers back to Bambuddy
  4. upload support-package

This should show us exactly what happens.

<!-- gh-comment-id:4257834998 --> @maziggy commented on GitHub (Apr 16, 2026): Please do the following: 1. delete both orinters from Bambuddy 2. enable debug logging -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging 3. add your printers back to Bambuddy 4. upload support-package This should show us exactly what happens.
Author
Owner

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

Please update to latest version.

<!-- gh-comment-id:4275855552 --> @maziggy commented on GitHub (Apr 19, 2026): Please update to latest version.
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-maziggy-1#693
No description provided.