You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally run openclaw memoria verify and report pass/fail.
90
+
```
91
+
61
92
## Installer Inputs
62
93
63
94
Important environment variables:
@@ -82,6 +113,35 @@ Installer flags:
82
113
-`--skip-plugin-install`: only rewrite plugin config; assume OpenClaw already installed and the plugin already loaded
83
114
-`--verify`: run a post-install smoke check
84
115
116
+
## ⚠️ Common Pitfalls
117
+
118
+
**macOS `sh` vs `bash`:** The installer script is bash (`#!/usr/bin/env bash`) and uses bash-specific syntax.
119
+
If you pipe a script, use `bash -s --`, not `sh -s --`.
120
+
121
+
```bash
122
+
# ✅ Correct
123
+
curl -fsSL <url>| bash -s --
124
+
125
+
# ❌ May fail with "bad substitution"
126
+
curl -fsSL <url>| sh -s --
127
+
```
128
+
129
+
**Explicit memory mode is default (`autoObserve=false`):** the plugin does not auto-write memories from conversation turns.
130
+
Writes happen when the agent explicitly calls tools like `memory_store` (or related write tools).
131
+
This keeps memory writes intentional and reviewable.
132
+
If you want auto-capture, set `MEMORIA_AUTO_OBSERVE=true` and provide `MEMORIA_LLM_API_KEY` + `MEMORIA_LLM_MODEL`.
133
+
134
+
**Old schema vs new runtime:** If you upgraded from an older Memoria setup, existing DB schema may not match current Rust runtime expectations.
135
+
Use a fresh database name in `MEMORIA_DB_URL` for a clean install path.
136
+
137
+
```text
138
+
# Old/default style
139
+
mysql://root:111@127.0.0.1:6001/memoria
140
+
141
+
# Clean-start recommendation
142
+
mysql://root:111@127.0.0.1:6001/memoria_v2
143
+
```
144
+
85
145
## Tool Surface
86
146
87
147
The OpenClaw plugin exposes:
@@ -103,18 +163,27 @@ Current differences to be aware of:
103
163
-`memory_stats` is derived from available MCP outputs, so inactive-memory totals and entity totals are not currently available
104
164
-`memory_entities` is no longer exposed, because the Rust Memoria MCP toolset does not provide a matching tool
105
165
- old `mysql+pymysql://...` DSNs are normalized to `mysql://...` automatically during install and config parsing
166
+
- if you previously used an older Memoria stack, schema drift can cause runtime errors; using a fresh DB name (for example `memoria_v2`) avoids most upgrade collisions
0 commit comments