Coder Social home page Coder Social logo

Deployment problems about cabot HOT 10 CLOSED

arachnys avatar arachnys commented on August 22, 2024
Deployment problems

from cabot.

Comments (10)

romankor avatar romankor commented on August 22, 2024

Has anyone look at that even ? Is that project still alive ?

from cabot.

dbuxton avatar dbuxton commented on August 22, 2024

Hi @Pfeffer-Kopf it looks like you're having a generic Django issue rather than an issue with the project per se. I suspect there's a problem with your Django installation. Try nuking the virtualenv and starting again?

The installer should work on AWS but it's only tested on digitalocean - you might want as an alternative to try https://github.com/shoonoise/cabot-docker which is a dockerized version.

from cabot.

romankor avatar romankor commented on August 22, 2024

I have the same problem on digital ocean. I have not really experience with python or django and it makes it very hard for me to fix that issue manually , I really wanted to use that awesome product , maybe you guys can give it a spin a try to deploy it on fresh ubuntu 12.04

from cabot.

dbuxton avatar dbuxton commented on August 22, 2024

I just tried it using the instructions from this page http://cabotapp.com/qs/quickstart.html and it works for me (although the precise arguments to tugboat have changed, I got it to work with tugboat create cabot --size=66 --image=3101045 --region=1)

I wasn't able to replicate the issue you are describing; I don't know what's up but I'm afraid this doesn't look like a Cabot-specific issue...

from cabot.

romankor avatar romankor commented on August 22, 2024

this image exists only in region 3 ... so --region=3

from cabot.

romankor avatar romankor commented on August 22, 2024

Guys that is pretty frustrating , i cant imagine that the problems are somehow connected to me specifically and we really wonted to use your product in our company.
i have created a new instance with tugboat create cabot --size=66 --image=3101045 --region=3

Here is full log of the deploy process : https://gist.github.com/romankor/e1b39e2d26185da2b17b

Thanks in advance

from cabot.

dbuxton avatar dbuxton commented on August 22, 2024

Hi @romankor - understand your frustration with not having a one-command deploy mechanism (fwiw that is something that #41 is trying to solve) - I don't exactly know what's wrong here but I notice that you're running the fab deploy command as root - in the demo provision/deploy workflow we have, we provision the servers as root but in that process create an ubuntu user and use that for fab deploy.

I do appreciate that's a weird thing to do and it's not how we ideally would, it's simply a result of our own legacy workflow stuff where we used to use ubuntu for everything (on EC2) and then moved to a more complex mixture of platforms, many of which give you root by default.

Try the process following the exact sequence of steps on the Quickstart - especially paying attention to usernames for ssh - and let me know if that works.

I'm sure you can appreciate that we want to make this project as useful as possible to others but it's a real tool that we built for real internal use at Arachnys and so some deployment stuff could definitely be better/clearer.

from cabot.

romankor avatar romankor commented on August 22, 2024

Ok thanks , that is all highly unusual !
Now i want to run the deploy though the ubuntu user and i am being asked for a password , although i create the droplet on digital ocean with an ssh-key and without any passwords ? Do you have any idea what it might be ?

from cabot.

dbuxton avatar dbuxton commented on August 22, 2024

I'm sorry I really can't help you debug random SSH issues. You need to make sure that your local ssh key is in the ubuntu user's .ssh/authorized_keys, which fab provision should do for you (https://github.com/arachnys/cabot/blob/master/bin/setup_dependencies.sh#L24) in order to have passwordless login.

from cabot.

romankor avatar romankor commented on August 22, 2024

I somehow managed to install it on a EC2 instance , although all the upstart processes where not working , and i had to manually start the processes.

from cabot.

Related Issues (20)

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.