mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-08-26 15:07:58 -04:00
[GH-ISSUE #11] Postgress FATAL error: role "root" does not exist (Bug) #11
Reference in New Issue
Block a user
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 @AdenMGB on GitHub (Dec 25, 2024).
Original GitHub issue: https://github.com/Drop-OSS/drop/issues/11
Hello, after creating the admin account via the DropOSS WebUI I can sign into the account but the admin dashboard does not work, and every time that page is visited this error shows up in the logs:
droposs-postgres-1 | 2024-12-25 23:26:18.529 UTC [73] FATAL: role "root" does not existSecondly when visiting the features page this error appears
I have tried running the containers as root to no avail, and when trying to connect a client to the instance this error appears:
I am running the database and DropOSS in the same container and running through Dockge on TrueNAS Scale.
Hope we can find a solution!
Sincerely, Aden
@DecDuck commented on GitHub (Dec 25, 2024):
Hey!
You can safely ignore the error in the PostgreSQL container, it's using the
dropuser instead. We'll update thecompose.yamlwith some flags that'll hide this messages to avoid confusion.About the admin page, only a few pages are implemented at the moment, so that's expected. You should be able to visit the Home, Library and Auth pages without a 404 error.
For the client error, could you please upload the logs so I can take a look at them? They should be:
%appdata%/drop~/.local/share/drop/Looking for
drop.logThanks :)
@AdenMGB commented on GitHub (Dec 26, 2024):
Sorry for the such late response!
So here is the lowdown, I use CloudFlare for my domain name and Nginx Proxy Manager for the reverse proxies. The DNS type is set to DNS only, and I've tried exposing the service port then using duckdns for a more direct connection if that makes any difference.
Drop app client logs here (Windows)
REDACTED
Sincerely, Aden
@DecDuck commented on GitHub (Dec 26, 2024):
That's all good.
Can you check the time on your server and client? Drop clients use cryptographically signed 'nonce's that expire within +-30 seconds of being generated. If your server and client are more than 30 seconds out of sync, every request the the client makes will be treated as invalid (hence the failure).
By the way, the logs expose the domain name you're hosting your Drop server on, so maybe delete it if you want to keep that top secret lmao - sorry for not mentioning it earlier.
@AdenMGB commented on GitHub (Dec 26, 2024):
Thanks @DecDuck, that was the issue, you might want to have a little footnote in the documentation about that lol, or maybe like in the app say that the times are out of sync maybe. Basically I just set the primary ntp server to time.windows.com on the server side. Thanks so much for the help and I hope I can help you guys iron out some more little nuances for release!
Sincerely, Aden
@DecDuck commented on GitHub (Dec 26, 2024):
Yep! Definitely going on the documentation, just wanted to confirm that was the issue.
Glad I could help you, you've definitely helped me.
Postgress FATAL error: role "root" does not exist (Bug)to [GH-ISSUE #11] Postgress FATAL error: role "root" does not exist (Bug)