New Openclaw agent disappeared
Anonymous
PROOP

3 months ago

After installing the main agent via the OpenClaw template, I installed additional agents via the CLI openclaw add agents ...). However, after redeploying, the newly installed agents were deleted. (Location: /data/workspace/new_agent1)

Is it impossible to configure multi-agent installations when installing OpenClaw via a template?

Or is there another proper method?

$10 Bounty

2 Replies

Railway
BOT

3 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open Railway 3 months ago


diogoribeirodev
FREE

3 months ago

Railway containers are ephemeral — anything not on a persistent volume is wiped on redeploy. Agents added via openclaw add agents at runtime don't survive.

Fixes

  1. Bake agents into the build — Run openclaw add agents <name> in your Dockerfile so they're part of the image.
  2. Use a startup script — Re-run the install command on every container start via an entrypoint script.
  3. Verify your volume mount — Make sure the volume is mounted at exactly the path where agents are installed (e.g., /data/workspace).

I recommend the option 1.


diogoribeirodev
FREE

3 months ago

The option 1 would require you to fork the template.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...