problem :carbonio-f...
 
Notifications
Clear all

[Solved] problem :carbonio-files.service not start (Carbonio Release 24.3.0 on ubuntu 22.04)

5 Posts
2 Users
0 Reactions
499 Views
(@criumts)
Joined: 1 year ago
Posts: 9
Topic starter  

● carbonio-files.service - Carbonio Files daemon
Loaded: loaded (/lib/systemd/system/carbonio-files.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/carbonio-files.service.d
└─override.conf
Active: activating (auto-restart) (Result: exit-code) since Mon 2024-05-13 08:34:43 UTC; 13s ago
Process: 20796 ExecStart=/usr/bin/carbonio-files (code=exited, status=1/FAILURE)
Main PID: 20796 (code=exited, status=1/FAILURE)
CPU: 1.746s


   
Quote
(@criumts)
Joined: 1 year ago
Posts: 9
Topic starter  

systemctl list-units carbonio*

UNIT                           LOAD ACTIVE    SUB              DESCRIPTION

carbonio-files.service loaded activating auto-restart Carbonio Files daemon

 

● carbonio-files.service - Carbonio Files daemon
Loaded: loaded (/lib/systemd/system/carbonio-files.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/carbonio-files.service.d
└─override.conf
Active: activating (auto-restart) (Result: exit-code) since Mon 2024-05-13 08:34:43 UTC; 13s ago
Process: 20796 ExecStart=/usr/bin/carbonio-files (code=exited, status=1/FAILURE)
Main PID: 20796 (code=exited, status=1/FAILURE)
CPU: 1.746s


   
ReplyQuote
(@sharif)
Admin
Joined: 3 years ago
Posts: 593
 

@criumts 

Hi,

Could you please share some more details?

  1. What OS you are using?
  2. New Install or Upgradation?
  3. Output of the following commands:
    • root@mail:~# journalctl -u carbonio-files.service
    • root@mail:~# curl -s -v  http://127.78.0.4:10000/health  | jq
    • root@mail:~# systemctl status carbonio-files*

Regards,

Sharif


   
ReplyQuote
(@criumts)
Joined: 1 year ago
Posts: 9
Topic starter  

@sharif 

1-My OS :UBUNTU 22.04

2-New Install

3-Output

journalctl -u carbonio-files.service

May 14 13:59:23 mail.stu.univ-saida.dz systemd[1]: Started Carbonio Files daemon.
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: 13:59:25.133 [main] ERROR com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization.
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: org.postgresql.util.PSQLException: The connection attempt failed.
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:354)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:263)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.Driver.makeConnection(Driver.java:443)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.Driver.connect(Driver.java:297)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebeaninternal.server.core.DefaultContainer.checkDataSource(DefaultContainer.java:252)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:89)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:29)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebean.DatabaseFactory.createInternal(DatabaseFactory.java:136)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebean.DatabaseFactory.create(DatabaseFactory.java:85)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebean.DatabaseFactory.createWithContextClassLoader(DatabaseFactory.java:111)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zextras.carbonio.files.dal.EbeanDatabaseManager.start(EbeanDatabaseManager.java:266)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zextras.carbonio.files.Boot.boot(Boot.java:52)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zextras.carbonio.files.Boot.main(Boot.java:33)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: Caused by: java.io.EOFException: null
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.PGStream.receiveChar(PGStream.java:467)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:678)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:203)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: ... 20 common frames omitted
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: 13:59:25.137 [main] ERROR com.zextras.carbonio.files.Boot - Service stopped unexpectedly:
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: javax.persistence.PersistenceException: org.postgresql.util.PSQLException: The connection attempt failed.
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebeaninternal.server.core.DefaultContainer.checkDataSource(DefaultContainer.java:258)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:89)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:29)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebean.DatabaseFactory.createInternal(DatabaseFactory.java:136)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebean.DatabaseFactory.create(DatabaseFactory.java:85)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebean.DatabaseFactory.createWithContextClassLoader(DatabaseFactory.java:111)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zextras.carbonio.files.dal.EbeanDatabaseManager.start(EbeanDatabaseManager.java:266)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zextras.carbonio.files.Boot.boot(Boot.java:52)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zextras.carbonio.files.Boot.main(Boot.java:33)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:354)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:263)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.Driver.makeConnection(Driver.java:443)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.Driver.connect(Driver.java:297)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at io.ebeaninternal.server.core.DefaultContainer.checkDataSource(DefaultContainer.java:252)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: ... 8 common frames omitted
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: Caused by: java.io.EOFException: null
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.PGStream.receiveChar(PGStream.java:467)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:678)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:203)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: ... 20 common frames omitted
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.zextras.carbonio.files.tasks.PurgeService.stop()" because "this.purgeService" is null
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zextras.carbonio.files.Boot.boot(Boot.java:64)
May 14 13:59:25 mail.stu.univ-saida.dz carbonio-files[39948]: at com.zextras.carbonio.files.Boot.main(Boot.java:33)
May 14 13:59:25 mail.stu.univ-saida.dz systemd[1]: carbonio-files.service: Main process exited, code=exited, status=1/FAILURE
May 14 13:59:25 mail.stu.univ-saida.dz systemd[1]: carbonio-files.service: Failed with result 'exit-code'

