mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 19:13:53 +00:00
The rolling restart configuration of uwsgi attempted to re-chdir the CWD to the new `/home/zulip/deployments/current` before `lazy-apps` loaded the application in the forked child. It successfully did so -- however, the "main" process was still running in the original `/home/zulip/deployments/current`, which somehow (?) tainted the search path of the children processes. Set the parent uwsgi process to start in `/`, so that the old deploy directory cannot taint the load order of later children processes.