You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already solve the problem, but I spent time searching.
At the low level of the library, config values are added to the database, but only if such a field does not already exist. Because of this, if you have ever run the config, no changes will occur.
Solution:
Clear the goadmin_site table before starting.
Hope it will help to someone.
The text was updated successfully, but these errors were encountered:
Why do we need to store this config in DB? What is stored in DB? Full config?
What will happened when we change the config of FileUploadEngine? Will it updated in db?
Well, this bug exists for all config options. For example language is not changed, when I change in config.yaml. In all examples configs are first loaded from config.yaml, then after the call to func (t SiteModel) Init(cfg map[string]string) SiteModel configs are loaded from database.
I already solve the problem, but I spent time searching.
At the low level of the library, config values are added to the database, but only if such a field does not already exist. Because of this, if you have ever run the config, no changes will occur.
Solution:
Clear the goadmin_site table before starting.
Hope it will help to someone.
The text was updated successfully, but these errors were encountered: