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] Installer does not work with postgres #1136

Open
bit opened this issue Apr 14, 2024 · 1 comment
Open

[BUG] Installer does not work with postgres #1136

bit opened this issue Apr 14, 2024 · 1 comment
Labels
bug Features or code that is not working correctly

Comments

@bit
Copy link

bit commented Apr 14, 2024

Describe the bug

selecting postgres as database the installer fails to connect to db.
The database input does not let me specify the port, selecting postgres the installer still tries to use the mysql port from .env (DB_PORT). Manually changing that to postgres port first the instalaler works but does not change DB_CONNECTION to pgsql and port is reset to mysql port. Manually editing that after running the installer the system seams to work okay.

To Reproduce
Steps to reproduce the behavior:

  1. Follow installation instructions from https://www.attendize.com/getting_started.html#manual-installation
  2. open /install
  3. Select Postgres
  4. click on test database connection
  5. manually edit DB_PORT
  6. click on test database connection
  7. run install
  8. 500 erro
  9. change DB_PORT and DB_CONNECTION again
  10. site works

Expected behavior

Database details are correct and connection should wokr

Version of Attendize you are using

  • Master branch

Where you are running Attendize

  • in VPS

What version or Operating System are you using on the above server

  • Debian 11

What version of PHP you are using on the above server

  • PHP 7.4.33

What web server are you using Attendize with

  • Nginx
@bit bit added the bug Features or code that is not working correctly label Apr 14, 2024
@bit
Copy link
Author

bit commented Apr 14, 2024

DB_TYPE=pgsql is written to .env instead of DB_CONNECTION=pgsql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Features or code that is not working correctly
Projects
None yet
Development

No branches or pull requests

1 participant