-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Keep database password from preseeded configuration file #4217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If you seed your config-file you should set |
This is not a solution, because it disables installer, which I explicitly want to avoid. |
Before the installation, Gitea does not read the config file. Why would it, since it might not exist? |
@bkcsoft, it seems you are wrong Line 133 in 85414d8
gitea/modules/setting/setting.go Line 675 in 85414d8
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. You can re-open it if needed. |
should be closed by #4284 |
[x]
):Description
I created fat gitea docker container, which contains also all other required services. It is just the way that suits my deployment. Issue I bumped into is, that database password is automagically generated in entrypoint and correctly seeded into configuration file, but when using installer it just omits it.
My expected behaviour is that when I preseed password it has to be kept instead of zeroing it.
Can this be fixed or at least available with feature switch like --enable-preseeded-config ?
The text was updated successfully, but these errors were encountered: