Subsequently commited on
Commit
87eacef
·
verified ·
1 Parent(s): ca370ca

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +10 -0
entrypoint.sh CHANGED
@@ -220,7 +220,17 @@ if doctor_locked; then
220
  warn "doctor still blocked by the state lock - not touching any data"
221
  fi
222
  log "Doctor step done."
 
 
 
 
223
 
 
 
 
 
 
 
224
  # Plugins must not be world-writable or OpenClaw blocks them
225
  chmod -R go-w "$OPENCLAW_HOME/.openclaw/npm" "$OPENCLAW_HOME/.openclaw/extensions" 2>/dev/null || true
226
 
 
220
  warn "doctor still blocked by the state lock - not touching any data"
221
  fi
222
  log "Doctor step done."
223
+ # Temporary read-only session migration diagnostics
224
+ log "Running session SQLite dry-run..."
225
+ openclaw doctor --session-sqlite dry-run \
226
+ --session-sqlite-all-agents --json || true
227
 
228
+ log "Inspecting session SQLite..."
229
+ openclaw doctor --session-sqlite inspect \
230
+ --session-sqlite-all-agents --json || true
231
+
232
+ log "Diagnostics complete. Stopping before Gateway startup."
233
+ exit 1
234
  # Plugins must not be world-writable or OpenClaw blocks them
235
  chmod -R go-w "$OPENCLAW_HOME/.openclaw/npm" "$OPENCLAW_HOME/.openclaw/extensions" 2>/dev/null || true
236