..................................

----------------------------------------------------------------------------------

Output

curl -s -v   http://127.78.0.4:10000/health   | jq

* Trying 127.78.0.4:10000...
* 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
< Date: Tue, 14 May 2024 14:26:38 GMT
< Content-Type: application/json
< Content-Length: 403
< Server: Jetty(10.0.6)
<
{ [403 bytes data]
* 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
}
]
}

 

 

---------------------------------------------------------------------------------

Output

systemctl status carbonio-files*

 

● carbonio-files.service - Carbonio Files daemon
Loaded: loaded (/lib/systemd/system/carbonio-files.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/carbonio-files.service.d
└─override.conf
Active: activating (auto-restart) (Result: exit-code) since Tue 2024-05-14 14:27:37 UTC; 10s ago
Process: 38376 ExecStart=/usr/bin/carbonio-files (code=exited, status=1/FAILURE)
Main PID: 38376 (code=exited, status=1/FAILURE)
CPU: 1.668s

● carbonio-files-db-sidecar.service - Carbonio Files database sidecar
Loaded: loaded (/lib/systemd/system/carbonio-files-db-sidecar.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2024-05-14 14:08:25 UTC; 19min ago
Docs: https://docs.zextras.com/
Main PID: 5282 (envoy)
Tasks: 40 (limit: 38372)
Memory: 22.9M
CPU: 3.833s
CGroup: /system.slice/carbonio-files-db-sidecar.service
└─5282 /usr/bin/envoy --config-path /tmp/envoy-17cf602758ad6be4-bootstrap.json --disable-hot-restart

May 14 14:08:25 mail.stu.univ-saida.dz consul[5282]: [2024-05-14 14:08:25.563][5282][info][upstream] [source/common/upstream/cluster_manager_impl.cc:188] cm init: initializing cds
May 14 14:08:25 mail.stu.univ-saida.dz consul[5282]: [2024-05-14 14:08:25.563][5282][warning][main] [source/server/server.cc:642] there is no configured limit to the number of allowed active connections. Set a limit via the runtime key o>
May 14 14:08:25 mail.stu.univ-saida.dz consul[5282]: [2024-05-14 14:08:25.564][5282][info][main] [source/server/server.cc:764] starting main dispatch loop
May 14 14:08:25 mail.stu.univ-saida.dz consul[5282]: [2024-05-14 14:08:25.568][5282][info][upstream] [source/common/upstream/cds_api_helper.cc:28] cds: add 1 cluster(s), remove 0 cluster(s)
May 14 14:08:25 mail.stu.univ-saida.dz consul[5282]: [2024-05-14 14:08:25.594][5282][info][upstream] [source/common/upstream/cds_api_helper.cc:65] cds: added/updated 1 cluster(s), skipped 0 unmodified cluster(s)
May 14 14:08:25 mail.stu.univ-saida.dz consul[5282]: [2024-05-14 14:08:25.594][5282][info][upstream] [source/common/upstream/cluster_manager_impl.cc:192] cm init: all clusters initialized
May 14 14:08:25 mail.stu.univ-saida.dz consul[5282]: [2024-05-14 14:08:25.594][5282][info][main] [source/server/server.cc:745] all clusters initialized. initializing init manager
May 14 14:08:25 mail.stu.univ-saida.dz consul[5282]: [2024-05-14 14:08:25.601][5282][info][upstream] [source/server/lds_api.cc:78] lds: add/update listener 'public_listener:0.0.0.0:21005'
May 14 14:08:25 mail.stu.univ-saida.dz consul[5282]: [2024-05-14 14:08:25.601][5282][info][config] [source/server/listener_manager_impl.cc:888] all dependencies initialized. starting workers
May 14 14:23:25 mail.stu.univ-saida.dz consul[5282]: [2024-05-14 14:23:25.629][5282][info][main] [source/server/drain_manager_impl.cc:70] shutting down parent after drain


   
ReplyQuote
(@criumts)
Joined: 1 year ago
Posts: 9
Topic starter  

Files > Home > New is disabled (see picture)

 

 

This post was modified 7 months ago 2 times by criumts

   
ReplyQuote