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

No data available on homer [fresh installs] #88

Closed
ewadii opened this issue Jan 3, 2023 · 3 comments
Closed

No data available on homer [fresh installs] #88

ewadii opened this issue Jan 3, 2023 · 3 comments

Comments

@ewadii
Copy link

ewadii commented Jan 3, 2023

Hello,
No communication problem between my opensips box and heplify server.
After a reboot, No data is available on Homer GUI , this is the only error message i see :

"Jan 03 11:27:21 homer heplify-server[586]: dial tcp 127.0.0.1:5432: connect: connection refused"

A systemctl restart heplify-server solves the problem.

I've tested this on both distributions and different versions [Debian 9 - 10 - 11] & Centos [7 - 8]

I am using DigitalOcean droplets.

@lmangani
Copy link
Member

lmangani commented Jan 3, 2023

"Jan 03 11:27:21 homer heplify-server[586]: dial tcp 127.0.0.1:5432: connect: connection refused"

This seems a database issue and if so, unrelated to homer/heplify-server. Are you saying it does not automatically reconnect?
Is postgres really up when this error was happening? Services should be started in the right order.

@ewadii
Copy link
Author

ewadii commented Jan 3, 2023

Hello , I havent configured postegres myself. First and only thing i'm running after an apt update/upgrade is the Bash Installer script.
And yes it does not automatically reconnect. My OpenSIPS keeps sending sip signals, but nothing is displayed on Homer GUI.

@ewadii
Copy link
Author

ewadii commented Jan 3, 2023

Ok i had to enable After=network.target postgresql.service on /lib/systemd/system/heplify-server.service.
I think it would be cool to add that to the documentation for those having Postgresql on the same host.
Thank you.

@ewadii ewadii closed this as completed Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants