Loomio

Issue with installing (setting up db)

Adam PublicSeen by 340

Hi there, I have been following through the instructions to setup on DigitalOcean and have an issue when trying the following:

dokku run loomio rake db:setup

I get the following:
```
Unable to find image 'dokku/loomio:latest' locally
Pulling repository dokku/loomio
FATA[0001] Error: image dokku/loomio:latest not found

Unable to find image 'dokku/loomio:latest' locally
Pulling repository dokku/loomio
FATA[0001] Error: image dokku/loomio:latest not found

Any ideas?

mc0e

This sounds familiar, and if it's what I think it is, I'd meant to get round to reporting it. The instructions aren't all that clear about the order things need to be done in.

I think the following is correct - it's been a few weeks since I thought about it, and I haven't gone back through the process to check it.

When working through the [Install-Dokku ])https://github.com/loomio/loomio/wiki/Install-Dokku) page, you get to a point where it says to go off and install postgres and return when you are done. In fact things don't quite flow like that, because the rake command on the Install-PostgreSQ page needs to run inside a container which doesn't yet exist.

The container will be created when you run your git push, so run the rake command after that.

Robert Guthrie

Thank you @mc0e! I'm happy to update the docs to fix this.

Adam

Thank you. That seems to have done the trick. Cheers.

Robert Guthrie

I've updated the wiki to recommend pushing before adding the database. Thank you @adam16 and @mc0e