Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Fix SQL command quotes #1073

Merged
merged 1 commit into from
Nov 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/docs/self-hosted/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ docker compose run --rm -T postgres bash -c "apt update && apt install -y --no-i
```

If the script above still does not clear up enough disk space, you can try the following in Postgres. This will lead to data loss in event details. _SENTRY_RETENTION_DAYS_ will need to be filled in manually.
```shell
DELETE FROM public.nodestore_node WHERE timestamp < NOW() - INTERVAL [SENTRY_RETENTION_DAYS];
```sql
DELETE FROM public.nodestore_node WHERE "timestamp" < NOW() - INTERVAL '[SENTRY_RETENTION_DAYS]';
VACUUM FULL public.nodestore_node;
```

Expand All @@ -140,7 +140,7 @@ VACUUM FULL actively compacts tables by writing a complete new version of the ta
There may be some circumstances which you may want to increase or decrease healthcheck interval, timeout or retries for your custom needs. This can be achieved by editing `HEALTHCHECK_INTERVAL`, `HEALTHCHECK_TIMEOUT`, `HEALTHCHECK_RETRIES` variables' values in `.env`.

Occasionally, you might see an error like this
```shell
```
container for service "${servicename}" is unhealthy
```

Expand Down
Loading