Fresh Installation ...
 
Notifications
Clear all

[Sticky] Fresh Installation of Carbonio CE 23.12.0 Workstream Collaboration

43 Posts
17 Users
8 Likes
6,567 Views
(@gagie)
Joined: 3 months ago
Posts: 6
 

@anahuac I have the same error on ubuntu 20.04 LTS server focal


   
ReplyQuote
(@gagie)
Joined: 3 months ago
Posts: 6
 

@anahuac  
i got the same error on ubuntu 20.04 LTS server :

Config entry written: service-defaults/carbonio-message-dispatcher-http
Config entry written: service-intentions/carbonio-message-dispatcher-http
Config entry written: service-defaults/carbonio-message-dispatcher-xmpp
Config entry written: service-intentions/carbonio-message-dispatcher-xmpp
Carbonio Message Dispatcher database password not found.
Please install carbonio-message-dispatcher-db and run carbonio-message-dispatcher-db-bootstrap command.
Script for Message Dispatcher terminated with error
Setup script failed, keeping it

 

the package that mentionned is already installed, this functionnality really works on commuty edition ?

and i  try this

root@mail:~# PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-db-bootstrap carbonio_adm 127.0.0.1
Database: 127.0.0.1:5432 user carbonio_adm
Error connecting to Consul agent: Error loading token file: open /etc/carbonio/message-dispatcher-db/service-discover/token: no such file or directory

but i have the same error with the installation on ubuntu 20.04 TLS server

 

how can fix it if possible


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

yes it does... I have done it many time already... did you see my post about wait a bit and do those steps again?


   
ReplyQuote
(@gagie)
Joined: 3 months ago
Posts: 6
 

@anahuac installation doesn't work properly when i run pending -a commande, i have this error:

Carbonio Message Dispatcher database password not found.
Please install carbonio-message-dispatcher-db and run carbonio-message-dispatcher-db-bootstrap command.
Script for Message Dispatcher terminated with error
Setup script failed, keeping it

and when i try this command PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-db-bootstrap carbonio_adm 127.0.0.1:
i have this error

Database: 127.0.0.1:5432 user carbonio_adm
Error connecting to Consul agent: Error loading token file: open /etc/carbonio/message-dispatcher-db/service-discover/token: no such file or directory
r


   
ReplyQuote
(@gagie)
Joined: 3 months ago
Posts: 6
 

@anahuac Can you be more precise because I don't follow you very well.
I followed the guide provided in your forum and it's the same mistake.
that I encounter with the official documentation

Sincerely


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

@gagie I'm referring to this post: https://community.zextras.com/forum/postid/6864/


   
ReplyQuote
 ctof
(@ctof)
Joined: 3 years ago
Posts: 2
 

Hello @sharif

at step 7
 ubuntu 20.04 last and carbonio 24.1.0

root@mbx01:/home/eyodmin# PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-migration carbonio_adm 127.78.0.10 20000
Checking of database schema... Done. The database needs to be updated!
Updating database... Failed!
Cannot run script file '/etc/carbonio/message-dispatcher/sql-scripts/migrations//6.0.0.sql'

Need to repeat 
read -s -p "Password:" DB_ADM_PWD

and do again 
PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-migration carbonio_adm 127.78.0.10 20000

to continue...


   
ReplyQuote
(@cesarx)
Joined: 2 months ago
Posts: 1
 

@anahuac he seguido los pasos que mencionas, reiniciado y esperado unos minutos pero sigue mostrando el mismo mensaje de error. Incluso he realizado dons instalaciones limpias y nada.

 

 

Executing all setup scripts...

 

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

Executing /etc/zextras/pending-setups.d/carbonio-message-dispatcher.sh

Insert the cluster credential password: 

ID:           32bfe4bc-7bda-b4b0-a10b-bfe40d4abbea

Name:         carbonio-message-dispatcher-policy

Description:  Carbonio Message Dispatcher policy for service and sidecar proxy

Datacenters:  

Rules:

{

  "key_prefix": [

    {

      "carbonio-message-dispatcher/": {

        "policy": "write"

      },

      "carbonio-message-dispatcher-db/": {

        "policy": "read"

      }

    }

  ],

  "node_prefix": [

    {

      "": {

        "policy": "read"

      }

    }

  ],

  "service": [

    {

      "carbonio-message-dispatcher-xmpp": {

        "policy": "write"

      },

      "carbonio-message-dispatcher-http": {

        "policy": "write"

      },

      "carbonio-message-dispatcher-auth": {

        "policy": "write"

      },

      "carbonio-message-dispatcher-http-sidecar-proxy": {

        "policy": "write"

      },

      "carbonio-message-dispatcher-xmpp-sidecar-proxy": {

        "policy": "write"

      },

      "carbonio-message-dispatcher-auth-sidecar-proxy": {

        "policy": "write"

      }

    }

  ]

}

 

