mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-07 19:35:38 -05:00
MongoDB - AuthenticationFailed #1171
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 @wardwygaerts on GitHub (May 14, 2025).
I wanted to test komodo and tried with MongoDB, but failes
No error in mongodb
When using postgres, everything is working fine, but I prefer not to have the additional ferret layer.
@yunus-acar commented on GitHub (May 14, 2025):
I had a similar problem. Did you solve it? @wardwygaerts
@cehenriques commented on GitHub (May 18, 2025):
I had 2 issues with the Mongo setup that I solved:
@EliasMasche commented on GitHub (Jun 11, 2025):
I am having the same issue, too
Running on bare metal, my CPU supports AVX, and adding
env_file: ./compose.envdidn't help either@wardwygaerts commented on GitHub (Jun 17, 2025):
I removed everything, added a network and redeployed. Everything's working fine now
@EliasMasche commented on GitHub (Jun 17, 2025):
Can you share your changes to verify if it will work on my side, too?
@wardwygaerts commented on GitHub (Jun 18, 2025):
@EliasMasche :
docker-compose:
env:
@EliasMasche commented on GitHub (Jun 19, 2025):
Thanks with this was enough for the trick, now it works fine.
@victornavorskie commented on GitHub (Jun 25, 2025):
I have the same issue and nothing works after the Komodo v1.18.0 version (https://github.com/moghtech/komodo/releases/tag/v1.18.0). Neither FerretDB nor MongoDB work, and I have even removed everything and set up from scratch. I have added labels for Traefik, which was working before and still is, but the Komodo core is full of MongoDB errors, such as 'Authentication Failed'.
Starting on http://[::]:9120
core-1 | 2025-06-25T11:54:55.429023Z ERROR core::schedule: failed to get actions for schedule update | failed to get all actions from db: Kind: SCRAM failure: password authentication failed for user 'admin', labels: {": Kind: Command failed: Error code 1 (InternalError): Password authentication failed for user 'admin', labels: {}.Still not fixed.
@terroreek commented on GitHub (Aug 14, 2025):
I can confirm I am getting the same error with the docker compose file, the komodo-core-1 container is just stuck in a continuous reboot cycle.
@martyp187 commented on GitHub (Aug 25, 2025):
I have the exact same after trying both DB backend options. Running on a Proxmox VM of Ubuntu using 'host' as CPU type.
@mbecker20 commented on GitHub (Aug 26, 2025):
If you deploy the default compose and compose.env on the host, without changing anything, does it work? If so, my guess is your password contains some invalid characters for URL. Try choosing a password only containing letters / numbers. Note that after you start up database for the first time, you can't change the init credentials. You have to drop the data.
I think there actually is an improvement Komodo can make, and this would be url-encoding the credentials for you. I believe the issue is password contains URL invalid character that needs to be url-encoded in order to work. But the simple fix right now is to choose username / password only containing simple characters.