Skip to content

Commit e85b712

Browse files
committed
Add troubleshooting section to upgrading
1 parent 38803d7 commit e85b712

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

docs.openc3.com/docs/getting-started/upgrading.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,64 @@ The following target configuration keywords are silently ignored during parsing
350350
- **`CMD_DECOM_RETAIN_TIME`** — Sets the retention time for command decommutation data in QuestDB. Accepts a time value with a unit suffix: `h` (hours), `d` (days), `w` (weeks), `M` (months), or `y` (years). Example: `CMD_DECOM_RETAIN_TIME 30d`
351351
- **`TLM_DECOM_RETAIN_TIME`** — Sets the retention time for telemetry decommutation data in QuestDB. Same format as above. Example: `TLM_DECOM_RETAIN_TIME 1y`
352352

353+
### Troubleshooting
354+
355+
#### Init Container Failure
356+
357+
If the init container fails and after restarting COSMOS you still see the old version, you can force a reinstall by setting in `.env`:
358+
359+
```sh
360+
OPENC3_FORCE_INSTALL=1
361+
```
362+
363+
Then `openc3.sh start` COSMOS again and monitor the init container logs. You will see all the applications being installed. When the init container completes you should comment out this line to prevent re-install on every start.
364+
365+
#### Redis Fails to Start (Permission Denied)
366+
367+
If Redis is restarting and the Docker logs show:
368+
369+
```
370+
1:M 28 Mar 2026 20:16:12.433 # Fatal error: can't open the RDB file dump.rdb for reading: Permission denied
371+
1:M 28 Mar 2026 20:16:12.433 # Fatal error loading the DB, check server logs. Exiting.
372+
```
373+
374+
This is caused by a UID mismatch between the container and the volume data. Check your host UID (this example is from Ubuntu):
375+
376+
```sh
377+
id -u
378+
# Example output: 1000
379+
```
380+
381+
**Check the redis volume permissions** (Note the user and group):
382+
383+
```sh
384+
docker run --rm -it -v openc3-redis-v:/data alpine sh
385+
ls -la /data
386+
```
387+
388+
**Fix the Redis volume permissions** (Change 1000:1000 based on your UID):
389+
390+
```sh
391+
docker run --rm -it -v openc3-redis-v:/data alpine sh
392+
ls -la /data
393+
chown -R 1000:1000 /data
394+
```
395+
396+
**Check the gems volume permissions** (Note the user and group):
397+
398+
```sh
399+
docker run --rm -it -v openc3-gems-v:/data alpine sh
400+
ls -la /data
401+
```
402+
403+
**Also fix the gems volume permissions** (Change 1000:1000 based on your UID):
404+
405+
```sh
406+
docker run --rm -it -v openc3-gems-v:/data alpine sh
407+
ls -la /data
408+
chown -R 1000:1000 /data
409+
```
410+
353411
## Migrating From COSMOS 5 to COSMOS 6
354412

355413
We removed a few rarely used [API methods](../guides/scripting-api#migration-from-cosmos-v5-to-v6) in COSMOS 6.

0 commit comments

Comments
 (0)