I deleted the user coursofrancesco, and the database with the same name. Then the installation went on and completed. Then this is what happened:
So i completed the installation and got a positive message. It did not show any error, completed the process step by step, then said "done" disconnecting. I had followed this tutorial https://perezprogramming.com/blog/deploy-mezzanine-to-ubuntu-14-server-on-digitalocean-with-fabric/ However, i previously had a local mezzanine site so i had to create new role (postgres) with a new database. The problem is that i restarted the server a couple times and saw "Internal Server Error" on the frontend. I went on to do sudo nginx -t It said that everything was ok. I am confused. On Sunday, September 24, 2017 at 2:40:11 AM UTC-2:30, francois lemestre wrote: > > > Hi There, thanks for replying. Here is the error that i get. I kept > trying. My problem may be the fact that it tries to create a user that is > "coursofrancesco" which i neve actually tried to create but which in fact > is the name of the mezzanine project that i m trying to put online. > > I first followed this > https://perezprogramming.com/blog/deploy-mezzanine-to-ubuntu-14-server-on-digitalocean-with-fabric/ > > regularly as is. It worked quite well but since i already developped my > website locally with the default sqlite, i could not use it. So i tried > using the existing dev.db database. I got an error as fabfile seems to > request a db with a password and tries to create a user somehow. So i > decide to just go on and start a brand new postgres db. Unlucky for the > past couple days. > > Frustrated. > > > > > > On Sunday, September 24, 2017 at 12:47:21 AM UTC-2:30, Eduardo Rivas wrote: >> >> What happens when you run "fab deploy"? >> >> On 2017-09-23 12:07 PM, francois lemestre wrote: >> >> >> hello there, >> >> i have developped my website locally and asap it was ready i decided to >> deploy it on Digitalocean. however, most of the tutorials i find, talk >> about creating a new project. but i don't want to create a new project >> because i already have the website and just want to deploy it. The big >> dilema is how do i that? Wher do i put my code. I had the fabfile setup >> like this >> >> FABRIC = { >> "DEPLOY_TOOL": "rsync", # Deploy with "git", "hg", or "rsync" >> "SSH_USER": "created_user", # VPS SSH username >> "HOSTS": ["digitalocean ip"], # The IP address of your VPS >> "DOMAINS": ALLOWED_HOSTS, # Edit domains in ALLOWED_HOSTS >> "REQUIREMENTS_PATH": "requirements.txt", # Project's pip requirements >> "LOCALE": "en_US.UTF-8", # Should end with ".UTF-8" >> "DB_PASS": "dbpass", # Live database password >> "ADMIN_PASS": "user_pass", # Live admin user password >> "SECRET_KEY": SECRET_KEY, >> "NEVERCACHE_KEY": NEVERCACHE_KEY, >> } >> >> I did not forget to add allowed hosts either. However, I just don't know >> where to put my existing project. Somebody help please, i m so frustrated. >> >> -- >> 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 [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
