carbonio-tasks "pas...
 
Notifications
Clear all

carbonio-tasks "password is an empty string"

1 Posts
1 Users
0 Reactions
95 Views
(@sigtrap)
Joined: 1 year ago
Posts: 38
Topic starter  

Hi,

After the update from 24.5 to 24.7.1 I have lots of errors from carbonio-tasks in my syslog.

Linux master.sigtrap.org 5.15.0-121-generic #131~20.04.1-Ubuntu SMP Mon Aug 12 13:09:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

consul members
Node Address Status Type Build Protocol DC Segment
server-master-sigtrap-org 192.168.0.3:8301 alive server 1.10.12 2 dc1 <all>

systemctl list-units carbonio*
UNIT LOAD ACTIVE SUB DESCRIPTION
carbonio-clamav-sidecar.service loaded active running Carbonio clamav sidecar proxy
carbonio-clamav-signature-provider-sidecar.service loaded active running NGINX Carbonio ClamAV signature provider sidecar
carbonio-docs-connector-sidecar.service loaded active running Carbonio docs connector sidecar proxy
carbonio-docs-connector.service loaded active running Carbonio docs connector daemon
carbonio-docs-editor-sidecar.service loaded active running Carbonio Docs server sidecar proxy
carbonio-docs-editor.service loaded active running Carbonio Docs Server
carbonio-files-db-sidecar.service loaded active running Carbonio Files database sidecar
carbonio-files-sidecar.service loaded active running Carbonio Files sidecar proxy
carbonio-files.service loaded active running Carbonio Files daemon
carbonio-mailbox-admin-sidecar.service loaded active running Carbonio Mailbox Admin proxy sidecar
carbonio-mailbox-nslookup-sidecar.service loaded active running Carbonio Mailbox NSLookup proxy sidecar
carbonio-mailbox-sidecar.service loaded active running Mailbox carbonio proxy sidecar
carbonio-mta-sidecar.service loaded active running Carbonio mta sidecar proxy
carbonio-preview-sidecar.service loaded active running Carbonio Preview sidecar proxy
carbonio-preview.service loaded active running Carbonio Preview daemon
carbonio-prometheus-consul-exporter.service loaded active running Carbonio Prometheus Consul exporter
carbonio-prometheus-mysqld-exporter.service loaded active running Carbonio Prometheus MySQL exporter
carbonio-prometheus-nginx-exporter.service loaded active running Carbonio Prometheus NGINX exporter
carbonio-prometheus-node-exporter.service loaded active running Carbonio Prometheus Node Exporter
carbonio-prometheus-openldap-exporter.service loaded active running Carbonio Prometheus OpenLDAP exporter
carbonio-proxy-sidecar.service loaded active running NGINX carbonio proxy sidecar
carbonio-storages-sidecar.service loaded active running Storages-CE sidecar proxy
carbonio-storages.service loaded active running Carbonio Storages-CE daemon
carbonio-tasks-db-sidecar.service loaded active running Carbonio Tasks database sidecar
carbonio-tasks-sidecar.service loaded active running Carbonio Tasks sidecar proxy
carbonio-tasks.service loaded activating auto-restart Carbonio Tasks daemon
carbonio-user-management-sidecar.service loaded active running Carbonio User Management sidecar proxy
carbonio-user-management.service loaded active running Carbonio User Management daemon
● carbonio.service loaded failed failed LSB: Carbonio Services

Everything is running but every 20 seconds I get a strange error in syslog, like:

Sep 19 11:41:14 master systemd[1]: carbonio-tasks.service: Scheduled restart job, restart counter is at 18536.
Sep 19 11:41:14 master systemd[1]: Stopped Carbonio Tasks daemon.
Sep 19 11:41:14 master systemd[1]: Started Carbonio Tasks daemon.
Sep 19 11:41:14 master carbonio-tasks[3575456]: 11:41:14.812 [main] WARN c.z.c.t.c.ServiceDiscoverHttpClient - Unable to retrieve the config db-username from consul
Sep 19 11:41:14 master carbonio-tasks[3575456]: 11:41:14.815 [main] WARN c.z.c.t.c.ServiceDiscoverHttpClient - Unable to retrieve the config db-password from consul
Sep 19 11:41:14 master carbonio-tasks[3575456]: 11:41:14.816 [main] WARN c.z.c.t.c.ServiceDiscoverHttpClient - Unable to retrieve the config db-name from consul
Sep 19 11:41:14 master carbonio-tasks[3575456]: 11:41:14.817 [main] WARN c.z.c.t.c.ServiceDiscoverHttpClient - Unable to retrieve the config hikari-max-pool-size from consul
Sep 19 11:41:14 master carbonio-tasks[3575456]: 11:41:14.819 [main] WARN c.z.c.t.c.ServiceDiscoverHttpClient - Unable to retrieve the config hikari-min-idle-connections from consul
Sep 19 11:41:17 master carbonio-preview-start.sh[1696]: "[2024-09-19 11:41:17,946] INFO [uvicorn.access.send:482] 127.0.0.1:35236 - "GET /health/ready/ HTTP/1.1" 200"
Sep 19 11:41:18 master carbonio-tasks[3575456]: 11:41:18.030 [main] ERROR ROOT - Service stopped unexpectedly:
Sep 19 11:41:18 master carbonio-tasks[3575456]: org.flywaydb.core.internal.exception.FlywaySqlException: Unable to obtain connection from database: The server requested SCRAM-based authentic
ation, but the password is an empty string.
Sep 19 11:41:18 master carbonio-tasks[3575456]: --------------------------------------------------------------------------------------------------------------------------------
Sep 19 11:41:18 master carbonio-tasks[3575456]: SQL State : 08004
Sep 19 11:41:18 master carbonio-tasks[3575456]: Error Code : 0
Sep 19 11:41:18 master carbonio-tasks[3575456]: Message : The server requested SCRAM-based authentication, but the password is an empty string.
Sep 19 11:41:18 master carbonio-tasks[3575456]: Caused by: org.postgresql.util.PSQLException: The server requested SCRAM-based authentication, but the password is an empty string.
Sep 19 11:41:18 master carbonio-tasks[3575456]: Exception in thread "main" org.flywaydb.core.internal.exception.FlywaySqlException: Unable to obtain connection from database: The server requ
ested SCRAM-based authentication, but the password is an empty string.
Sep 19 11:41:18 master carbonio-tasks[3575456]: --------------------------------------------------------------------------------------------------------------------------------
Sep 19 11:41:18 master carbonio-tasks[3575456]: SQL State : 08004
Sep 19 11:41:18 master carbonio-tasks[3575456]: Error Code : 0
Sep 19 11:41:18 master carbonio-tasks[3575456]: Message : The server requested SCRAM-based authentication, but the password is an empty string.
...


