You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] Changing the sourcebot config and starting a new container causes DB permission errors #568
There seems to be a permissions error when trying to update a config file. I needed to add a new connection but that requires a new container since you can't update the env variables of an existing container. When I tried to make a new one it fails with a permission denied when trying to access the DB.
[Info] Sourcebot version: v4.7.3
[Info] Disabling telemetry since SOURCEBOT_TELEMETRY_DISABLED was set.
[Info] Initializing database at /data/.sourcebot/db...
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with this locale configuration:
provider: libc
LC_COLLATE: C
LC_CTYPE: C.UTF-8
LC_MESSAGES: C
LC_MONETARY: C
LC_NUMERIC: C
LC_TIME: C
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
initdb: error: could not access directory "/data/.sourcebot/db": Permission denied
``
### To reproduce
1. create a config file with a connection
2. start container like so:
### Sourcebot deployment information
version: 4.7.2
AWS linux instance
self-contained single container
mounted host folder for data
### Additional information
_No response_
Apologies for the late reply - I believe this is related to #263, which I suspect has been fixed in #599. Do you mind testing this out again on latest and seeing if the issue is resolved? If it's not, then feel free to reopen this issue and I'll take a closer look
Activity
tanner-barnes-tinder commentedon Nov 18, 2025
Anyone had a chance to look into this?
brendan-kellam commentedon Jan 16, 2026
Apologies for the late reply - I believe this is related to #263, which I suspect has been fixed in #599. Do you mind testing this out again on latest and seeing if the issue is resolved? If it's not, then feel free to reopen this issue and I'll take a closer look