[BUG]: Setting user and group ID has no effect #80

Closed
opened 2025-07-08 08:39:39 -04:00 by AtHeartEngineer · 0 comments

Originally created by @TheBig-O on 5/12/2025

Checklist

  • I have searched existing issues to make sure this bug hasn't already been reported.
  • I have checked the documentation at https://docs.endurain.com and didn't find a solution.

Description

When setting the PID and PGID environment variable or using user, the logs show that the container continues to use PID and PGID of 1000. This is not the user I'm set up to use.

Steps to Reproduce

  1. Version: v0.10.7
  2. See error
    Log exerpt:
INFO: UID=1000, GID=1000
INFO: Ownership adjusted for /app/backend/logs
INFO: Ownership adjusted for /app/backend/user_images
INFO: Ownership adjusted for /app/backend/files
INFO: Ownership adjusted for /app/backend/server_images
INFO: Substituting MY_APP_ENDURAIN_HOST with http://192.168.1.174:5280
INFO: Starting FastAPI with BEHIND_PROXY=false
INFO:     Started server process [1]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
Backend startup event - v0.10.7
Checking for migrations not executed
Migration check completed

Expected Behavior

What did you expect to happen?
I expected that setting the user and group ids would result in the container using the ids I provided.

*Originally created by @TheBig-O on 5/12/2025* ## Checklist - [X] I have searched **existing issues** to make sure this bug hasn't already been reported. - [X] I have checked the **documentation** at [https://docs.endurain.com](https://docs.endurain.com) and didn't find a solution. ## Description When setting the `PID` and `PGID` environment variable or using `user`, the logs show that the container continues to use `PID` and `PGID` of `1000`. This is not the user I'm set up to use. ## Steps to Reproduce 1. Version: `v0.10.7` 4. See error Log exerpt: ``` INFO: UID=1000, GID=1000 INFO: Ownership adjusted for /app/backend/logs INFO: Ownership adjusted for /app/backend/user_images INFO: Ownership adjusted for /app/backend/files INFO: Ownership adjusted for /app/backend/server_images INFO: Substituting MY_APP_ENDURAIN_HOST with http://192.168.1.174:5280 INFO: Starting FastAPI with BEHIND_PROXY=false INFO: Started server process [1] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) Backend startup event - v0.10.7 Checking for migrations not executed Migration check completed ``` ## Expected Behavior What did you expect to happen? I expected that setting the user and group ids would result in the container using the ids I provided.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/endurain#80