decidim-install icon indicating copy to clipboard operation
decidim-install copied to clipboard

Install Fail on Ubuntu 20.04

Open Jacques-Decidim opened this issue 4 years ago • 6 comments

Hello, I try to install decidim on server Ubintu 20.4 and when i want to connect to my webSite, i can only see the nginx Welcome.

I can't connect to my web site decidim

Can you help me . I try install for a three times

Thanks

Jacques-Decidim avatar Sep 13 '20 19:09 Jacques-Decidim

Hi, please provide more information. What steps did you follow? what are the messages you received from each step? Are they errors in some log?

microstudi avatar Sep 14 '20 08:09 microstudi

Hello, my config :

Serveur Ubuntu 20.04 - IP : 192.168.1.130 Dossier DECIDIM : drwxrwxr-x 14 jacquesa jacquesa 4096 Sep 13 17:06 decidim-signes/

Dossier /home/jacquesa/ drwxrwxr-x 3 jacquesa jacquesa 4096 Sep 13 11:25 .bundle/ drwx------ 2 jacquesa jacquesa 4096 Sep 12 22:05 .cache/ drwxrwxr-x 3 jacquesa jacquesa 4096 Sep 13 07:02 .gem/ -rw-rw-r-- 1 jacquesa jacquesa 19 Sep 13 17:05 .gemrc -rw-rw-r-- 1 jacquesa jacquesa 64 Sep 13 12:36 .gitconfig drwxr-xr-x 3 jacquesa jacquesa 4096 Sep 13 13:16 .passenger/ -rw-r--r-- 1 jacquesa jacquesa 807 Feb 25 2020 .profile drwxrwxr-x 13 jacquesa jacquesa 4096 Sep 13 07:01 .rbenv/ drwxrwxr-x 14 jacquesa jacquesa 4096 Sep 13 17:06 decidim-signes/

Fichier : /etc/nginx/conf.d/mod-http-passenger.conf

Begin automatically installed Phusion Passenger config snippet

passenger_root /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini; passenger_ruby /home/jacquesa/.rbenv/shims/ruby;

End automatically installed Phusion Passenger config snippet

Fichier : /etc/nginx/sites-enabled/default server { listen 90 default_server; listen [::]:90 default_server; …. I modify nothing, only the port 90 .....

Fichier : /etc/nginx/sites-enabled/decidim.conf server { listen 80 default_server; listen [::]:80;

server_name _;
client_max_body_size 100M;

passenger_enabled on;
passenger_ruby /home/jacquesa/.rbenv/shims/ruby;

rails_env    production;
root         /home/jacquesa/decidim-signes/public;

}

http://192.168.1.130:90 —> OK i see hello of nginx

http://192.168.1.130 —> NO - Connect not possible

Thanks

Jacques-Decidim avatar Sep 14 '20 18:09 Jacques-Decidim

why are you using port 90? you should stick to 80 and 443. It's explained in the guide

microstudi avatar Sep 18 '20 15:09 microstudi

Hy, if i leave port 80 i only have the nginx page.

So i try to switch the default server (nginx) on 90 and the decidim server listen on 80

Jacques-Decidim avatar Sep 18 '20 18:09 Jacques-Decidim

Hi I try a new install and i have the same problem.

When i look to GemFile, i see that in your manual Decidim point to 0.21.0 and the new install point to 0.22.0

I modify Gemfile to point to 0.21.0 and it's ok for http://192.168.1.210

Why, i don(t understand ??

But when i want to use https://192.168.1.210 i have no response. It's a config i must update in NGINX ?

What i must do ?

Thanks

Jacques-Decidim avatar Sep 20 '20 17:09 Jacques-Decidim

you need a domain name to use ssh. Why are you using private ips?

microstudi avatar Nov 09 '20 10:11 microstudi