Upgrade to 0.5.0 broke install
First of all, really cool project!
However, somehow upgrading to 0.5.0 and asking the bot to restart (/restart in telegram) now results in this error in the logs:
2026-02-23 12:20:11 [WARNING] ductor_bot.cli.claude_provider:claude_provider.py:256: [msg:8499151558] CLI stderr:
Claude configuration file not found at: /home/node/.claude.json
A backup file exists at: /home/node/.claude/backups/.claude.json.backup.1771848409594
You can manually restore it by running: cp "/home/node/.claude/backups/.claude.json.backup.1771848409594" "/home/node/.claude.json"
I have a separate ductor user on my system, and the file /home/ductor/.claude.json exists with 600 permissions.
Any idea?
Will have a look asap
Thanks for reporting this — and glad you like the project!
The issue is a regression in v0.5.0: the Docker sandbox mounts ~/.claude/ (directory) but not ~/.claude.json (the auth file at the home root). With HOME=/home/node set inside the container, Claude CLI looks for /home/node/.claude.json which was never mounted.
Fixed in v0.5.1 — ~/.claude.json is now mounted into the container when it exists on the host.
ductor stop
pipx upgrade ductor
# or: pip install --upgrade ductor
If you're running as a systemd service:
ductor service stop
pipx upgrade ductor
ductor service start
Let me know if this resolves it. Closing once confirmed.
One follow-up question: could you check if Docker mode is enabled in your config?
cat ~/.ductor/config/config.json | grep -A2 '"docker"'
The /home/node path only exists in ductor's Docker sandbox code. If docker.enabled is false (or missing), the path must come from somewhere else in your environment — in that case, could you share the output of:
echo $HOME
which claude
(as the user that runs ductor)
This will help narrow down the root cause for your specific setup.
Yeah I had docker enabled (disabled it when I hit this issue). Upgraded and re-enabled it, and now everything is working again (including gemini cli!). Thanks!
Also, having looked at a few other projects that try to do similar things, I'm surprised your project hasn't gathered more attention yet. IMO it's a very clean, clear and token-friendly way (due to using your cc/codex/gemini subscription) to play around with autonomous remote-controlled agents (like Openclaw).
Did you post it to HN already, or are you holding off with that?
Perfect! I'm currently fixing Gemini in Docker mode. It runs perfectly without Docker, but with Docker it causes problems... As soon as that's fixed, I'll push to 0.5.2. Unfortunately, I'm not a Docker expert either and have to try out a lot of things e2e :D
So far, I haven't looked any further into where to present the project here. Actually, I only built it for myself because I was looking for a simple Python-based solution that doesn't interfere too much with the CLIs! To be honest, there's a really wide selection now but once the bot has reached a stable status here, HN etc. would be an idea!
The Gemini problem has also been fixed. Gemini sessions are project folder-related. When switching (Docker/no Docker), the sessions are no longer valid and cannot be found.
I have also implemented a clean solution so that if the session cannot be found, a new one is started.
Gemini, Claude and Codex should now run smoothly in Docker! I'll push the update right away.
v0.5.2 is live — all Docker issues from this thread are resolved:
- Claude/Codex in Docker: fixed hanging caused by stdin forwarding (
-iflag now only used for Gemini which needs it) - Gemini in Docker: env vars (API key, system prompt, Google Cloud auth) properly forwarded via
docker exec -eflags - Session recovery: when switching between Docker/host, invalid sessions are auto-detected and a fresh session starts transparently
- Logging: all providers now log the actual
docker exec ...command; API keys masked in output
pipx upgrade ductor
Thanks for the report and the kind words — really appreciated!