Config entry written: service-defaults/carbonio-message-dispatcher-http

Config entry written: service-intentions/carbonio-message-dispatcher-http

Config entry written: service-defaults/carbonio-message-dispatcher-xmpp

Config entry written: service-intentions/carbonio-message-dispatcher-xmpp

Carbonio Message Dispatcher database password not found.

Please install carbonio-message-dispatcher-db and run carbonio-message-dispatcher-db-bootstrap command.

Script for Message Dispatcher terminated with error

Setup script failed, keeping it


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 385
Topic starter  

@marco-manenti 

Hi,

I'm sorry for the trouble you had. 

And thank you for your help.

I tested this several times and did not need to add a CR as you mentioned. But this behavior has been observed by some of our users so it could be a bug and I will report this to our devs and let's wait for their feedback.

But thank you so much for your contribution to the community.

Thanks and regards,

Sharif


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 385
Topic starter  

@ctof 

Hi,

Sorry to hear about the trouble.

I am going to inform the devs about this behavior. 

I will share the update here.

Thanks again for letting us know.

Regards,

Sharif


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 385
Topic starter  

@cesarx 

Hi,

The part of the log says:

Carbonio Message Dispatcher database password not found.

Please install carbonio-message-dispatcher-db and run carbonio-message-dispatcher-db-bootstrap command.

Script for Message Dispatcher terminated with error

 

So, did you complete these tasks before trying to install carbonio-message-dispatcher:

apt install carbonio-message-dispatcher-db -y
pending-setups -a
PGPASSWORD=<Use_DB_Pass> carbonio-message-dispatcher-db-bootstrap carbonio_adm 127.0.0.1

 

Also, check this thread for clear steps:

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

 

Thanks and regards,

Sharif


   
anahuac reacted
ReplyQuote
(@john_doe)
Joined: 3 years ago
Posts: 61
 

Compared to the official documentation the above mentioned steps worked perfect compared to https://docs.zextras.com/carbonio-ce/html/install/scenarios/single-server-scenario.html

With that setup recommondation I was not able to complete it.


   
ReplyQuote
(@mm4rt1n3z)
Joined: 2 months ago
Posts: 2
 

Hello over here, first thx for taking the time to putting this together. With that said I am having some issues and I already tried the solutions above and nothing seems to work. My installation is on Ubuntu 20.04.

PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-migration carbonio_adm 127.78.0.10 20000
Checking of database schema... Done. The database needs to be updated!
Updating database... Failed!
Cannot run script file '/etc/carbonio/message-dispatcher/sql-scripts/migrations//6.0.0.sql'

Rules:
{
"key_prefix": [
{
"carbonio-message-dispatcher/": {
"policy": "write"
},
"carbonio-message-dispatcher-db/": {
"policy": "read"
}
}
],
"node_prefix": [
{
"": {
"policy": "read"
}
}
],
"service": [
{
"carbonio-message-dispatcher-xmpp": {
"policy": "write"
},
"carbonio-message-dispatcher-http": {
"policy": "write"
},
"carbonio-message-dispatcher-auth": {
"policy": "write"
},
"carbonio-message-dispatcher-http-sidecar-proxy": {
"policy": "write"
},
"carbonio-message-dispatcher-xmpp-sidecar-proxy": {
"policy": "write"
},
"carbonio-message-dispatcher-auth-sidecar-proxy": {
"policy": "write"
}
}
]
}

Config entry written: service-defaults/carbonio-message-dispatcher-http
Config entry written: service-intentions/carbonio-message-dispatcher-http
Config entry written: service-defaults/carbonio-message-dispatcher-xmpp
Config entry written: service-intentions/carbonio-message-dispatcher-xmpp
Carbonio Message Dispatcher database password not found.
Please install carbonio-message-dispatcher-db and run carbonio-message-dispatcher-db-bootstrap command.
Script for Message Dispatcher terminated with error
Setup script failed, keeping it

