Skip to content
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

[BUG] mysql database schema and user for MailU don´t be created at startup #55

Closed
tgruenert opened this issue May 24, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@tgruenert
Copy link
Contributor

Describtion
At first startup no user or database for MailU would be created. So startup without existing database is not working.

Environment

  • Kubernetes 1.16.3 with Rancher

values.yaml like this:

database:
  type: mysql
  roundcubeType: mysql
  mysql:
    rootPassword: my-secret-secret
    database: mailu
    user: mailu
    password: my-secret-secret
    roundcubeDatabase: roundcube
    roundcubeUser: roundcube
    roundcubePassword: my-secret-secret

Additional context
For Roundcube i can see database user and schema.

@tgruenert tgruenert added the bug Something isn't working label May 24, 2020
micw added a commit that referenced this issue May 28, 2020
@micw
Copy link
Contributor

micw commented May 28, 2020

Thank you, it's fixed now. Be aware that the database init scripts are only executed if there data dir is empty (i.e on first start of the container) - so after that, the database must be created manually.

@micw micw closed this as completed May 28, 2020
micw added a commit that referenced this issue May 30, 2020
micw pushed a commit that referenced this issue Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants