overleaf/overleaf

Recreating Sharelatex after Changing Settings

jn9702 opened this issue · 1 comments

Steps to Reproduce

  1. Change some settings (like SMTP)
  2. ./bin/docker-compose down
  3. ./bin/up -d

Expected Behaviour

If some settings are changed, the container should stay the same? Or not?

Observed Behaviour

Container Sharelatex has been recreated and everything is refreshed to default (with TexLive 2023 + minimum packages).

Context

So that I need to reinstall all the packages and update TexLive.

Technical Info

Ubuntu 22.04 LTS + Toolbox 5.0.3

Analysis

Hi there,

The Overleaf application uses environment variables for configuration. Updating the environment variables of a Docker container requires recreating it. When recreating a Docker container, any changes to ephemeral mounts are discarded. You can take a look at our documentation for persisting the TeXLive changes into a new image.

Greeting,
Jakob