mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #1579] Postgresql issue - Server Error 500 after Update to 16.x past a few days #2929
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#2929
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mafi85 on GitHub (Aug 2, 2023).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1579
Hello,
I updated my Installation past a few day, now I got Error 500 and the postgre and mongo service didn't startup.
Any Idea what I can do to solve it?
Server Info (please complete the following information):
Installation Method:
Agent Info (please complete the following information):
Describe the bug
internal Server Error 500 after Loading tacticalrmm
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● mongod.service loaded failed failed MongoDB Database Server
● postgresql@14-main.service loaded failed failed PostgreSQL Cluster 14-main
mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2023-08-02 20:50:40 UTC; 9min ago
Docs: https://docs.mongodb.org/manual
Process: 836 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=exited, status=1/FAILURE)
Main PID: 836 (code=exited, status=1/FAILURE)
Aug 02 20:50:40 tactical mongod[836]: Frame: {"a":"55ABC1BAE458","b":"55ABC0702000","o":"14AC458","s":"_ZN5mongo46_mon>
Aug 02 20:50:40 tactical mongod[836]: Frame: {"a":"55ABC16FC9A3","b":"55ABC0702000","o":"FFA9A3","s":"_ZNSt17_Function>
Aug 02 20:50:40 tactical mongod[836]: Frame: {"a":"55ABC34A69F0","b":"55ABC0702000","o":"2DA49F0","s":"_ZN5mongo11Init>
Aug 02 20:50:40 tactical mongod[836]: Frame: {"a":"55ABC34A6D83","b":"55ABC0702000","o":"2DA4D83","s":"_ZN5mongo21runG>
Aug 02 20:50:40 tactical mongod[836]: Frame: {"a":"55ABC16F940D","b":"55ABC0702000","o":"FF740D","s":"_ZN5mongo12_GLOB>
Aug 02 20:50:40 tactical mongod[836]: Frame: {"a":"55ABC1668FD9","b":"55ABC0702000","o":"F66FD9","s":"main","s+":"9"}
Aug 02 20:50:40 tactical mongod[836]: Frame: {"a":"7F0899A08083","b":"7F08999E4000","o":"24083","s":"__libc_start_main>
Aug 02 20:50:40 tactical mongod[836]: Frame: {"a":"55ABC16F4F9E","b":"55ABC0702000","o":"FF2F9E","s":"_start","s+":"2E>
Aug 02 20:50:40 tactical systemd[1]: mongod.service: Main process exited, code=exited, status=1/FAILURE
Aug 02 20:50:40 tactical systemd[1]: mongod.service: Failed with result 'exit-code'.
~$ tail -f /rmm/api/tacticalrmm/tacticalrmm/private/log/django_debug.log
^^^^^^^^^^^^^^^^^^^^^
File "/rmm/api/env/lib/python3.11/site-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
connection = self.Database.connect(**conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/rmm/api/env/lib/python3.11/site-packages/psycopg2/init.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django.db.utils.OperationalError: connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?