Enable chats in Car...
 
Notifications
Clear all

Enable chats in Carbonio CE 23.12.0?

10 Posts
6 Users
3 Likes
997 Views
(@diito)
Joined: 4 months ago
Posts: 20
Topic starter  

The release notes state that chats are now available in CE 23.12.0.  After upgrading I do not see chats available in the admin UI COS features to enable it, nor is it showing up in the web client.  How do I enable this?


   
Quote
(@sharif)
Admin
Joined: 2 years ago
Posts: 386
 

@ditto,

Hi,

Did you install

apt install carbonio-ws-collaboration-ui -y

And after that execute

su - zextras -c "carbonio prov mc default carbonioFeatureChatsEnabled TRUE"

Restart all services, refresh the browser and let us know what you get.

Thanks,

Sharif


   
ReplyQuote
(@anahuac)
Joined: 10 months ago
Posts: 304
 

Well.... you get the Chat interface, but it doesn't work.

As far as I could dig into it there are many packages that are not installed:

carbonio-ws-collaboration-ui carbonio-ws-collaboration-db carbonio-message-broker carbonio-message-dispatcher carbonio-ws-collaboration-ce carbonio-videoserver-ce carbonio-message-dispatcher-db

And then are a lot of steps to create PGSQL entries and permissions to be able to run pending-setup -a properly.... and in the end carbonio-ws-collaboration.service still doesn't work. I get this error using journalctl -f -u carbonio-ws-collaboration.service

dez 29 10:00:27 carbonio.for.mat.br java[51256]: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "carbonio-ws-collaboration-db"

So, right now thing are not quite done to get Chat working 

 

 


   
ReplyQuote
(@keithwmd)
Joined: 11 months ago
Posts: 6
 

I having the same issue. This is what I am getting:

 

