Closed obvionaoe closed 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have the same issue and after a few tests I found out that at least in my case it's being caused by the use of a secret for that variable. I removed the secret and I don't get the same error.
I'm not using any secrets, and it still doesn't regen properly
I've bumped into this today, added a new variable to the environment, and it's not present in the local settings py file even with regenerate being true: CSRF_TRUSTED_ORIGINS="['https://example.com']"
As of Django 4.0, the http/https should be present before the FQDN.
Here is a fix for the above CSRF issue: https://github.com/linuxserver/docker-healthchecks/pull/84
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
not stale, I'll submit a PR, when I have enough time
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
not stale
I've noticed that REGENERATE_SETTINGS="True"
does not actually delete the local_settings.py
file, but just appends to the end, meaning restarts cause the file to keep growing as long as REGENERATE_SETTINGS="True"
.
Edit: I see this was fixed: https://github.com/linuxserver/docker-healthchecks/issues/70 https://github.com/linuxserver/docker-healthchecks/pull/73
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
It wasn't totally fixed
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is locked due to inactivity
Expected Behavior
Environment variables should get correctly regenerated if
REGENERATE_SETTINGS=True
Current Behavior
The env var
EMAIL_HOST_PASSWORD
is not getting regenerated properly:EMAIL_HOST_PASSWORD = "xxxxxEMAIL_HOST_PASSWORD = "xxxxxxxxxxxxxxxxx"
Steps to Reproduce
REGENERATE_SETTINGS=True
Environment
OS: Manjaro Linux CPU architecture: x86_64 How docker service was installed: from the distro repo
Command used to create docker container (run/create/compose/screenshot)
docker-compose up -d
Docker logs