#missing config file

1 messages · Page 1 of 1 (latest)

true rampart
#

I'm running openclaw (version 2026.1.29) I followed this doc (https://docs.openclaw.ai/platforms/gcp) to run it from VM in GCP.
I use openclaw CLI from local through SSH tunel. To start the service I execute:
docker compose up -d openclaw-gateway from ~/openclaw in my VM

this is mi docker-compose.yml file located in ~/openclaw :
services:
openclaw-gateway:
image: ${OPENCLAW_IMAGE}
build: .
restart: unless-stopped
env_file:
- .env
environment:
- HOME=/home/node
- NODE_ENV=production
- TER= xterm-256color
- OPENCLAW_GATEWAY_TOKEN=${OPENCLAW_GATEWAY_TOKEN}
- OPENCLAW_GATEWAY_BIND=${OPENCLAW_GATEWAY_BIND}
- OPENCLAW_GATEWAY_PORT=${OPENCLAW_GATEWAY_PORT}
- XDG_CONFIG_HOME=/home/node/.openclaw
- PATH=/home/linuxbrew/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sb>
volumes:
- ${OPENCLAW_CONFIG_DIR}:/home/node/.openclaw
- ${OPENCLAW_WORKSPACE_DIR}:/home/node/.openclaw/workspace
ports:
- "127.0.0.1:${OPENCLAW_GATEWAY_PORT}:18789"
command:
[
"node",
"dist/index.js",
"gateway",
"--bind",
"${OPENCLAW_GATEWAY_BIND}",
"--port",
"${OPENCLAW_GATEWAY_PORT}"
]

this is my .env file located in ~/openclaw:
OPENCLAW_IMAGE=openclaw:latest
OPENCLAW_GATEWAY_TOKEN=XXXXXXXXXX
OPENCLAW_GATEWAY_BIND=lan
OPENCLAW_GATEWAY_PORT=18789

OPENCLAW_CONFIG_DIR=/home/$USER/.openclaw
OPENCLAW_WORKSPACE_DIR=/home/$USER/.openclaw/workspace

config.yaml file. I tried all this locations and none worked:
~/.config/openclaw/
~/.openclaw
~/.openclaw/openclaw
~/openclaw

gateway:
mode: local
bind: lan
port: 18789

@vernal mulch can you help to spot the issue?

peak mountainBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

true rampart
#

@vernal mulch can you help with this?

vernal mulchBOT
# true rampart <@1457407575476801641> can you help with this?

⚠️ Agent failed before reply: No API key found for provider "anthropic". Auth store: /srv/clawdbot/state/agents/main/agent/auth-profiles.json (agentDir: /srv/clawdbot/state/agents/main/agent). Configure auth for this agent (clawdbot agents add <id>) or copy auth-profiles.json from the main agentDir.
Logs: clawdbot logs --follow

true rampart
#

@vernal mulch that’s not my issue. Could you read the thread from the start?

vernal mulchBOT
true rampart
#

@vernal mulch did you have a look to this thread?

vernal mulchBOT
# true rampart <@1457407575476801641> did you have a look to this thread?

⚠️ Agent failed before reply: No API key found for provider "anthropic". Auth store: /srv/clawdbot/state/agents/main/agent/auth-profiles.json (agentDir: /srv/clawdbot/state/agents/main/agent). Configure auth for this agent (clawdbot agents add <id>) or copy auth-profiles.json from the main agentDir.
Logs: clawdbot logs --follow

true rampart