Skip to content

Run django migrations as the correct target user

Running them as root leaves blank unwritable logs if they don't already exist, as is the case for the docker image. It seemed safer to run the commands as the correct user (to avoid future permission problems) than to simply bughunt the files that are currently created that have the wrong owners.

This is part of AT7958.

The upstream MR is lava!1851

Edited by Edmund Smith

Merge request reports