[Carbonio CE] Quest...
 
Notifications
Clear all

[Carbonio CE] Questionable installation instructions

3 Posts
2 Users
0 Reactions
85 Views
(@csylvain)
New Member
Joined: 4 years ago
Posts: 11
Topic starter  

Hello,
Yesterday I tried to install from this documentation: https://docs.zextras.com/carbonio-ce/html/install/scenarios/single-server-scenario.html

Except it turned out to be a failure:

Failed! Cannot run script file '/etc/carbonio/message-dispatcher/sql-scripts/migrations//6.0.0.sql'

I had to modify the bash "message-dispatcher" to remove a trailing slash from a variable value.

Then, a big debate about this IP address that appears out of nowhere: 127.78.0.10
The staff is constantly asking where this IP address comes from, it's in the documentation ! (see above).

So what should we put, this IP, our Public IP, or Local IP ?

I later discovered this thread, but it shows the same errors: https://community.zextras.com/forum/carbonio-setup/fresh-installation-of-carbonio-ce-23-12-0-workstream-collaboration/
I just saw that there are 5 pages with nothing but errors, so I wanted to start this thread to see if it's possible to install Carbonio CE today, as I don't want to spend another day on it.

This topic was modified 2 weeks ago by CSylvain

   
Quote
(@sharif)
Estimable Member Admin
Joined: 3 years ago
Posts: 673
 

@

Could you please execute following manually and use the DB_ADM_PWD value you set/get from the script:

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

About the IP (127.78.0.10), it is an internal IP used by the service to connect with the database. You would find some internal IP like this in the system which are mainly used by the consul service. 

Meanwhile, I will try to check the error.

regards,


   
ReplyQuote
(@csylvain)
New Member
Joined: 4 years ago
Posts: 11
Topic starter  
PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-migration carbonio_adm 127.78.0.10 20000
Checking of database schema... Done. The database is already updated.

For your information, I reformatted the server and tried again using the installation script that can be downloaded from the documentation.
Instead of running it, I followed it line by line to ensure an error-free installation.

The command: systemctl status carbonio-*
It doesn't give me any errors, everything is green, but I still get this 502 error from the Firefox console:

6071/zx/login/supported
HTTP ERROR 502
Problem accessing upstream server.
Cannot connect to the upstream server.
Connection is refused.

If I'm not mistaken, this error comes from the Nginx proxy, which is unable to receive a response from this local IP and port: 127.78.0.16:20000

   location ^~ /zx/login/

    {

        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

        proxy_set_header X-Forwarded-Proto $scheme;

        proxy_set_header X-Forwarded-Port $server_port;

        proxy_set_header Host $http_host;

        proxy_http_version 1.1;

        proxy_pass  http://carbonio-auth/zx/login/; 

    }

    upstream carbonio-auth

    {

        server 127.78.0.1:20008 fail_timeout=10s;

    }

 

However, I see it with the following command (netstat -tanpu | grep 20008):

tcp 0 0 127.78.0.1:20008 0.0.0.0:* LISTEN 3895/envoy

I also don't have an active firewall under this Ubuntu 22.04 installation.

This post was modified 2 weeks ago by CSylvain

   
ReplyQuote