Dec 29 21:25:53 wmd-mail-carbonio java[114205]: Logging configurations file loaded
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:                                _____           _                 _
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:                               / ____|         | |               (_)
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:                              | |     __ _ _ __| |__   ___  _ __  _  ___
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:                              | |    / _` | '__| '_ \ / _ \| '_ \| |/ _ \
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:                              | |___| (_| | |  | |_) | (_) | | | | | (_) |
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:                               \_____\__,_|_|  |_.__/ \___/|_| |_|_|\___/
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:  __          _______    _____      _ _       _                     _   _                _____ ______
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:  \ \        / / ____|  / ____|    | | |     | |                   | | (_)              / ____|  ____|
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:   \ \  /\  / / (___   | |     ___ | | | __ _| |__   ___  _ __ __ _| |_ _  ___  _ __   | |    | |__
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:    \ \/  \/ / \___ \  | |    / _ \| | |/ _` | '_ \ / _ \| '__/ _` | __| |/ _ \| '_ \  | |    |  __|
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:     \  /\  /  ____) | | |___| (_) | | | (_| | |_) | (_) | | | (_| | |_| | (_) | | | | | |____| |____
Dec 29 21:25:53 wmd-mail-carbonio java[114205]:      \/  \/  |_____/   \_____\___/|_|_|\__,_|_.__/ \___/|_|  \__,_|\__|_|\___/|_| |_|  \_____|______|
Dec 29 21:25:55 wmd-mail-carbonio java[114205]: 29-12-2023 21:25:55.286  INFO c.z.c.c.c.logging.ChatsLogger  : Consul config loaded
Dec 29 21:25:55 wmd-mail-carbonio java[114205]: 29-12-2023 21:25:55.360  INFO c.z.hikari.HikariDataSource    : ws-collaboration-db-pool - Starting...
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: 29-12-2023 21:25:56.522 ERROR c.z.hikari.pool.HikariPool     : ws-collaboration-db-pool - Exception during pool initialization.
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: org.postgresql.util.PSQLException: The connection attempt failed.
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:313)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:51)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:225)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.Driver.makeConnection(Driver.java:466)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.Driver.connect(Driver.java:265)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zextras.carbonio.chats.core.config.CoreModule.getHikariDataSource(CoreModule.java:297)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zextras.carbonio.chats.core.config.CoreModule$$FastClassByGuice$$11521.GUICE$TRAMPOLINE(<generated>)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zextras.carbonio.chats.core.config.CoreModule$$FastClassByGuice$$11521.apply(<generated>)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:260)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:113)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1138)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zextras.carbonio.chats.boot.Chats.main(Chats.java:29)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: Caused by: java.io.EOFException: null
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.PGStream.receiveChar(PGStream.java:452)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:517)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:151)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:215)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         ... 37 common frames omitted
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: Exception in thread "main" com.google.inject.ProvisionException: Unable to provision, see the following errors:
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: 1) [Guice/ErrorInCustomProvider]: HikariPool$PoolInitializationException: Failed to initialize pool: The connection attempt failed.
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:   at CoreModule.getHikariDataSource(CoreModule.java:285)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:       \_ installed by: BootModule -> CoreModule
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:   at CoreModule.getFlywayInstance(CoreModule.java:275)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:       \_ for 1st parameter
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:   at CoreModule.getFlywayInstance(CoreModule.java:275)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:       \_ installed by: BootModule -> CoreModule
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:   at Boot.<init>(Boot.java:49)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:       \_ for 2nd parameter
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:   while locating Boot
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: Learn more:
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:    https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER 
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: 1 error
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: ======================
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: Full classname legend:
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: ======================
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: Boot:                                   "com.zextras.carbonio.chats.boot.Boot"
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: BootModule:                             "com.zextras.carbonio.chats.boot.config.BootModule"
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: CoreModule:                             "com.zextras.carbonio.chats.core.config.CoreModule"
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: HikariPool$PoolInitializationException: "com.zaxxer.hikari.pool.HikariPool$PoolInitializationException"
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: ========================
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: End of classname legend:
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: ========================
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1138)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zextras.carbonio.chats.boot.Chats.main(Chats.java:29)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: The connection attempt failed.
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:596)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:582)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zextras.carbonio.chats.core.config.CoreModule.getHikariDataSource(CoreModule.java:297)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zextras.carbonio.chats.core.config.CoreModule$$FastClassByGuice$$11521.GUICE$TRAMPOLINE(<generated>)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zextras.carbonio.chats.core.config.CoreModule$$FastClassByGuice$$11521.apply(<generated>)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:260)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:113)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         ... 2 more
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:313)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:51)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:225)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.Driver.makeConnection(Driver.java:466)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.Driver.connect(Driver.java:265)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         ... 28 more
Dec 29 21:25:56 wmd-mail-carbonio java[114205]: Caused by: java.io.EOFException
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.PGStream.receiveChar(PGStream.java:452)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:517)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:151)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:215)
Dec 29 21:25:56 wmd-mail-carbonio java[114205]:         ... 37 more
Dec 29 21:25:56 wmd-mail-carbonio systemd[1]: carbonio-ws-collaboration.service: Main process exited, code=exited, status=1/FAILURE
Dec 29 21:25:56 wmd-mail-carbonio systemd[1]: carbonio-ws-collaboration.service: Failed with result 'exit-code'.

   
anahuac reacted
ReplyQuote
(@diito)
Joined: 4 months ago
Posts: 20
Topic starter  

I'm on a Redhat (Rocky) install, not Debian.  I'm able to install carbonio-ws-collaboration-ui but most of the other packages listed here as dependencies don't exist. 

 

Nothing shows up when I install that package and run

su - zextras -c "carbonio prov mc default carbonioFeatureChatsEnabled TRUE"

then restart. 


   
ReplyQuote
(@anahuac)
Joined: 10 months ago
Posts: 304
 

I did many many tests and got quite far, but not enough to make it work. I wanna share what I did and wish you all and devs can help to make it work.

1st I figured that there were some packages that are not listed that need to be installed.

FTR I'm doing all this on an Ubuntu 20.04 with Carbonio 23.12 already upgraded that is missing the Chat.

In the doc we need to install this list:

apt install service-discover-server \
carbonio-directory-server carbonio-proxy carbonio-webui \
carbonio-files-ui carbonio-mta carbonio-appserver \
carbonio-user-management carbonio-files-ce \
carbonio-files-db carbonio-tasks-ce carbonio-tasks-db \
carbonio-tasks-ui carbonio-storages-ce carbonio-preview-ce \
carbonio-docs-connector-ce carbonio-docs-editor \
carbonio-prometheus carbonio-message-broker \
carbonio-message-dispatcher carbonio-ws-collaboration-ce \
carbonio-videoserver-ce

I added this ones:

carbonio-ws-collaboration-ui carbonio-ws-collaboration-db carbonio-message-dispatcher-db

After install it all I figured that the Rabbitmq binaries are missing from "/opt/zextras/common/bin/" as required by carbonio-message-broker service to work. So I did the symbolic links with this commands:

cd /opt/zextras/common/lib/rabbitmq/lib/rabbitmq_server-3.12.6/sbin

for each in `ls` ; do 

            ln -s /opt/zextras/common/lib/rabbitmq/lib/rabbitmq_server-3.12.6/sbin/$each /opt/zextras/common/bin/$each 

done

  Then I ran

pending-setups -a

It fails asking to run carbonio-message-dispatcher-db-bootstrap, so I did it with:

PGPASSWORD="pgpass" carbonio-message-dispatcher-db-bootstrap carbonio_adm 127.0.0.1

Then I ran pending-setups again, and it fails asking to run carbonio-ws-collaboration-db-bootstrap, do I did it with:

PGPASSWORD="pgpass" carbonio-ws-collaboration-db-bootstrap carbonio_adm 127.0.0.1

 Finally "pending-setups -a" ran with no errors.

But carbonio-ws-collaboration.service fails and keeps restarting endlessly. In its logs I can see this:

com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.

Finally, looking into carbonio-message-broker.service logs I see this:

rabbitmq-server[117368]: 2023-12-30 00:55:21.795860-03:00 [error] <0.3028.0> PLAIN login refused: user 'carbonio-message-broker' - invalid credentials

 Just like in Alice, I felt like I were in the rabbit whole myself... strange paths... 🤣 

Right now it's a dead end because I have no idea how to set that password above.

I hope this description helps to lead us all to a solution.

Regards

 

 

 


   
dominix reacted
ReplyQuote
(@keithwmd)
Joined: 11 months ago
Posts: 6
 

I seem to be getting closer. I am now receiving the following error when trying to manually start carbonio-ws-collaboration:

/opt/zextras/common/bin/java -Djava.net.preferIPv4Stack=true -jar /usr/bin/carbonio/ws-collaboration/carbonio-ws-collaboration.jar

The error I am receiving:

password authentication failed for user "carbonio-ws-collaboration-db"

I am assuming the user should be “carbonio_adm”?


   
dominix reacted
ReplyQuote
(@mutant)
Joined: 4 months ago
Posts: 1
 

So after analyzing the postgresql log files i think the the error is coming from the rabbitmq and i thik i am one step ahead. 

first i added an admin user to rabbitmq - as user carbonio-message-broker run

/opt/zextras/common/bin/rabbitmqctl --node carbonio-message-broker-clustered add_user full_access secret_pass 

then give full permitions to this user 

/opt/zextras/common/bin/rabbitmqctl --node carbonio-message-broker-clustered set_user_tags full_access administrator

next you must modify i added an echo line on line 44 in the /usr/bin/carbonio-message-broker-set-user file - echo $PASSWORD

runned the /usr/bin/carbonio-message-broker-set-user command 

then go to http://127.0.0.1:10001 (this is the web managment port of rabbitiq) loged in with full_access/secret_pass 

and added "carbonio-message-broker" user with the password from the /usr/bin/carbonio-message-broker-set-user command. 

set permissions for the carbonio-message-broker trough the web interface and restarted the server.

 

Now the "ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile" error is gone. 

 

Unfortunately the chat still does not work and i have no clue why. The next error is -

 

"05-01-2024 17:53:17.965 ERROR c.z.c.c.c.logging.ChatsLogger : An error occurred on /rooms at com.zextras.carbonio.chats.core.infrastructure.messaging.impl.xmpp.MessageDispatcherMongooseImpl.createRoom [line 75]
com.zextras.carbonio.chats.core.exception.MessageDispatcherException: Internal Server Error - Error while creating a room: [{"path":["muc_light","createRoom"],"message":"Unexpected MUCLightAdminMutation resolver crash","extensions":{"code":"resolver_crash"}}]"

 

I will continue to investigate. 

 

Greets. 


   
ReplyQuote
(@rosch)
Joined: 3 months ago
Posts: 15
 

No update here for version 24.3.0 I guess? Is there a way to report this to the developers?


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 386
 

@rosch 

Hi,

Could you please try these and let us know:

https://community.zextras.com/forum/postid/7467/

Regards,

Sharif


   
ReplyQuote