immense / immense/Remotely

appsettings.Production.json not used

Open
#471 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
5.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I somehow just discovered that the appsettings.json should be copied to a appsettings.Production.json file to avoid losing any settings. So I did, and made changes to the appsettings.Production.json file. These however were never used, even after a restart of the docker container.

**To Reproduce**
Steps to reproduce the behavior:
1. Make changes to the appsettings.Production.json file. I changed the Theme from Dark to Light
2. Restart the docker container
3. Logout and reload the webinterface of the server
4. The webinterface still shows the dark theme
5. Make the same change to the appsettings.json file
6. Restart the docker container
7. Reload the webinterface of the server
8. See the page in the light theme

**Remotely Version**
Server: Version: 2021.08.17.1435
Agent: N/A

**Expected Behavior**
The changes should happen when making to the appsettings.Production.json file

**Additional Context**
The server runs in a docker container.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing how the Docker deployment loads appsettings.json and appsettings.Production.json when the server starts. Reproduce the reported theme change and container restart, then verify that production settings are applied after the web interface reloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, docker
Domain
backend, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.