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

Server Migration #9692

Closed
devsubngrill opened this issue Jun 27, 2024 · 9 comments
Closed

Server Migration #9692

devsubngrill opened this issue Jun 27, 2024 · 9 comments
Labels
feature-request This label is used to track new features which is a significant change to existing product self-hosted Issues about self-hosted Chatwoot installations

Comments

@devsubngrill
Copy link

Is your feature or enhancement related to a problem? Please describe.

On many occasions, as always, you start with something small, a small server with the minimum requirements but as you grow and need expansion, everything changes and chatwoot is an essential piece for customer service but it lacks an option to migrate from one server to another, only I offered in a documentation how to migrate the database to a remote one in AWS, but what happens if you want to change the server application, what is the process but first, is it possible or not? Then what are the steps to follow to migrate the documentation does not say anything about that process, so I think it must have a migration option to migrate the application from one server to another.

An application of such great caliber as Chatwoot lacks a function that is so necessary that when you grow, you not only change the database but also the server,

Why is it very important because if you host your application for example in Contabo and then you grow and your database is in AWS there may be latency so you need to move the application to where the database is but how do you do it? If there is no documentation, whether it is possible or not.

thank you so much

Describe the solution you'd like

describe above

Describe alternatives you've considered

No response

Additional context

No response

@devsubngrill devsubngrill added the feature-request This label is used to track new features which is a significant change to existing product label Jun 27, 2024
Copy link

linear bot commented Jun 27, 2024

PR-1186 Server Migration

@iammattmartin
Copy link

It is possible and we've done it twice. Running your own server requires at least some already gained knowledge on how to do this. There is nothing special about the process and it is very simple to do.

@devsubngrill
Copy link
Author

devsubngrill commented Jul 2, 2024

@iammattmartin Yes, I have my own server but my question is if it is possible to migrate, for example from Contabo to EC2 Server in AWS for an application that is already in production, since the database would be migrated to AWS but the application I also want to migrate to AWS There where I have doubts and if you have done it, what are the steps if it is possible to know? I currently use Ubuntu 24.04

@vishnu-narayanan
Copy link
Member

@devsubngrill

  1. Bring the application down.
  2. Migrate the database to AWS
  3. Set up a new installation on AWS. Once the installation is complete, use your original installation's .env file.
  4. Restart your chatwoot servers on AWS.

I think you should try it out on a test instance to familiarize yourself with the process. As Matt shared, it is pretty straightforward. Please make sure your new server can access all the resources your original installation has access to.

@devsubngrill
Copy link
Author

@vishnu-narayanan Thanks for your reply and this option work with Ubuntu or with Docker ? Because my installation is in Ubuntu thanks for your reply!

@vishnu-narayanan
Copy link
Member

@devsubngrill This will work for all types of chatwoot installations.

@devsubngrill
Copy link
Author

@vishnu-narayanan Thanks all for you reply and help me 🙏🏼

@pranavrajs pranavrajs added the self-hosted Issues about self-hosted Chatwoot installations label Jul 8, 2024
@vishnu-narayanan
Copy link
Member

vishnu-narayanan commented Jul 15, 2024

Please reopen/open a new issue if you have any specific questions.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request This label is used to track new features which is a significant change to existing product self-hosted Issues about self-hosted Chatwoot installations
Projects
None yet
Development

No branches or pull requests

4 participants