Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker: unable to run initial migrations #5670

Open
bonny1992 opened this issue Oct 18, 2022 · 2 comments
Open

Docker: unable to run initial migrations #5670

bonny1992 opened this issue Oct 18, 2022 · 2 comments
Assignees
Labels
self-hosted Issues about self-hosted Chatwoot installations

Comments

@bonny1992
Copy link

bonny1992 commented Oct 18, 2022

Describe the bug

Seems to be a really close issue to #4969 , while following the instructions on https://www.chatwoot.com/docs/self-hosted/deployment/docker/#steps-to-deploy-chatwoot-using-docker-compose
I can't get the migrations running as I get presented by

+ exec bundle exec rails db:chatwoot_prepare
bundler: command not found: rails
Install missing gem executables with `bundle install`

To Reproduce

Steps to reproduce the behavior:

  1. Follow the instruction until it's needed to run migrations
  2. docker-compose run rails ...

Expected behavior

Migration done easily.

Environment

I'm trying to self-hosting this on Docker, latest version of the image, but I tried with a bunch of "normal" and -ce versions but to no avail.

Desktop (please complete the following information):

  • OS: Ubuntu 18.04.6 LTS

Additional context

Docker version is 19.03.13, build 4484c46d9d
Docker-compose version is v2.11.2

I tried even the July version but to no avail, and my docker version should be enough?

@pranavrajs pranavrajs added the self-hosted Issues about self-hosted Chatwoot installations label Oct 19, 2022
@vishnu-narayanan
Copy link
Member

Could you please try again after updating docker and docker-compose?

ref: https://www.chatwoot.com/docs/self-hosted/deployment/docker#pre-requisites

@bonny1992
Copy link
Author

Could you please try again after updating docker and docker-compose?

ref: https://www.chatwoot.com/docs/self-hosted/deployment/docker#pre-requisites

Indeed updating docker's version to the latest available (as of today, 20.10.10) made it work.

Any idea why it wasn't working with the version 19 trying the July (or even older) images? The other user said that the version 18 was enough to run it.

I had no issues with other updated Alpine-based images, but probably those were not using Ruby.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
self-hosted Issues about self-hosted Chatwoot installations
Projects
Status: In Progress
Development

No branches or pull requests

3 participants