Hi everyone,
I encountered an error where I couldn't open a file in FILES to edit after upgrading to version 24.7.1. (Specifically, nothing happens when I double-click on the file to edit it). 🙄 🙄 🙄
While investigating the cause of the error by reading the logs of journalctl
for carbonio-docs-connector.service
and carbonio-files.service
, I found the following ERROR log:
"Aug 09 10:13:46 mail.noname.hut carbonio-files[2002]: 10:13:46.741 [main] ERROR com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization.
Aug 09 10:13:46 mail.noname.hut carbonio-files[2002]: org.postgresql.util.PSQLException: Connection to 127.78.0.2:20000 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections."
Has anyone else experienced this issue? I upgraded from Carbonio CE 24.5.0 to 24.7.1 and I am using Ubuntu 22.04.
@darkma91cian
Hi,
I just did a fresh upgrade from 24.5.0 to 24.7.1. I can edit all the editable docs. Could you please share what steps you have followed?
Also, share the status of:
systemctl list-units carbonio* and curl -v http://127.78.0.4:10000/health | jq
Regards,
Sharif
@sharif
Great news! that after updating and running the command 'pending-setups -a' followed by a server reboot, I was able to partially resolve the issue. I can now open files in the 'FILES' section. However, I'm encountering the following error:
"Failed to read document from storage, please try to load the document again."
Attached is the relevant log from /var/log/carbonio/files/files.log.
09:26:37.090 [nioEventLoopGroup-3-4] ERROR c.z.c.files.netty.ExceptionsHandler - Failed to execute the request. 500 Internal Server Error
com.zextras.storages.api.exception.StoragesHTTPException: {"statusCode":404,"error":"Not found","message":"File '0c3f5bef-9109-4875-ac4f-fa9816478355-1' does not exist"}
The output of the command "systemctl list-units carbonio*" indicates that all services are running, except for 'carbonio.service' which is in an 'active exited' state.
"carbonio.service loaded active exited LSB: Carbonio Services"
Additionally, the output of "curl -v http://127.78.0.4:10000/health | jq" is not promising (see attached output).
* Trying 127.78.0.4:10000...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* connect to 127.78.0.4 port 10000 failed: Connection refused
* Failed to connect to 127.78.0.4 port 10000 after 1 ms: Connection refused
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Closing connection 0
curl: (7) Failed to connect to 127.78.0.4 port 10000 after 1 ms: Connection refused
I'm still pretty new to Carbonio, so please bear with me if I have a lot of questions. Thanks for your help!
Hi,
That's great. And don't worry about being new 🙏
Could you please the out put of these commands:
root@mail:~# netstat -alpn| grep 10000 |grep 127.78.0.4 root@mail:~# root@mail:~# consul members root@mail:~# root@mail:~# su - zextras -c "zmcontrol status"
Regards,
Sharif
@sharif
- Output of command: netstat -alpn| grep 10000 | grep 127.78.0.4 is empty
- Output of command: consul members
Node Address Status Type Build Protocol DC Segment
server-mail-noname-hut 192.168.100.34:8301 alive server 1.10.12 2 dc1 <all>
- Output of command: su - zextras -c "zmcontrol status"
Host mail.noname.hut
amavis Running
antispam Running
antivirus Running
directory-server Running
mailbox Running
memcached Running
mta Running
opendkim Running
proxy Running
service webapp Running
service-discover Running
stats Running
config service Running
The problem may be that 127.78.0.4 with port 10000 is not appearing???
Hi,
Yes and could you please dump the output of
# systemctl list-units carbonio*
And what OS you are using.
Regards,
Sharif
@sharif
- Output of command: 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-db-sidecar.service loaded active running Carbonio Docs Connector database 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-db-sidecar.service loaded active running Carbonio Mailbox database 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-message-broker-sidecar.service loaded active running Carbonio message broker sidecar proxy carbonio-message-broker.service loaded active running Carbonio message broker daemon carbonio-message-dispatcher-auth-sidecar.service loaded active running Carbonio Message Dispatcher auth sidecar proxy carbonio-message-dispatcher-auth.service loaded active running Carbonio Message Dispatcher auth daemon carbonio-message-dispatcher-db-sidecar.service loaded active running Carbonio Message Dispatcher database sidecar carbonio-message-dispatcher-http-sidecar.service loaded active running Carbonio Message Dispatcher HTTP sidecar proxy carbonio-message-dispatcher-xmpp-sidecar.service loaded active running Carbonio Message Dispatcher XMPP sidecar proxy carbonio-message-dispatcher.service loaded active running Carbonio Message Dispatcher daemon 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 active running 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-videoserver-sidecar.service loaded active running Carbonio Videoserver sidecar proxy carbonio-videoserver.service loaded active running Zextras Videoserver carbonio.service loaded active exited LSB: Carbonio Services LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 41 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.
- The operating system I am using is
PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
Hi,
The port 127.78.0.4 is the internal port for workstream collaboration. As we do not see that port listened, I just noticed carbonio-ws-collaboration-db, carbonio-ws-collaboration-ce, carbonio-ws-collaboration-ui are missing in the carbonio service list.
Let's check if these packages are installed in your system or not:
root@mail:~# apt-cache policy carbonio-ws-collaboration-db carbonio-ws-collaboration-ce carbonio-ws-collaboration-ui
If you find them not installed in your system, then install them as follows:
root@mail:~# apt install carbonio-ws-collaboration-db -y root@mail:~# pending-setups -a root@mail:~# PGPASSWORD=<postgress_password> carbonio-ws-collaboration-db-bootstrap carbonio_adm 127.0.0.1 root@mail:~# apt install carbonio-ws-collaboration-ce -y root@mail:~# pending-setups -a root@mail:~# apt install carbonio-ws-collaboration-ui -y root@mail:~# su - zextras -c "carbonio prov mc default carbonioFeatureChatsEnabled TRUE"
Then restart, reboot and recheck everything again.
Regards,
Sharif
I don't think it's due to missing packages. Here's the output for the test command for the above 3 packages:
root@mail:~# apt-cache policy carbonio-ws-collaboration-db carbonio-ws-collaboration-ce carbonio-ws-collaboration-ui
carbonio-ws-collaboration-db:
Installed: 0.2.2-1ubuntu
Candidate: 0.2.2-1ubuntu
Version table:
0.2.2-1ubuntu 500
500 https://repo.zextras.io/release/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
0.2.0-1ubuntu 500
500 https://repo.zextras.io/release/ubuntu jammy/main amd64 Packages
carbonio-ws-collaboration-ce:
Installed: 0.6.0-1ubuntu
Candidate: 0.6.0-1ubuntu
Version table:
0.6.0-1ubuntu 500
500 https://repo.zextras.io/release/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
0.5.1-1ubuntu 500
500 https://repo.zextras.io/release/ubuntu jammy/main amd64 Packages
0.3.6-1ubuntu 500
500 https://repo.zextras.io/release/ubuntu jammy/main amd64 Packages
0.3.5-1ubuntu 500
500 https://repo.zextras.io/release/ubuntu jammy/main amd64 Packages
carbonio-ws-collaboration-ui:
Installed: 0.9.7-1ubuntu
Candidate: 0.9.7-1ubuntu
Version table:
*** 0.9.7-1ubuntu 500
500 https://repo.zextras.io/release/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
0.9.4-1ubuntu 500
500 https://repo.zextras.io/release/ubuntu jammy/main amd64 Packages
0.9.2-1ubuntu 500
500 https://repo.zextras.io/release/ubuntu jammy/main amd64 Packages
0.9.0-1ubuntu 500
500 https://repo.zextras.io/release/ubuntu jammy/main amd64 Packages
When I check the log /var/log/carbonio/docs-connector/docs-connector.log, I see the following error log:
11:56:32.208 [qtp1885922916-19] ERROR c.z.c.d.services.WopiService - null 11:56:32.741 [qtp1885922916-19] ERROR c.z.c.d.services.WopiService - null
But strangely, the files I create after the update will not have this error and will open normally
darkma91cian
I agree but why they are not appearing in systemctl list-units carbonio*
Also, the having WS will give us the status like:
root@mail:~# !cur curl -v http://127.78.0.4:10000/health | jq * Trying 127.78.0.4:10000... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 127.78.0.4 (127.78.0.4) port 10000 (#0) > GET /health HTTP/1.1 > Host: 127.78.0.4:10000 > User-Agent: curl/7.81.0 > Accept: */* > 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0* Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Jetty(12.0.8) < Date: Tue, 20 Aug 2024 11:04:21 GMT < Content-Type: application/json < Content-Length: 403 < { [403 bytes data] 100 403 100 403 0 0 308 0 0:00:01 0:00:01 --:--:-- 309 * Connection #0 to host 127.78.0.4 left intact { "isLive": true, "status": "ok", "dependencies": [ { "name": "database", "isHealthy": true }, { "name": "authentication_service", "isHealthy": true }, { "name": "profiling_service", "isHealthy": true }, { "name": "xmpp_server", "isHealthy": true }, { "name": "event_dispatcher", "isHealthy": true }, { "name": "storage_service", "isHealthy": true }, { "name": "previewer_service", "isHealthy": true }, { "name": "videoserver_service", "isHealthy": true } ] } root@mail:~#
could you please share the output of journalctl -u <relevant-carbonio-service> ?
Regards,
Sharif
sorry i may have given old output of systemctl list-units "carbonio*" command. Here is the latest output
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-db-sidecar.service loaded active running Carbonio Docs Connector database 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-db-sidecar.service loaded active running Carbonio Mailbox database 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-message-broker-sidecar.service loaded active running Carbonio message broker sidecar proxy carbonio-message-broker.service loaded active running Carbonio message broker daemon carbonio-message-dispatcher-auth-sidecar.service loaded active running Carbonio Message Dispatcher auth sidecar proxy carbonio-message-dispatcher-auth.service loaded active running Carbonio Message Dispatcher auth daemon carbonio-message-dispatcher-db-sidecar.service loaded active running Carbonio Message Dispatcher database sidecar carbonio-message-dispatcher-http-sidecar.service loaded active running Carbonio Message Dispatcher HTTP sidecar proxy carbonio-message-dispatcher-xmpp-sidecar.service loaded active running Carbonio Message Dispatcher XMPP sidecar proxy carbonio-message-dispatcher.service loaded active running Carbonio Message Dispatcher daemon 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 active running 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-videoserver-sidecar.service loaded active running Carbonio Videoserver sidecar proxy carbonio-videoserver.service loaded active running Zextras Videoserver carbonio-ws-collaboration-db-sidecar.service loaded active running Carbonio Workstream Collaboration database sidecar carbonio-ws-collaboration-sidecar.service loaded active running Carbonio Workstream Collaboration sidecar proxy carbonio-ws-collaboration.service loaded active running Carbonio Workstream Collaboration daemon carbonio.service loaded active exited LSB: Carbonio Services LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 44 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.
Here is the output of journalctl -u "carbonio*" -n 50
Aug 21 10:24:18 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:18.556Z] [info] [id=req-18m, hostname=127.78.0.2:20002, ip=127.0.0.1 url=/health/live] Request received Aug 21 10:24:18 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:18.556Z] [debug] No auth checks performed on request req-18m Aug 21 10:24:18 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:18.557Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":true,"_last":false,"chunkedEncoding":false,"shouldKeepAlive":true,"maxReque> Aug 21 10:24:18 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:18.981Z] [info] {"req":{"id":"req-18n","params":{},"raw":{"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":> Aug 21 10:24:18 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:18.981Z] [info] [id=req-18n, hostname=127.78.0.3:10000, ip=127.0.0.1 url=/health/live] Request received Aug 21 10:24:18 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:18.982Z] [debug] No auth checks performed on request req-18n Aug 21 10:24:18 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:18.983Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":true,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":false,"maxReque> Aug 21 10:24:19 mail.noname.hut carbonio-preview-start.sh[1322]: "[2024-08-21 10:24:19,085] INFO [uvicorn.access.send:482] 127.0.0.1:33872 - "GET /health/ready/ HTTP/1.1" 200" Aug 21 10:24:21 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:21.955Z] [info] {"req":{"id":"req-18o","params":{},"raw":{"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":> Aug 21 10:24:21 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:21.956Z] [info] [id=req-18o, hostname=127.78.0.4:20000, ip=127.0.0.1 url=/health/live] Request received Aug 21 10:24:21 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:21.956Z] [debug] No auth checks performed on request req-18o Aug 21 10:24:21 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:21.957Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":true,"_last":false,"chunkedEncoding":false,"shouldKeepAlive":true,"maxReque> Aug 21 10:24:21 mail.noname.hut carbonio-preview-start.sh[1322]: "[2024-08-21 10:24:21,962] INFO [uvicorn.access.send:482] 127.0.0.1:33886 - "GET /health/ready/ HTTP/1.1" 200" Aug 21 10:24:23 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:23.573Z] [info] {"req":{"id":"req-18p","params":{},"raw":{"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":> Aug 21 10:24:23 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:23.574Z] [info] [id=req-18p, hostname=127.78.0.2:20002, ip=127.0.0.1 url=/health/live] Request received Aug 21 10:24:23 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:23.574Z] [debug] No auth checks performed on request req-18p Aug 21 10:24:23 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:23.574Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":true,"_last":false,"chunkedEncoding":false,"shouldKeepAlive":true,"maxReque> Aug 21 10:24:23 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:23.984Z] [info] {"req":{"id":"req-18q","params":{},"raw":{"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":> Aug 21 10:24:23 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:23.985Z] [info] [id=req-18q, hostname=127.78.0.3:10000, ip=127.0.0.1 url=/health/live] Request received Aug 21 10:24:23 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:23.985Z] [debug] No auth checks performed on request req-18q Aug 21 10:24:24 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:23.985Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":true,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":false,"maxReque> Aug 21 10:24:24 mail.noname.hut carbonio-preview-start.sh[1322]: "[2024-08-21 10:24:24,089] INFO [uvicorn.access.send:482] 127.0.0.1:33892 - "GET /health/ready/ HTTP/1.1" 200" Aug 21 10:24:26 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:26.988Z] [info] {"req":{"id":"req-18r","params":{},"raw":{"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":> Aug 21 10:24:26 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:26.988Z] [info] [id=req-18r, hostname=127.78.0.4:20000, ip=127.0.0.1 url=/health/live] Request received Aug 21 10:24:26 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:26.988Z] [debug] No auth checks performed on request req-18r Aug 21 10:24:26 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:26.989Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":true,"_last":false,"chunkedEncoding":false,"shouldKeepAlive":true,"maxReque> Aug 21 10:24:26 mail.noname.hut carbonio-preview-start.sh[1322]: "[2024-08-21 10:24:26,994] INFO [uvicorn.access.send:482] 127.0.0.1:33898 - "GET /health/ready/ HTTP/1.1" 200" Aug 21 10:24:28 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:28.587Z] [info] {"req":{"id":"req-18s","params":{},"raw":{"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":> Aug 21 10:24:28 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:28.587Z] [info] [id=req-18s, hostname=127.78.0.2:20002, ip=127.0.0.1 url=/health/live] Request received Aug 21 10:24:28 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:28.588Z] [debug] No auth checks performed on request req-18s Aug 21 10:24:28 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:28.588Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":true,"_last":false,"chunkedEncoding":false,"shouldKeepAlive":true,"maxReque> Aug 21 10:24:28 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:28.986Z] [info] {"req":{"id":"req-18t","params":{},"raw":{"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":> Aug 21 10:24:28 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:28.987Z] [info] [id=req-18t, hostname=127.78.0.3:10000, ip=127.0.0.1 url=/health/live] Request received Aug 21 10:24:28 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:28.987Z] [debug] No auth checks performed on request req-18t Aug 21 10:24:28 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:28.987Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":true,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":false,"maxReque> Aug 21 10:24:29 mail.noname.hut carbonio-preview-start.sh[1322]: "[2024-08-21 10:24:29,092] INFO [uvicorn.access.send:482] 127.0.0.1:32854 - "GET /health/ready/ HTTP/1.1" 200" Aug 21 10:24:32 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:32.016Z] [info] {"req":{"id":"req-18u","params":{},"raw":{"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":> Aug 21 10:24:32 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:32.017Z] [info] [id=req-18u, hostname=127.78.0.4:20000, ip=127.0.0.1 url=/health/live] Request received Aug 21 10:24:32 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:32.017Z] [debug] No auth checks performed on request req-18u Aug 21 10:24:32 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:32.018Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":true,"_last":false,"chunkedEncoding":false,"shouldKeepAlive":true,"maxReque> Aug 21 10:24:32 mail.noname.hut carbonio-preview-start.sh[1322]: "[2024-08-21 10:24:32,021] INFO [uvicorn.access.send:482] 127.0.0.1:32866 - "GET /health/ready/ HTTP/1.1" 200" Aug 21 10:24:33 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:33.602Z] [info] {"req":{"id":"req-18v","params":{},"raw":{"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":> Aug 21 10:24:33 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:33.603Z] [info] [id=req-18v, hostname=127.78.0.2:20002, ip=127.0.0.1 url=/health/live] Request received Aug 21 10:24:33 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:33.603Z] [debug] No auth checks performed on request req-18v Aug 21 10:24:33 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:33.604Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":true,"_last":false,"chunkedEncoding":false,"shouldKeepAlive":true,"maxReque> Aug 21 10:24:33 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:33.990Z] [info] {"req":{"id":"req-18w","params":{},"raw":{"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":> Aug 21 10:24:33 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:33.991Z] [info] [id=req-18w, hostname=127.78.0.3:10000, ip=127.0.0.1 url=/health/live] Request received Aug 21 10:24:33 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:33.991Z] [debug] No auth checks performed on request req-18w Aug 21 10:24:33 mail.noname.hut carbonio-storages[683]: [2024-08-21T03:24:33.992Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":true,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":false,"maxReque> Aug 21 10:24:34 mail.noname.hut carbonio-preview-start.sh[1322]: "[2024-08-21 10:24:34,095] INFO [uvicorn.access.send:482] 127.0.0.1:32870 - "GET /health/ready/ HTTP/1.1" 200"
I also want to share that when I open the file and get the above error, the following error appears in the log /var/log/carbonio/files/files.log
10:35:21.633 [nioEventLoopGroup-3-4] ERROR c.z.c.files.netty.ExceptionsHandler - Failed to execute the request. 500 Internal Server Error com.zextras.storages.api.exception.StoragesHTTPException: {"statusCode":404,"error":"Not found","message":"File '0c3f5bef-9109-4875-ac4f-fa9816478355-1' does not exist"} at com.zextras.storages.internal.client.StoragesClientImp.wrap(StoragesClientImp.java:138) at com.zextras.storages.internal.client.StoragesClientImp.download(StoragesClientImp.java:63) at com.zextras.carbonio.files.rest.services.BlobService.lambda$downloadFile$91691587$1(BlobService.java:420) at io.vavr.control.Try.of(Try.java:75) at com.zextras.carbonio.files.rest.services.BlobService.lambda$downloadFile$8(BlobService.java:419) at java.base/java.util.Optional.map(Optional.java:260) at com.zextras.carbonio.files.rest.services.BlobService.lambda$downloadFile$9(BlobService.java:418) at java.base/java.util.Optional.map(Optional.java:260) at com.zextras.carbonio.files.rest.services.BlobService.downloadFile(BlobService.java:416) at com.zextras.carbonio.files.rest.services.BlobService.downloadFileById(BlobService.java:110) at com.zextras.carbonio.files.rest.controllers.BlobController.download(BlobController.java:118) at com.zextras.carbonio.files.rest.controllers.BlobController.channelRead0(BlobController.java:76) at com.zextras.carbonio.files.rest.controllers.BlobController.channelRead0(BlobController.java:46) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) at com.zextras.carbonio.files.netty.AuthenticationHandler.lambda$validateAuthTokenAndFetchAccount$1(AuthenticationHandler.java:116) at java.base/java.util.Optional.ifPresentOrElse(Optional.java:196) at com.zextras.carbonio.files.netty.AuthenticationHandler.lambda$validateAuthTokenAndFetchAccount$3(AuthenticationHandler.java:105) at io.vavr.control.Try.onSuccess(Try.java:712) at com.zextras.carbonio.files.netty.AuthenticationHandler.validateAuthTokenAndFetchAccount(AuthenticationHandler.java:102) at com.zextras.carbonio.files.netty.AuthenticationHandler.channelRead0(AuthenticationHandler.java:69) at com.zextras.carbonio.files.netty.AuthenticationHandler.channelRead0(AuthenticationHandler.java:23) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) at com.zextras.carbonio.files.netty.HttpRoutingHandler.channelRead0(HttpRoutingHandler.java:117) at com.zextras.carbonio.files.netty.HttpRoutingHandler.channelRead0(HttpRoutingHandler.java:30) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:840)
This is the output of the command
curl -v http://127.78.0.4:10000/health | jq
root@mail:~# curl -v http://127.78.0.4:10000/health | jq * Trying 127.78.0.4:10000... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 127.78.0.4 (127.78.0.4) port 10000 (#0) > GET /health HTTP/1.1 > Host: 127.78.0.4:10000 > User-Agent: curl/7.81.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Jetty(12.0.8) < Date: Wed, 21 Aug 2024 06:04:01 GMT < Content-Type: application/json < Content-Length: 403 < { [403 bytes data] 100 403 100 403 0 0 5142 0 --:--:-- --:--:-- --:--:-- 5233 * Connection #0 to host 127.78.0.4 left intact { "isLive": true, "status": "ok", "dependencies": [ { "name": "database", "isHealthy": true }, { "name": "authentication_service", "isHealthy": true }, { "name": "profiling_service", "isHealthy": true }, { "name": "xmpp_server", "isHealthy": true }, { "name": "event_dispatcher", "isHealthy": true }, { "name": "storage_service", "isHealthy": true }, { "name": "previewer_service", "isHealthy": true }, { "name": "videoserver_service", "isHealthy": true } ] }