Hi All,
I am trying to test socorro in a local test environment, and follow the
documentation on
https://socorro.readthedocs.io/en/latest/localdevenvironment.html
I am able to build the complete environment via:
make my.env
make build
make runservices
make setup
make upatedata
docker-compose up -d oidcprovider
docker-compose exec oidcprovider /code/manage.py createuser <user info>
docker-compose run app shell ./webapp-django/manage.py makesuperuser <user
mail> docker compose up webapp
Connecting to localhost:8000 fails however with (ultimately) a permission
denied in
/app/webapp-django/crashstats/crashstats/static/crashstats/css/<tmpfilename>
Starting webapp with interactive shell shows all directories in /app are
owned by user '1000'. This user is not known inside the docker image, the
user app has uid 10001
After changing the Socorro_uid and gid into 10001, I rebuilt all via make
build etc. But still the /app directory is owned by user with id 1000.
I suppose I can solve this by changing permissions or owner via root (how
can I become root in the webapp docker image?), but I probably made another
mistake somewhere else. Any help is appreciated!
Kind regards,
Stephane van Hardeveld