[Bug Report] All filaments have disappeared and when adding new ones they also don't show.
Repository: maziggy/bambuddy
Author: maziggy
All filaments have disappeared and when adding new ones they also don't show.
<details>
<summary>System Information</summary>
```json
{
"generated_at": "2026-04-20T18:06:44.796976",
"app": {
"version": "0.2.4b1",
"debug_mode": false
},
"system": {
"platform": "Linux",
"platform_release": "6.1.120+",
"platform_version": "#50 SMP PREEMPT_DYNAMIC Thu Sep 4 14:04:59 CST 2025",
"architecture": "x86_64",
"python_version": "3.13.13"
},
"environment": {
"docker": true,
"data_dir": "/app/data",
"log_dir": "/app/logs",
"timezone": "Europe/Stockholm"
},
"database": {
"archives_total": 184,
"archives_completed": 150,
"printers_total": 1,
"filaments_total": 0,
"projects_total": 0,
"smart_plugs_total": 1
},
"printers": [
{
"index": 1,
"model": "P1S",
"nozzle_count": 1,
"is_active": true,
"mqtt_connected": true,
"state": "FINISH",
"firmware_version": "01.10.00.00",
"wifi_signal": -40,
"reachable": true,
"ams_unit_count": 1,
"ams_tray_count": 4,
"has_vt_tray": true,
"external_camera_configured": false,
"plate_detection_enabled": false,
"hms_error_count": 0,
"developer_mode": true,
"nozzle_rack_count": 0
}
],
"settings": {
"auth_enabled": "true",
"setup_completed": "true",
"auto_archive": "true",
"save_thumbnails": "true",
"capture_finish_photo": "true",
"default_filament_cost": "200.0",
"currency": "SEK",
"energy_cost_per_kwh": "1.15",
"energy_tracking_mode": "total",
"check_updates": "true",
"check_printer_firmware": "true",
"include_beta_updates": "true",
"notification_language": "en",
"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": "192.168.1.23",
"mqtt_port": "1883",
"mqtt_username": "[REDACTED]",
"mqtt_password": "[REDACTED]",
"mqtt_topic_prefix": "bambuddy",
"mqtt_use_tls": "false",
"external_url": "[REDACTED]",
"ha_enabled": "true",
"ha_url": "[REDACTED]",
"ha_token": "[REDACTED]",
"library_archive_mode": "ask",
"library_disk_warning_gb": "5.0",
"camera_view_mode": "embedded",
"preferred_slicer": "bambu_studio",
"prometheus_enabled": "false",
"prometheus_token": "",
"spoolman_enabled": "false",
"spoolman_url": "[REDACTED]",
"spoolman_sync_mode": "auto",
"spoolman_disable_weight_sync": "false",
"spoolman_report_partial_usage": "true",
"advanced_auth_enabled": "false",
"smtp_auth_enabled": "true",
"disable_filament_warnings": "false",
"user_notifications_enabled": "true",
"stagger_group_size": "2",
"stagger_interval_minutes": "5",
"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": true,
"reachable": false
},
"mqtt_relay": {
"enabled": false,
"connected": false,
"broker": "",
"port": 0,
"topic_prefix": "bambuddy"
},
"spoolbuddy": {
"device_count": 0,
"online_count": 0,
"devices": []
},
"homeassistant": {
"enabled": true
}
},
"database_health": {
"backend": "sqlite",
"journal_mode": "wal",
"quick_check": "ok",
"db_size_bytes": 2121728,
"wal_size_bytes": 4148872
},
"dependencies": {
"fastapi": "0.136.0",
"uvicorn": "0.44.0",
"pydantic": "2.13.2",
"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": 2070662,
"size_formatted": "2.0 MB"
},
"network": {
"interface_count": 2,
"interfaces": [
{
"name": "eth1",
"subnet": "x.x.1.0/24"
},
{
"name": "tailscale0",
"subnet": "x.x.100.3/32"
}
]
},
"websockets": {
"active_connections": 1
}
}
```
</details>
**Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/68e8513f6682410bb124ea8b45317429.log)
---
*Submitted via BamBuddy Bug Report*