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

Seafile: allow non-local MySQL installations #345603

Open
melvyn2 opened this issue Sep 30, 2024 · 0 comments
Open

Seafile: allow non-local MySQL installations #345603

melvyn2 opened this issue Sep 30, 2024 · 0 comments
Labels
0.kind: enhancement Add something new

Comments

@melvyn2
Copy link
Contributor

melvyn2 commented Sep 30, 2024

Describe the bug

The current services.seafile module enables and connects to a MySQL (mariaDB) server on the host.
However, it should also support connecting to a remote MySQL instance instead,

Steps To Reproduce

Steps to reproduce the behavior:

  1. Enable the seafile module
  2. Note that the mariaDB server started and cannot be disabled without breaking seafile

Expected behavior

The module provides configuration options to select and authenticate to a remote database,
and doesn't enable the local mariaDB instance if these are enabled.

Additional context

Seafile used to use a local SQLite database which had no options to connect to a remote database.
As part of the migration to MySQL in #318727, no options for remote connections were added,
due to the complexity of handling these options for the 3 services which require them
(in different formats), as well as the difficulty of properly passing secrets (MySQL passwords)
to each service.
A work-in-progress patch to add this functionality was posted in #318727 (comment)

Notify maintainers

@greizgh @schmittlauch


Add a 👍 reaction to issues you find important.

@melvyn2 melvyn2 added 0.kind: bug Something is broken 0.kind: enhancement Add something new and removed 0.kind: bug Something is broken labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: enhancement Add something new
Projects
None yet
Development

No branches or pull requests

1 participant