-
Notifications
You must be signed in to change notification settings - Fork 78
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
Unable to load configuration: failed to create store (externaldb) #269
Comments
Hi @andrewklau, Could you share your Mattermost CR manifest? I have a hard time understanding what is the problem exactly. Are you just trying to run Mattermost with the external database, or is there something specific to your setup? It looks like Mattermost is trying to interpret the connection string as a file patch which seems a little weird. I would appreciate some details so that we can hopefully figure it out. |
Hi @Szymongib I'm trying to run mattermost with an external database. Here's the full yaml file:
The weird thing is yes it comes up as a file name. When I run the command
The secret file:
|
Thanks a lot for details @andrewklau. It looks like the issue is on the Mattermost Server side, apparently, the server only accepts connection schema Try changing your connection string to:
Hopefully, that should solve the issue. |
Thanks it works now! |
In Kubernetes v1.26, the secret data can't be created as plain text.
And in base64, as the documentation suggests:
the operator seems to add a '/n' at the end of the connection string, resulting in the following error:
|
Opened a new issue: #342 |
@jpnorenam It is likely not the Operator that adds a new line but the way you are encoding the string. Try this if you are on Linux:
Or on MacOS:
|
Summary
Unable to store external postgres configuration on version 6 and above with read only error
Using this config:
Steps to reproduce
Expected behavior
mattermost starts
The text was updated successfully, but these errors were encountered: