-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Error installing Xabber server - can not connect to postgres database #14
Comments
It is definitely a network configuration issue. Try connecting to database with psql, if that doesn't work, that'd be a confirmation that the problem is with the network. |
Not sure if that's network problem, can connect to the db with psql. Excuting:
Getting:
And docker container with database:
|
@OOOlledj @andrewnenakhov @Sternstein Hello everyone. same issue. i edited and checked my postgresql.config and pg_hba.conf. it's free to connect from any host. i can connect from my lan to the xabber_server_db database with login xabber_server_user and password through psql on linux machines or psql.exe on windows with no problem. but when i'm trying to do this through my_xabber_server_host_name(or ip adress):8000 - it's failing in same way with same error. more then that - there is no info in postgresql log's about attempting of connection. even if i'm doing it on the xabber server host through browser. it looks like it doesn't even trying to connect to database. guys, need your help.. (edited the xabber_server.ini file to make it write some logs. but nothing useful there) UPDATE: in the /opt/xmppserver/var/log/ejabberd/ appeared 3 log files. i'm attaching them here so someone could help.. |
Check that "sql_username:" and "sql_password" are correct in /opt/xabberserver/xabberserver/xmppserver/etc/ejabberd/ejabberd.yml . |
Trying to install Xabber server with postgres database, but it is not successful during configuring in web interface :
Installation failed.
Can't connect to database. Maybe you enter wrong data.
Database is running on docker with exposed port 5432. I did everything according to Wiki, but still got the message, and i have no idea what the problem is, because Xabber server does not write any logs during installation.
database: xabber_server_db
user: xabber_server_user
I'm absolutely sure the password is correct, because it works perfectly on psql CLI client and dbeaver with created user and db.
The text was updated successfully, but these errors were encountered: