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

Help Wanted: Request for Documentation: Migration from a PostgreSQL on-prem install to Omnibus #4717

Open
mm-cloud-bot opened this issue Jul 9, 2021 · 0 comments

Comments

@mm-cloud-bot
Copy link

Mattermost user miguel.delacruz from https://community-daily.mattermost.com has requested the following be documented:

hi @colton.shaw! There are a couple of changes I'd make to the process, just to ease the migration and include the specific configuration properties that are managed by Omnibus:
 1. Migrate the `config.json` to database in the origin server following the guide you provided. This way the configuration will be included in the database migration already
 2. Install Omnibus in the destination server. Stop the mattermost service with `sudo systemctl stop mattermost` before continuing.
 3. Migrate the existing postgres database. Username and password for the database in the destination machine can be found in `/etc/mattermost/mmomni.yml`, and the database that Omnibus created should be cleaned before importing the new one (or replaced during import)
 4. Manually set the necessary properties in `/etc/mattermost/mmomni.yml`. The [configuration properties listed here](https://docs.mattermost.com/install/mattermost-omnibus.html#configuring-mattermost-omnibus) need to be set in the `mmomni.yml` file to the values that the origin server had, currently those are `ServiceSettings.SiteURL`, `PluginSettings.EnableUploads` and `ServiceSettings.EnableLocalMode`
 5. Run `sudo mmomni reconfigure` to apply the new configuration values and restart the server

This is currently an experimental process, so please let me know if anything doesn't go as planned or I can help further with it

See the original post here.

This issue was generated from Mattermost using the Doc Up plugin.

@cwarnermm cwarnermm changed the title Request for Documentation: Migration from a PostgreSQL on-prem install to Omnibus Help Wanted: Request for Documentation: Migration from a PostgreSQL on-prem install to Omnibus Jan 17, 2022
@cwarnermm cwarnermm removed the Hacktoberfest null label Jan 17, 2022
@cwarnermm cwarnermm removed the Hacktoberfest null label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants