coolify: [Bug]: MongoDB backups are failing due to missing cert.
Error Message and Logs
Since 26 march, all mongoDB backups are failing.
Error: Failed: can't create session: error configuring the connector: error configuring client, can't load CA file: open /etc/mongo/certs/ca.pem: no such file or directory
Steps to Reproduce
- Create new mongodb instance
- Trigger manual backup (or wait daily backup to trigger)
Example Repository URL
No response
Coolify Version
v4.0.0-beta.400
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
ubuntu 22.04
Additional Information
No response
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 2
- Comments: 17 (5 by maintainers)
I just removed the disabled attribute from the “Enable SSL” checkbox with Chrome Dev Tools, unchecked it and I can confirm manual backups are working again with this trick.
+1 please fix it asap! Or provide guide how to fix backups. We are in production!
Restarting the DB fixed the issue for me:
For anyone still having this issue I think a restart of the DB will fix it as it will mount the CA cert correctly.
Well it’s not me who checked it, it was already checked. Since month i wasn’t touched anything in coolify but after update (since 26 march) it’s broken. Disabling SSL is worked, thanks. I don’t know why I need SSL in database but thanks for letting me know.
I quickly patched the cloud instance, now you can disable the SSL part during runtime. If you disable, can you please start a manual backup exection and let me know if it works?