Hello!
My email server focuses on email/webmail/IMAP.
So, I disable video calling/tasks/files services via the web interface, but I can also do it via the CLI.
Do this:
systemctl disable carbonio-files
systemctl stop carbonio-files
systemctl disable carbonio-tasks
systemctl stop carbonio-tasks
systemctl stop carbonio-ws-collaboration
systemctl disable carbonio-ws-collaboration
And everything works fine 😀
I'd like to know if there's any problem with doing this?
And how do I remove the warning alerts like these that keep being generated:
-> /var/log/syslog
2025-09-16T20:04:23.047938-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check is now critical: check=service:carbonio-message-dispatcher-db
2025-09-16T20:04:23.047974-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check TCP connection failed: check=service:carbonio-files-db error="dial tcp 127.0.0.1:5432: connect: connection refused"
2025-09-16T20:04:23.047989-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check is now critical: check=service:carbonio-files-db
2025-09-16T20:04:23.048006-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check TCP connection failed: check=service:carbonio-ws-collaboration-db error="dial tcp 127.0.0.1:5432: connect: connection ref
used"
2025-09-16T20:04:23.048022-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check is now critical: check=service:carbonio-ws-collaboration-db
2025-09-16T20:04:23.048038-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check TCP connection failed: check=service:carbonio-tasks-db error="dial tcp 127.0.0.1:5432: connect: connection refused"
2025-09-16T20:04:23.048056-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check is now critical: check=service:carbonio-tasks-db
2025-09-16T20:04:23.368899-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.368-0300 [WARN] agent: Check is now critical: check=service:carbonio-files
2025-09-16T20:04:23.369020-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.368-0300 [WARN] agent: Check is now critical: check=live
2025-09-16T20:04:23.369058-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.368-0300 [WARN] agent: Check is now critical: check=service:carbonio-tasks
2025-09-16T20:04:27.005349-03:00 srv-mail carbonio-preview-start.sh[1877]: "[2025-09-16 20:04:27,004] INFO [uvicorn.access.send:473] 127.0.0.1:55880 - "GET /health/live/ HTTP/1.1" 200"
2025-09-16T20:04:27.010571-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:27.010-0300 [WARN] agent: Check TCP connection failed: check=service:carbonio-ws-collaboration-db-sidecar-proxy:1 error="dial tcp 127.0.0.1:21024: connect
t: connection refused"
2025-09-16T20:04:27.010631-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:27.010-0300 [WARN] agent: Check is now critical: check=service:carbonio-ws-collaboration-db-sidecar-proxy:1
Another question in my use case: could I disable service-discoverd?
Regards;Â
Hello!
I believe the error about Postgres is something else (as I mentioned in this other post https://community.zextras.com/forum/carbonio-general-thread/carbonio-not-run-postgressql-porta-5432).
However, I still have questions about the services. Can I disable the ones I'm not using, or should I just disable them via Web Admin?
regards;
Yes, disabling them (Some of them) from one of the following would be sufficient.
- CLI
- From Admin Panel: COS > Details > Features/Chats
But as even after being disabled, they have active connection points registered into the Consul; we get logs from service-discover.Â
I would discuss this with the team to estimate if we could include a section in the documentation to guide users how to safely/clearly disable or uninstall a service.
Regards,
Hello!
Thanks for your reply.
Yes, I think a documentation page about this would be helpful 😀
regards;
