on this page ▾
[ GUIDES ] TROUBLESHOOTING

Troubleshooting#

Symptom Cause / fix
error: not inside a ResearchVC repository (exit 2) run rvc init, or set RVC_REPO=/path
could not acquire lock …/refs/heads/main.lock (exit 7) another rvc process is running; stale locks from dead processes are reclaimed automatically. Only delete the lock file if you are sure. rvc doctor lists locks.
working tree has uncommitted changes on checkout/merge (exit 8) commit, rvc restore, or --force (discards changes)
skipped … larger than core.large_file_threshold rvc add --large, raise core.large_file_threshold, or rvc artifact add-external with an immutable digest
a file is not added it matches .rvcignore or the built-in secret/cache defaults; rvc add -f to override (think twice for credentials)
rejected … non-fast-forward on push (exit 6) rvc pull (fetch + merge) then push; --force only if you intend to rewrite the remote branch and it is not protected
incomplete history rejection local objects are missing; rvc fsck locally, then push again
AI processing is disabled (exit 14) expected by default; rvc config set ai.enabled true and choose ai.provider (+ ai.allow_external true for hosted providers)
a run shows status running forever the process died; rvc experiments recover
rvc fsck reports corrupt objects restore them from a remote (rvc fetch) or a bundle; corrupt objects are never silently used
web app shows 401/redirect loop API not reachable at RVC_API_URL or cookies blocked; check /health through the web origin
ssl.SSLError from boto3 in the API fixed by sharing one S3 client per process (created at startup)

docs/troubleshooting.md