Coder Social home page Coder Social logo

502 Bad Gateway nginx/1.6.2 about diaspora_ynh HOT 23 OPEN

anmol26s avatar anmol26s commented on September 27, 2024
502 Bad Gateway nginx/1.6.2

from diaspora_ynh.

Comments (23)

aymhce avatar aymhce commented on September 27, 2024

Hello,
Sorry, the starting time is long. Have you wait 5/10 minutes for Diaspora startup ? What have you in the logs /var/www/diaspora/log/ ? especially in startscript.log.

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

Yes I have waited long but still it show 502 bad gateway.
This is the installation log. https://datamol.in/zerobin/?08b054b1374902bd#gVbgWygSXcMMMF/TJCpNPUDBbyLanx1gS/3cQIDTQgk=
I do not have any log file in /var/www/diaspora/log/ .

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

The /etc/nginx/conf.d/pod.datamol.in has tthis line
root /var/www/diaspora//public;
Isn't it be root /var/www/diaspora/public; ?
With only one / in public.

from diaspora_ynh.

aymhce avatar aymhce commented on September 27, 2024

Thank you for log file. For the double /, it does not matter . However, the problem (from the log) is a GEM component that is not installed (network or server outage). Unfortunately, you have to reinstall the app from "scratch". Can you try please?

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

Still 502 bad gateway :(
My server gets error every time it connection to https://rubygems.org
https://datamol.in/zerobin/?65e7013f64534ace#3pPhkT4n4DStsB5SMIHYKg8L0RJBWM3J5OCtB/Ax8tc=
I have read in a blog that https://rubygems.org gives problem sometime but with http it do not.
Is there a solution for that ?

from diaspora_ynh.

aymhce avatar aymhce commented on September 27, 2024

Ok, I have updated install script (add --retry 5 for connections). Can you retry a installation from "scratch" please ?

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

Thanks for updating it,but it fails still.
https://datamol.in/zerobin/?613d04666f1e9da4#BsIvSGQyuCsIYDfrgcqtCjKd++FYd4skPiJVyUwn9rQ=
:(

from diaspora_ynh.

aymhce avatar aymhce commented on September 27, 2024

Haaa, this time it is a sudo right problem. The problem is that the Diaspora GEM components change continuously. In this case, a GEM has used sudo to install it, but diapora user can't use it at this step... I had edit the install script. So you can try again please ?

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

Rubygems are still not installing.I think its permission issue still there.
https://datamol.in/zerobin/?fadd76f80c888954#8fnx+Bdi6LM3YHQ9e+bOgF8n6kCoOkd6ZNfcZDmyQkA=

from diaspora_ynh.

aymhce avatar aymhce commented on September 27, 2024

Arf, I think your server have a network mistake... Now it's RVM who's not installed. So I have added a retry connection on "curl". So, I'm sorry, can you retry installation again ?

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

Still no luck :(
https://datamol.in/zerobin/?7b3f78c52fe0b92f#gRXRI//Rx8vLSLnM2lbShz9/gVA+YvwrYEdH89Li78o=

from diaspora_ynh.

aymhce avatar aymhce commented on September 27, 2024

I think this is the last chance. Also I think your server have a network issue. Can you retry install please ?

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

There is still error in connectivity, I don't know why
https://datamol.in/zerobin/?0a400ddfcd687ab2#mT0Vm+Caz/GPoqIV51+Prp3P/ljHPHFP3K7r8LG8gUA=
I will move to your FRIENDICA project

from diaspora_ynh.

aymhce avatar aymhce commented on September 27, 2024

Ok, i have added a correction on my last commit. You can test it when your are ready.

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

Thank you at last it worked. It was because of your effort that it worked in the end.
But after creating user the system was getting unstable. It needed more resources I think.
I am on a single core AMD processor.
In the end it started showing gateway time out error. I waited for around five hours. All other apps started to slow down too and the everything became slow to respond.
So for now I have removed it and installed FRIENDICA which is one of your other yuno bundle too and works great.
Thanks

from diaspora_ynh.

aymhce avatar aymhce commented on September 27, 2024

Ok thanks. It's sad, Diaspora is a good solution, better than Friendica, I think. But Friendica is good as well. Just Diaspora has a large community and is surging. Also, it true, Diaspora is heavy. Friendica is technically simpler and is full of functionality, only, I feel that it'll being abandoned... See you soon

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

HI again
After successful installation of diaspora,It stop working and gave 502 bad gateway again.
I installed the ssl key on the domain after the installation of diaspora.
log: https://datamol.in/zerobin/?fcfffe5b6f14e871#/uqaHpwlHV5GoM4wDAGLbdVma3Ey8MLXHY+o/S1zMl8=

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

Here is the installation log https://datamol.in/zerobin/?78a4e0d21d07b341#UQWNxQmZan9MB+LQzj49/uw5e5JvBS8qM+gOjvkHRj4=

and another log
https://datamol.in/zerobin/?7a0ead0457e9929c#YuUg6Bm2fS0DmDjK8k8XOzdsTrkJOnnihxRahEvUuMk=

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

Can you fix it again please. There is still errors in rubygems.

from diaspora_ynh.

aymhce avatar aymhce commented on September 27, 2024

Hello, I don't know if you by pass this issue from this log file https://datamol.in/zerobin/?fcfffe5b6f14e871#/uqaHpwlHV5GoM4wDAGLbdVma3Ey8MLXHY+o/S1zMl8=

Regarding the other logs, I'll increase --retry option for network mistakes.

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

Hi
This is the log https://datamol.in/zerobin/?104fc45fb339de1b#6XGIa8wRPo6jfU+WIoh6NLyq8Mv6M3SmUe238AGvVjA=

I don't know why rubygems gives error. Its only one time that they have installed correctly.

from diaspora_ynh.

anmol26s avatar anmol26s commented on September 27, 2024

I think my port 443 is being blocked.
Can you please change the sources to port 80 and to http:// ?

from diaspora_ynh.

aymhce avatar aymhce commented on September 27, 2024

Can you find a solution for unlocking your port 443 ? I can't easily help you on that...

from diaspora_ynh.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.