I have waited to run the above command as stated in the comments and also added the CR to /etc/carbonio/message-dispatcher/sql-scripts/migrations//6.0.0.sql and nothing seems to work. I would appreciate any support you can provide. Thx in advance

 


   
ReplyQuote
(@mm4rt1n3z)
Joined: 2 months ago
Posts: 2
 

@sharif I have also tried all of your recommendations and I still run into the same issue, I will be happy to help with more debugging :thumbsup

sudo PGPASSWORD=pwd carbonio-message-dispatcher-db-bootstrap carbonio_adm 127.0.0.1
Database: 127.0.0.1:5432 user carbonio_adm
Error connecting to Consul agent: Error loading token file: open /etc/carbonio/message-dispatcher-db/service-discover/token: no such file or directory

   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 385
Topic starter  

@mm4rt1n3z 

Hi,

I tested again and found all steps executed without any issues.

Let's dig this out.

Could you please share the output of the below-mentioned commands:

# systemctl status postgresql*

# systemctl status service-discover.service

 

part of the log from my test for your reference:

root@vmi1357146:~# apt install carbonio-message-dispatcher-db -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-62 linux-headers-5.4.0-62-generic linux-image-5.4.0-62-generic linux-modules-5.4.0-62-generic linux-modules-extra-5.4.0-62-generic
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  carbonio-message-dispatcher-db
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,654 B of archives.
After this operation, 6,144 B of additional disk space will be used.
Get:1  https://repo.zextras.io/release/ubuntu  focal/main amd64 carbonio-message-dispatcher-db amd64 0.2.0-1ubuntu [3,654 B]
Fetched 3,654 B in 0s (13.8 kB/s)
Selecting previously unselected package carbonio-message-dispatcher-db.
(Reading database ... 167963 files and directories currently installed.)
Preparing to unpack .../carbonio-message-dispatcher-db_0.2.0-1ubuntu_amd64.deb ...
Unpacking carbonio-message-dispatcher-db (0.2.0-1ubuntu) ...
Setting up carbonio-message-dispatcher-db (0.2.0-1ubuntu) ...
======================================================
Carbonio Message Dispatcher DB installed successfully!
You must run pending-setups to configure it correctly.
======================================================
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# pending-setups -a
Insert the cluster credential password:

Executing all setup scripts...

--------------------------------------------------------------------------------
Executing /etc/zextras/pending-setups.d/carbonio-message-dispatcher-db-setup.sh
Insert the cluster credential password:
Config entry written: service-defaults/carbonio-message-dispatcher-db
Config entry written: service-intentions/carbonio-message-dispatcher-db
Configuration reload triggered
Setup successful, moving carbonio-message-dispatcher-db-setup.sh to /etc/zextras/pending-setups.d/done/
--------------------------------------------------------------------------------

There are no pending-setups to run. Exiting!
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-db-bootstrap carbonio_adm 127.0.0.1                                                                                                                                Database: 127.0.0.1:5432 user carbonio_adm
Success! Data written to: carbonio-message-dispatcher-db/db-name
Success! Data written to: carbonio-message-dispatcher-db/db-username
Success! Data written to: carbonio-message-dispatcher-db/db-password
CREATE ROLE
CREATE DATABASE
Database initialization completed.
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# apt install carbonio-message-dispatcher -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-62 linux-headers-5.4.0-62-generic linux-image-5.4.0-62-generic linux-modules-5.4.0-62-generic linux-modules-extra-5.4.0-62-generic
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  carbonio-erlang
The following NEW packages will be installed:
  carbonio-erlang carbonio-message-dispatcher
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 107 MB of archives.
After this operation, 346 MB of additional disk space will be used.
Get:1  https://repo.zextras.io/release/ubuntu  focal/main amd64 carbonio-erlang amd64 26.1.1-1ubuntu1~focal [52.1 MB]
Get:2  https://repo.zextras.io/release/ubuntu  focal/main amd64 carbonio-message-dispatcher amd64 0.12.0-1ubuntu1~focal [55.3 MB]
Fetched 107 MB in 9s (11.9 MB/s)
Selecting previously unselected package carbonio-erlang.
(Reading database ... 167973 files and directories currently installed.)
Preparing to unpack .../carbonio-erlang_26.1.1-1ubuntu1~focal_amd64.deb ...
Unpacking carbonio-erlang (26.1.1-1ubuntu1~focal) ...
Selecting previously unselected package carbonio-message-dispatcher.
Preparing to unpack .../carbonio-message-dispatcher_0.12.0-1ubuntu1~focal_amd64.                                                                                                                                                         deb ...
Unpacking carbonio-message-dispatcher (0.12.0-1ubuntu1~focal) ...
Setting up carbonio-erlang (26.1.1-1ubuntu1~focal) ...
Setting up carbonio-message-dispatcher (0.12.0-1ubuntu1~focal) ...
======================================================
Carbonio Message Dispatcher installed successfully!
You must run pending-setups to configure it correctly.
======================================================
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# pending-setups -a
Insert the cluster credential password:

Executing all setup scripts...

--------------------------------------------------------------------------------
Executing /etc/zextras/pending-setups.d/carbonio-message-dispatcher.sh
Insert the cluster credential password:
Config entry written: service-defaults/carbonio-message-dispatcher-http
Config entry written: service-intentions/carbonio-message-dispatcher-http
Config entry written: service-defaults/carbonio-message-dispatcher-xmpp
Config entry written: service-intentions/carbonio-message-dispatcher-xmpp
Success! Data written to: carbonio-message-dispatcher/api/username
Success! Data written to: carbonio-message-dispatcher/api/password
Configuration reload triggered
=======================================================================================
Carbonio Message Dispatcher correctly set!
You must run carbonio-message-dispatcher-migration to check database consistency.
Syntax: [PGPASSWORD=password] carbonio-message-dispatcher-migration username [host] [port]
=======================================================================================
Setup successful, moving carbonio-message-dispatcher.sh to /etc/zextras/pending-setups.d/done/
--------------------------------------------------------------------------------

There are no pending-setups to run. Exiting!
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-migration carbonio_adm 127.78.0.10 20000
Checking of database schema... Done. Database is empty!
Initializing database... Success. The database has been updated.
Updating 'carbonio-message-dispatcher-db' grant... Success.
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# apt install carbonio-message-broker -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-62 linux-headers-5.4.0-62-generic linux-image-5.4.0-62-generic linux-modules-5.4.0-62-generic linux-modules-extra-5.4.0-62-generic
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  locales-all socat
The following NEW packages will be installed:
  carbonio-message-broker locales-all socat
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.8 MB of archives.
After this operation, 264 MB of additional disk space will be used.
Get:1  http://asi-fs-d.contabo.net/ubuntu  focal-updates/main amd64 locales-all amd64 2.31-0ubuntu9.14 [10.6 MB]
Get:2  https://repo.zextras.io/release/ubuntu  focal/main amd64 carbonio-message-broker amd64 0.1.3-1focal [15.8 MB]
Get:3  http://asi-fs-d.contabo.net/ubuntu  focal/main amd64 socat amd64 1.7.3.3-2 [323 kB]
Fetched 26.8 MB in 2s (12.1 MB/s)
Selecting previously unselected package locales-all.
(Reading database ... 175703 files and directories currently installed.)
Preparing to unpack .../locales-all_2.31-0ubuntu9.14_amd64.deb ...
Unpacking locales-all (2.31-0ubuntu9.14) ...
Selecting previously unselected package socat.
Preparing to unpack .../socat_1.7.3.3-2_amd64.deb ...
Unpacking socat (1.7.3.3-2) ...
Selecting previously unselected package carbonio-message-broker.
Preparing to unpack .../carbonio-message-broker_0.1.3-1focal_amd64.deb ...
Unpacking carbonio-message-broker (0.1.3-1focal) ...
Setting up locales-all (2.31-0ubuntu9.14) ...
Setting up socat (1.7.3.3-2) ...
Setting up carbonio-message-broker (0.1.3-1focal) ...
======================================================
Carbonio message broker installed successfully!
You must run pending-setups to configure it correctly.
======================================================
Processing triggers for man-db (2.9.1-1) ...
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# pending-setups -a
Insert the cluster credential password:

Executing all setup scripts...

--------------------------------------------------------------------------------
Executing /etc/zextras/pending-setups.d/carbonio-message-broker.sh
Insert the cluster credential password:
Config entry written: service-defaults/carbonio-message-broker
Config entry written: service-intentions/carbonio-message-broker
Configuration reload triggered
Success! Data written to: carbonio-message-broker/username
Success! Data written to: carbonio-message-broker/password
User carbonio-message-broker added
Success! Data written to: carbonio-message-broker/admin/username
Success! Data written to: carbonio-message-broker/admin/password
Setting tags for user "carbonio-message-broker-admin" to [administrator] ...
User carbonio-message-broker-admin added
Setup successful, moving carbonio-message-broker.sh to /etc/zextras/pending-setups.d/done/
--------------------------------------------------------------------------------

There are no pending-setups to run. Exiting!
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# apt install carbonio-ws-collaboration-db -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-62 linux-headers-5.4.0-62-generic linux-image-5.4.0-62-generic linux-modules-5.4.0-62-generic linux-modules-extra-5.4.0-62-generic
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  carbonio-ws-collaboration-db
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,648 B of archives.
After this operation, 6,144 B of additional disk space will be used.
Get:1  https://repo.zextras.io/release/ubuntu  focal/main amd64 carbonio-ws-collaboration-db amd64 0.2.0-1ubuntu [3,648 B]
Fetched 3,648 B in 0s (16.4 kB/s)
Selecting previously unselected package carbonio-ws-collaboration-db.
(Reading database ... 184482 files and directories currently installed.)
Preparing to unpack .../carbonio-ws-collaboration-db_0.2.0-1ubuntu_amd64.deb ...
Unpacking carbonio-ws-collaboration-db (0.2.0-1ubuntu) ...
Setting up carbonio-ws-collaboration-db (0.2.0-1ubuntu) ...
============================================================
Carbonio Workstream Collaboration DB installed successfully!
You must run pending-setups to configure it correctly.
============================================================
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# pending-setups -a
Insert the cluster credential password:

Executing all setup scripts...

--------------------------------------------------------------------------------
Executing /etc/zextras/pending-setups.d/carbonio-ws-collaboration-db-setup.sh
Insert the cluster credential password:
Config entry written: service-defaults/carbonio-ws-collaboration-db
Config entry written: service-intentions/carbonio-ws-collaboration-db
Configuration reload triggered
Setup successful, moving carbonio-ws-collaboration-db-setup.sh to /etc/zextras/pending-setups.d/done/
--------------------------------------------------------------------------------

There are no pending-setups to run. Exiting!
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# PGPASSWORD=$DB_ADM_PWD carbonio-ws-collaboration-db-bootstrap carbonio_adm 127.0.0.1
Database: 127.0.0.1:5432 user carbonio_adm
Success! Data written to: carbonio-ws-collaboration-db/db-name
Success! Data written to: carbonio-ws-collaboration-db/db-username
Success! Data written to: carbonio-ws-collaboration-db/db-password
CREATE ROLE
CREATE DATABASE
Database initialization completed.
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# apt install carbonio-ws-collaboration-ce -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-62 linux-headers-5.4.0-62-generic linux-image-5.4.0-62-generic linux-modules-5.4.0-62-generic linux-modules-extra-5.4.0-62-generic
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  carbonio-ws-collaboration-ce
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.0 MB of archives.
After this operation, 31.6 MB of additional disk space will be used.
Get:1  https://repo.zextras.io/release/ubuntu  focal/main amd64 carbonio-ws-collaboration-ce amd64 0.3.5-1ubuntu [28.0 MB]
Fetched 28.0 MB in 2s (11.5 MB/s)
Selecting previously unselected package carbonio-ws-collaboration-ce.
(Reading database ... 184492 files and directories currently installed.)
Preparing to unpack .../carbonio-ws-collaboration-ce_0.3.5-1ubuntu_amd64.deb ...
Unpacking carbonio-ws-collaboration-ce (0.3.5-1ubuntu) ...
Setting up carbonio-ws-collaboration-ce (0.3.5-1ubuntu) ...
=========================================================
Carbonio Workstream Collaboration installed successfully!
You must run pending-setups to configure it correctly.
=========================================================
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~# pending-setups -a
Insert the cluster credential password:

Executing all setup scripts...

--------------------------------------------------------------------------------
Executing /etc/zextras/pending-setups.d/carbonio-ws-collaboration.sh
Insert the cluster credential password:
Config entry written: service-defaults/carbonio-ws-collaboration
Config entry written: service-intentions/carbonio-ws-collaboration
Configuration reload triggered
Success! Data written to: carbonio-ws-collaboration/configs/can-video-call
Success! Data written to: carbonio-ws-collaboration/configs/can-video-call-record
Success! Data written to: carbonio-ws-collaboration/configs/can-use-virtual-background
Success! Data written to: carbonio-ws-collaboration/configs/can-see-message-reads
Success! Data written to: carbonio-ws-collaboration/configs/can-see-users-presence
Success! Data written to: carbonio-ws-collaboration/configs/max-user-image-size-in-kb
Success! Data written to: carbonio-ws-collaboration/configs/max-room-image-size-in-kb
Success! Data written to: carbonio-ws-collaboration/configs/edit-message-time-limit-in-minutes
Success! Data written to: carbonio-ws-collaboration/configs/delete-message-time-limit-in-minutes
Success! Data written to: carbonio-ws-collaboration/configs/max-group-members
Success! Data written to: carbonio-ws-collaboration/broker/virtual-host
Success! Data written to: carbonio-ws-collaboration/broker/requested-heartbeat-in-sec
Success! Data written to: carbonio-ws-collaboration/broker/connection-timeout-in-milli
Success! Data written to: carbonio-ws-collaboration/broker/automatic-recovery-enabled
Success! Data written to: carbonio-ws-collaboration/broker/topology-recovery-enabled
Success! Data written to: carbonio-ws-collaboration/broker/network-recovery-interval
Success! Data written to: carbonio-ws-collaboration/hikari/min-pool-size
Success! Data written to: carbonio-ws-collaboration/hikari/max-pool-size
Success! Data written to: carbonio-ws-collaboration/hikari/idle-timeout
Success! Data written to: carbonio-ws-collaboration/hikari/leak-detection-threshold
Setup successful, moving carbonio-ws-collaboration.sh to /etc/zextras/pending-setups.d/done/
--------------------------------------------------------------------------------

There are no pending-setups to run. Exiting!
root@vmi1357146:~#
root@vmi1357146:~#
root@vmi1357146:~#

 

But if you want to do a fresh installation and try these sequence and let us know:

# Add Zextras repository

apt clean all
apt update && apt upgrade -y

sudo hostnamectl set-hostname mail.example.com

> /etc/hosts
echo "127.0.0.1 localhost" >> /etc/hosts
echo "$(hostname -i) $(hostname -f) $(hostname -s)" >> /etc/hosts

timedatectl set-timezone Asia/Dhaka

apt install postgresql-12 -y

read -s -p "Password:" DB_ADM_PWD

su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password '$DB_ADM_PWD';\""
su - postgres -c "psql --command=\"CREATE DATABASE carbonio_adm owner carbonio_adm;\""

systemctl restart postgresql

apt install service-discover-server carbonio-directory-server carbonio-files-db \
carbonio-mailbox-db carbonio-docs-connector-db carbonio-tasks-db carbonio-proxy carbonio-webui carbonio-files-ui \
carbonio-tasks-ui carbonio-files-public-folder-ui \
carbonio-user-management carbonio-mta carbonio-appserver \
carbonio-storages-ce carbonio-files-ce carbonio-preview-ce \
carbonio-docs-connector-ce carbonio-tasks-ce carbonio-docs-editor carbonio-prometheus -y

carbonio-bootstrap

service-discover setup-wizard

pending-setups -a

PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1

PGPASSWORD=$DB_ADM_PWD carbonio-tasks-db-bootstrap carbonio_adm 127.0.0.1

apt install carbonio-message-dispatcher-db -y
pending-setups -a
PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-db-bootstrap carbonio_adm 127.0.0.1

apt install carbonio-message-dispatcher -y
pending-setups -a
PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-migration carbonio_adm 127.78.0.10 20000

apt install carbonio-message-broker -y
pending-setups -a

apt install carbonio-ws-collaboration-db -y
pending-setups -a
PGPASSWORD=$DB_ADM_PWD carbonio-ws-collaboration-db-bootstrap carbonio_adm 127.0.0.1

apt install carbonio-ws-collaboration-ce -y
pending-setups -a

apt install carbonio-videoserver-ce -y
pending-setups -a

apt install carbonio-ws-collaboration-ui -y
su - zextras -c "carbonio prov mc default carbonioFeatureChatsEnabled TRUE"

systemctl enable carbonio-tasks
systemctl restart carbonio-tasks
systemctl enable carbonio-videoserver
systemctl restart carbonio-videoserver
systemctl restart carbonio-prometheus-nginx-exporter.service


consul members
su - zextras -c "zmcontrol -v"
su - zextras -c "zmcontrol restart"
su - zextras -c "zmcontrol status"
systemctl list-units carbonio*

reboot now

After reboot restart these services:

systemctl restart carbonio-message-broker
systemctl restart carbonio-videoserver
systemctl restart carbonio-ws-collaboration
systemctl restart carbonio-message-dispatcher

 

 

Regards,

Sharif


   
ReplyQuote
Page 2 / 3