summaryrefslogtreecommitdiffstats
path: root/doc/install/Troubleshooting.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/install/Troubleshooting.md')
-rw-r--r--doc/install/Troubleshooting.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/install/Troubleshooting.md b/doc/install/Troubleshooting.md
index b264b60f4..14b931ec6 100644
--- a/doc/install/Troubleshooting.md
+++ b/doc/install/Troubleshooting.md
@@ -38,10 +38,10 @@ The following is a list of common error messages and solutions:
###### `We received an unexpected status code from the server (200)`
- If you have upgraded from a pre-released version of GitLab Mattermost or if an unforseen issue has arrisen during the [upgrade procedure](https://github.com/mattermost/platform/blob/master/doc/install/Upgrade-Guide.md), you may be able to restore Mattermost using the following procedure:
- - Stop Mattermost, so DB can be dropped
+ - `sudo stop mattermost`, so DB can be dropped
- `sudo gitlab-ctl reconfigure`
- `sudo -u gitlab-psql /opt/gitlab/embedded/bin/dropdb -h /var/opt/gitlab/postgresql mattermost_production`
- - Start Mattermost
+ - `sudo start mattermost`
- `sudo gitlab-ctl reconfigure`
- [Manually set up GitLab SSO](https://github.com/mattermost/platform/blob/master/doc/integrations/Single-Sign-On/Gitlab.md) by copying Secret and ID into `/var/opt/gitlab/mattermost/config.json`
- `sudo gitlab-ctl restart`