Sep 19 11:41:18 master systemd[1]: carbonio-tasks.service: Main process exited, code=exited, status=1/FAILURE
Sep 19 11:41:18 master systemd[1]: carbonio-tasks.service: Failed with result 'exit-code'.
Sep 19 11:41:18 master service-discoverd[2403]: 2024-09-19T11:41:18.740+0200 [WARN] agent: Check is now critical: check=service:carbonio-tasks
Sep 19 11:41:22 master carbonio-preview-start.sh[1696]: "[2024-09-19 11:41:22,951] INFO [uvicorn.access.send:482] 127.0.0.1:35240 - "GET /health/ready/ HTTP/1.1" 200"
Sep 19 11:41:23 master service-discoverd[2403]: 2024-09-19T11:41:23.741+0200 [WARN] agent: Check is now critical: check=service:carbonio-tasks
Sep 19 11:41:27 master carbonio-preview-start.sh[1696]: "[2024-09-19 11:41:27,958] INFO [uvicorn.access.send:482] 127.0.0.1:56634 - "GET /health/ready/ HTTP/1.1" 200"
Sep 19 11:41:28 master service-discoverd[2403]: 2024-09-19T11:41:28.743+0200 [WARN] agent: Check is now critical: check=service:carbonio-tasks
Sep 19 11:41:32 master carbonio-preview-start.sh[1696]: "[2024-09-19 11:41:32,966] INFO [uvicorn.access.send:482] 127.0.0.1:56646 - "GET /health/ready/ HTTP/1.1" 200"
Sep 19 11:41:33 master systemd[1]: carbonio-tasks.service: Scheduled restart job, restart counter is at 18537.
Sep 19 11:41:33 master systemd[1]: Stopped Carbonio Tasks daemon.
Sep 19 11:41:33 master systemd[1]: Started Carbonio Tasks daemon.
Sep 19 11:41:33 master service-discoverd[2403]: 2024-09-19T11:41:33.744+0200 [WARN] agent: Check is now critical: check=service:carbonio-tasks
Sep 19 11:41:33 master carbonio-tasks[3575778]: 11:41:33.804 [main] WARN c.z.c.t.c.ServiceDiscoverHttpClient - Unable to retrieve the config db-username from consul
Sep 19 11:41:33 master carbonio-tasks[3575778]: 11:41:33.806 [main] WARN c.z.c.t.c.ServiceDiscoverHttpClient - Unable to retrieve the config db-password from consul
Sep 19 11:41:33 master carbonio-tasks[3575778]: 11:41:33.808 [main] WARN c.z.c.t.c.ServiceDiscoverHttpClient - Unable to retrieve the config db-name from consul
Sep 19 11:41:33 master carbonio-tasks[3575778]: 11:41:33.809 [main] WARN c.z.c.t.c.ServiceDiscoverHttpClient - Unable to retrieve the config hikari-max-pool-size from consul
Sep 19 11:41:33 master carbonio-tasks[3575778]: 11:41:33.811 [main] WARN c.z.c.t.c.ServiceDiscoverHttpClient - Unable to retrieve the config hikari-min-idle-connections from consul
Sep 19 11:41:37 master carbonio-tasks[3575778]: 11:41:37.018 [main] ERROR ROOT - Service stopped unexpectedly:
Sep 19 11:41:37 master carbonio-tasks[3575778]: org.flywaydb.core.internal.exception.FlywaySqlException: Unable to obtain connection from database: The server requested SCRAM-based authentication, but the password is an empty string.
Sep 19 11:41:37 master carbonio-tasks[3575778]: --------------------------------------------------------------------------------------------------------------------------------
Sep 19 11:41:37 master carbonio-tasks[3575778]: SQL State : 08004
Sep 19 11:41:37 master carbonio-tasks[3575778]: Error Code : 0
Sep 19 11:41:37 master carbonio-tasks[3575778]: Message : The server requested SCRAM-based authentication, but the password is an empty string.

 

I don't think I ever have used carbonio-tasks and I didn't see these errors in 24.5. I ran pending-setup and everything looks like it is ok. But the error message doen't look good. If the update to 24.7.1 has added the carbonio-tasks, can I safely remove it (and how), or how to configure carbonio-tasks and consul?

Thanks.

//Sigtrap


   
Quote