Add model path debug output on startup
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Nick
2025-12-27 23:44:31 +13:00
parent b7cecfd69e
commit 6a92eff814

View File

@@ -53,6 +53,19 @@ def start_comfyui():
if comfyui_process is not None and comfyui_process.poll() is None: if comfyui_process is not None and comfyui_process.poll() is None:
return True return True
# Debug: show model paths
print("=== Model Path Debug ===")
import subprocess
for path in ["/runpod-volume", "/runpod-volume/models", "/workspace/ComfyUI/models"]:
result = subprocess.run(["ls", "-la", path], capture_output=True, text=True)
print(f"{path}:")
print(result.stdout[:500] if result.stdout else f" Error: {result.stderr}")
# Find any .safetensors files
result = subprocess.run(["find", "/runpod-volume", "-name", "*.safetensors", "-type", "f"],
capture_output=True, text=True, timeout=30)
print(f"Safetensors on volume:\n{result.stdout[:1000] if result.stdout else 'None found'}")
print("Starting ComfyUI server...") print("Starting ComfyUI server...")
comfyui_process = subprocess.Popen( comfyui_process = subprocess.Popen(