-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
homer-app fails to start (code=exited, status=2) #626
Comments
Please star this repository to motivate the developers and to get higher priority! ⭐ |
Is there anyway this can get looked at? |
You could star the repository to get some priority. Most likely you have the wrong db authentication details somewhere, doublecheck the homer-app settings and it should start working.
|
@lmangani thank you for the response, I appreciate it. I have starred the repository, I have, checked that the |
OS version: CentOS 7
heplify-server version: 1.59.5
homer-app version: 1.4.37
postgresql-12.service is running and listening on the correct ports, db is localhost.
heplify-server.service is running with no errors.
I have checked that I can access the DB with the homer_user login and password. stated in
/etc/heplify-server.toml
I have validated that
/var/lib/pgsql/12/data/pg_hba.conf
has the correct md5 configuration from the install script.When I check
journalctl -xe | grep homer-app
I get the bekow output:Jan 17 17:26:45 <hostname> homer-app[25618]: panic: failed to connect database Jan 17 17:26:45 <hostname> homer-app[25618]: goroutine 1 [running]: Jan 17 17:26:45 <hostname>homer-app[25618]: main.getConfigDBSession(0xcc0800) Jan 17 17:26:45 <hostname> homer-app[25618]: /app/main.go:1187 +0xa65 Jan 17 17:26:45 <hostname> homer-app[25618]: main.main() Jan 17 17:26:45 <hostname> homer-app[25618]: /app/main.go:236 +0xeb Jan 17 17:26:45 <hostname>systemd[1]: homer-app.service: main process exited, code=exited, status=2/INVALIDARGUMENT
In
tail /usr/local/homer/log/homer-app.log
I get the following error repeated:{"level":"error","msg":"pq: password authentication failed for user \"homer_user\"","time":"2024-01-17T17:28:48Z"}
This installation has been working for over a year, no one has logged in or updated anything it just crashed 2 days ago and I am trying to recover the application.
I have tried:
-Rebooting server
-resetting homer_user password for postgresql-12
-using systemctl to restart/reload postgresql-12 and heplify-server/homer-app
I am not sure what else to try as someone else installed this service originally 2 years ago. Any direction would be greatly appreciated!
The text was updated successfully, but these errors were encountered: