Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Fail on Ubuntu 20.04 #63

Open
Jacques-Decidim opened this issue Sep 13, 2020 · 6 comments
Open

Install Fail on Ubuntu 20.04 #63

Jacques-Decidim opened this issue Sep 13, 2020 · 6 comments

Comments

@Jacques-Decidim
Copy link

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

@microstudi
Copy link
Contributor

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?

@Jacques-Decidim
Copy link
Author

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

@microstudi
Copy link
Contributor

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

@Jacques-Decidim
Copy link
Author

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
Copy link
Author

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

@microstudi
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants