I had 2 issues with the Mongo setup that I solved:
First, the Mongo compose didn't have the "env_file" property to pass the environment variables from the compose.env file.
Second, I had issues running Mongo on my Proxmox VM - "MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!". Solved it by changing the CPU typo to "Host" on the VM settings.
@cehenriques commented on GitHub (May 18, 2025):
I had 2 issues with the Mongo setup that I solved:
- First, the Mongo compose didn't have the "env_file" property to pass the environment variables from the compose.env file.
- Second, I had issues running Mongo on my Proxmox VM - "MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!". Solved it by changing the CPU typo to "Host" on the VM settings.
I had a similar problem. Did you solve it? @wardwygaerts
I removed everything, added a network and redeployed. Everything's working fine now
@wardwygaerts commented on GitHub (Jun 17, 2025):
> I had a similar problem. Did you solve it? [@wardwygaerts](https://github.com/wardwygaerts)
I removed everything, added a network and redeployed. Everything's working fine now
Thanks with this was enough for the trick, now it works fine.
networks:local:external:true
@EliasMasche commented on GitHub (Jun 19, 2025):
Thanks with this was enough for the trick, now it works fine.
```yaml
networks:
local:
external: true
```
@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.
@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.
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://[::]:9120core-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.
I have the exact same after trying both DB backend options. Running on a Proxmox VM of Ubuntu using 'host' as CPU type.
@martyp187 commented on GitHub (Aug 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.
I have the exact same after trying both DB backend options. Running on a Proxmox VM of Ubuntu using 'host' as CPU type.
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.
@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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.