mirror of
https://github.com/IRS-Public/direct-file.git
synced 2025-08-13 16:20:53 +00:00
Update ONBOARDING.md, Included troubleshooting fix for dependency failures on starting direct-file-db, state-api-db, email-service-db.
Included troubleshooting fix for dependency failures on starting direct-file-db, state-api-db, email-service-db. Permissions are not properly being set or falling back to 999:999
This commit is contained in:
parent
e0d5c84451
commit
feb834fefb
1 changed files with 11 additions and 0 deletions
|
@ -335,6 +335,17 @@ Most of the project dependencies can be installed using [SDKMAN!](https://sdkman
|
|||
docker compose up -d
|
||||
```
|
||||
|
||||
2. If you have issues starting direct-file-db, state-api-db, and email-service-db, this can be fixed by setting the correct ownership on the data folders
|
||||
1. This can be confirmed by checking the container logs and seeing the following errors:
|
||||
`chown: cannot read directory '/var/lib/postgresql/data': Permission denied`
|
||||
`chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted`
|
||||
|
||||
```sh
|
||||
chown -R 999:999 ./docker/db/postgres
|
||||
chown -R 999:999 ./state-api/docker/db/postgres
|
||||
chown -R 999:999 ./email-service/docker/db/postgres
|
||||
```
|
||||
|
||||
#### Resources
|
||||
|
||||
That's it!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue