WHy does deploying mezzanine on digital ocean shows INternal service error?

28 views
Skip to first unread message

francois lemestre

unread,
Sep 24, 2017, 11:54:23 PM9/24/17
to Mezzanine Users
Hi everyone, I am desperate.

I tried to deploy mezanine, following this https://perezprogramming.com/blog/deploy-mezzanine-to-ubuntu-14-server-on-digitalocean-with-fabric/ but i got Internal service error.

I tried this also https://www.digitalocean.com/community/questions/deploying-django-mezzanine-using-fabric, same I got Internal service error.

I also tried the documentation of mezzanine. I got the same thing. However, my website works well locally and also when i create a virtualenv on the droplet. The problem appears when i do fab all


Please help me. Thanks


Eduardo Rivas

unread,
Sep 24, 2017, 11:59:49 PM9/24/17
to mezzani...@googlegroups.com

It looks like you've followed a third-party tutorial that has instructed you to install all the dependencies manually. Have you tried following the official Mezzanine tutorial? It will automate all the installation steps, including the dependency installation, database configuration, static files, etc.

Here's the link to the official tutorial: http://mezzanine.jupo.org/docs/deployment.html#tutorial

I suggest you wipe your Droplet and follow the steps shown there (you are in Case 1: Deploying to a brand new server). Read the instructions completely before starting, and if you encounter any errors please include a traceback and all the steps you followed until the problem appeared.

Good luck!

--
You received this message because you are subscribed to the Google Groups "Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

francois lemestre

unread,
Sep 25, 2017, 3:28:45 AM9/25/17
to mezzani...@googlegroups.com
Hi Eduardo,
The name of the project is coursofrancesco
Here is what i get now

pg_dump -FC coursofrancesco > /tmp/last.db ->

[104.131.97.134] out: sudo: unknown user: postgres
[104.131.97.134] out: sudo: unable to initialize policy plugin
[104.131.97.134] out:

Fatal error: sudo() received nonzero return code 1 while executing!

Requested: pg_dump -Fc coursofrancesco > /tmp/last.db
Executed: sudo -S -p 'sudo password:'  -u "postgres"  /bin/bash -l -c "cd / >/de                                                   v/null && pg_dump -Fc coursofrancesco > /tmp/last.db"

Aborting.
Disconnecting from 104.131.97.134... done.


To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Mezzanine Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mezzanine-users/LEMyi3HKk04/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mezzanine-users+unsubscribe@googlegroups.com.

Eduardo Rivas

unread,
Sep 25, 2017, 3:26:33 PM9/25/17
to mezzani...@googlegroups.com

On which part of the tutorial did that happen? What other commands did you run before that?

To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-use...@googlegroups.com.

francois lemestre

unread,
Sep 25, 2017, 4:18:26 PM9/25/17
to mezzani...@googlegroups.com
Hello,

This happened after i did "fab deploy"

Eduardo Rivas

unread,
Sep 25, 2017, 4:40:21 PM9/25/17
to mezzani...@googlegroups.com

Did you wipe your server and run "fab secure" and "fab all"? It sounds like you don't have Postgres installed.

To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-use...@googlegroups.com.

francois lemestre

unread,
Sep 25, 2017, 5:34:59 PM9/25/17
to mezzani...@googlegroups.com
I did wipe the server. Let me check again if Postgres was installed.

Thanks

francois lemestre

unread,
Oct 2, 2017, 10:47:54 AM10/2/17
to mezzani...@googlegroups.com
HI Eduardo,

I deleted the droplet again. Restarted all over.
i repeated the process over and over i got this "Failed to start A high performance web server and a reverse proxy server." when  i typed "systemctl status nginx.service"Inline image 1

Do you have an idea of what is happening?

error.png
Reply all
Reply to author
Forward
0 new messages