这是indexloc提供的服务,不要输入任何密码
Skip to content

Bug: Manual Entries in environment file (.env) overwritten/removed by GUI settings changes #617

@pritchey

Description

@pritchey

Configuration items that are manually added to the environment file (.env) are removed if the web interface GUI is used to make changes to any settings that trigger rewriting the .env file.

Settings to recreate:

  1. Manually edit the .env file and add a manual edit setting (such as 'DISABLE_TELEMETRY="true"'.
  2. Restart the Docker container so the change is picked up by the running container.
  3. Go into a settings and make a change that requires saving the change back to the .env file.
  4. Manually edit the .env file and your manually added setting is gone.

This most likely happens for any of the manually added settings (disabling telemetry, password complexity, enabling HTTPS support, etc.). I've tested/confirmed it for telemetry.

Two suggested approaches:

  1. Check for and re-write those settings out if set.
  2. Add those settings in the GUI so they are naturally re-written out when the file is updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions