carbonio-files.serv...
 
Notifications
Clear all

carbonio-files.service won't start

1 Posts
1 Users
0 Reactions
399 Views
(@dcarro)
Joined: 10 months ago
Posts: 2
Topic starter  

Hi,

I do a fresh install of carbonio and I have one service won't start.

I think I did a mistake during installation at the step 9 Single-Server Installation — Zextras Carbonio CE Documentation

I want to reset the password for the service but when I retry this command I get this message:

PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1
Database: 127.0.0.1:5432 user carbonio_adm
Check postgres connection: OK
Current version is: .
Database already initialized! Quitting

 

So I tried to execute the command carbonio-files as root and in the log I found password authentication failed:

14:32:11.487 [main] ERROR com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization.
org.postgresql.util.PSQLException: FATAL: password authentication failed for user "carbonio-files-db"
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:693)
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:203)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:263)
at org.postgresql.Driver.makeConnection(Driver.java:443)
at org.postgresql.Driver.connect(Driver.java:297)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
at io.ebeaninternal.server.core.DefaultContainer.checkDataSource(DefaultContainer.java:252)
at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:89)
at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:29)
at io.ebean.DatabaseFactory.createInternal(DatabaseFactory.java:136)
at io.ebean.DatabaseFactory.create(DatabaseFactory.java:85)
at io.ebean.DatabaseFactory.createWithContextClassLoader(DatabaseFactory.java:111)
at com.zextras.carbonio.files.dal.EbeanDatabaseManager.start(EbeanDatabaseManager.java:266)
at com.zextras.carbonio.files.Boot.boot(Boot.java:52)
at com.zextras.carbonio.files.Boot.main(Boot.java:33)
14:32:11.495 [main] ERROR com.zextras.carbonio.files.Boot - Service stopped unexpectedly:
javax.persistence.PersistenceException: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "carbonio-files-db"
at io.ebeaninternal.server.core.DefaultContainer.checkDataSource(DefaultContainer.java:258)
at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:89)
at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:29)
at io.ebean.DatabaseFactory.createInternal(DatabaseFactory.java:136)
at io.ebean.DatabaseFactory.create(DatabaseFactory.java:85)
at io.ebean.DatabaseFactory.createWithContextClassLoader(DatabaseFactory.java:111)
at com.zextras.carbonio.files.dal.EbeanDatabaseManager.start(EbeanDatabaseManager.java:266)
at com.zextras.carbonio.files.Boot.boot(Boot.java:52)
at com.zextras.carbonio.files.Boot.main(Boot.java:33)
Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "carbonio-files-db"
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:693)
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:203)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:263)
at org.postgresql.Driver.makeConnection(Driver.java:443)
at org.postgresql.Driver.connect(Driver.java:297)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
at io.ebeaninternal.server.core.DefaultContainer.checkDataSource(DefaultContainer.java:252)
... 8 common frames omitted
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.zextras.carbonio.files.tasks.PurgeService.stop()" because "this.purgeService" is null
at com.zextras.carbonio.files.Boot.boot(Boot.java:64)
at com.zextras.carbonio.files.Boot.main(Boot.java:33)

How I can resolve this issue?

I have Carbonio 2024.01 on Ubuntu 20.04

Thanks for your help.

Regards


   
Quote