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

Postgresql does not work #264

Closed
sidey79 opened this issue Sep 1, 2024 · 0 comments · Fixed by #266
Closed

Postgresql does not work #264

sidey79 opened this issue Sep 1, 2024 · 0 comments · Fixed by #266
Assignees

Comments

@sidey79
Copy link
Contributor

sidey79 commented Sep 1, 2024

Describe the bug

Using a postgresql database for dblog, causes an errror:

https://forum.fhem.de/index.php?topic=89745.msg1319071#msg1319071

To Reproduce
Steps to reproduce the behavior:

  1. create db.conf with postgresql
####################################################################################
#
## for PostgreSQL
####################################################################################
%dbconfig= (
    connection => "Pg:database=fhem;host=pgdb",
    user => "postgres",
    password => "postgres"
);
  1. define a DBLog definition using the db.conf file named pgDbLog
  2. Look in the logfile for the following error:
pgDbLog - ERROR: install_driver(Pg) failed: Attempt to reload DBD/Pg.pm aborted.
Compilation failed in require at (eval 404) line 3.

 at ./FHEM/93_DbLog.pm line 2559.

Expected behavior
dblog connects to postgredatabase without compilation failed error

Docker Image 4.0.4-Bullsexe

Additional context
Reported at forum:
https://forum.fhem.de/index.php?topic=89745.msg1319071#msg1319071

@sidey79 sidey79 self-assigned this Sep 1, 2024
This was linked to pull requests Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant