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

Dockerfile: add missing dependency for mssql databases #4079

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Dockerfile: add missing dependency for mssql databases #4079

merged 1 commit into from
Sep 27, 2023

Conversation

sando38
Copy link
Contributor

@sando38 sando38 commented Aug 12, 2023

Error log without the change:

2023-08-12 08:54:13.295609+00:00 [warning] mssql connection failed:
** Reason: {"01000",0,
            "[unixODBC][Driver Manager]Can't open lib 'libtdsodbc.so' : file not found Connection to database failed."}
** Retry after: 5 seconds
2023-08-12 08:54:13.296471+00:00 [warning] mssql connection failed:
** Reason: {"01000",0,
            "[unixODBC][Driver Manager]Can't open lib 'libtdsodbc.so' : file not found Connection to database failed."}
** Retry after: 5 seconds

Binaries/installers are also "affected", meaning, METHOD=package needs the additional dependency as well.

Update:
Currently, it is advised for users, who want to use the installer and rely on a MS SQL backend, to additionally install libtdsodbc libraries on their machine due to the nature of the odbc drivers being dynamic depending on the respective odbc backend in use. The installer cannot ship a hard linked driver.

@Neustradamus
Copy link
Contributor

@badlop, @prefiks, @weiss, @mremond: Have you seen this @sando38 PR?

@badlop badlop added this to the ejabberd 23.xx milestone Sep 27, 2023
@badlop badlop added Database:MSSQL Microsoft SQL server Packaging:Container Container image from GitHub Packages labels Sep 27, 2023
@badlop badlop merged commit 5406693 into processone:master Sep 27, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Database:MSSQL Microsoft SQL server Packaging:Container Container image from GitHub Packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants