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

postgres is not supported in docker image #675

Open
jacekjaros opened this issue Oct 24, 2024 · 2 comments
Open

postgres is not supported in docker image #675

jacekjaros opened this issue Oct 24, 2024 · 2 comments
Assignees
Labels
bug Confirmed Docker fixed but not released Issue is fixed in some branch or commit but not yet in main branch

Comments

@jacekjaros
Copy link

Description

When deploy latest docker image and enable telemetry no results are written to database because of missing libpq5 package.

Server

  • docker image - ghcr.io -> librespeed/speedtest:latest

Env

DB_HOSTNAME postgres.int.xxx
DB_NAME librespeed
DB_PASSWORD XXXXXXX
DB_PORT 5432
DB_TYPE postgresql
DB_USERNAME librespeed
EMAIL jacek@XXXXX
ENABLE_ID_OBFUSCATION false
IPINFO_APIKEY XXX
MODE standalone
TELEMETRY true

Client

Firefox - latest

Steps to reproduce

  • use latest docker image
  • set provided env variables
  • do speed test
  • check docker logs and data in postgres

Expected behavior

speed test data stored in postgres

Docker logs

<b>Warning</b>: PHP Startup: Unable to load dynamic library 'pgsql.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20230831/pgsql.so (libpq.so.5: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20230831/pgsql.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20230831/pgsql.so.so: cannot open shared object file: No such file or directory)) in <b>Unknown</b> on line <b>0</b><br />

@sstidl sstidl self-assigned this Oct 26, 2024
@sstidl
Copy link
Collaborator

sstidl commented Oct 26, 2024

should be fixed with 0c31f1d

@sstidl sstidl added bug Docker fixed but not released Issue is fixed in some branch or commit but not yet in main branch Confirmed labels Oct 26, 2024
@sstidl
Copy link
Collaborator

sstidl commented Oct 26, 2024

will be released with #678

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed Docker fixed but not released Issue is fixed in some branch or commit but not yet in main branch
Projects
None yet
Development

No branches or pull requests

2 participants