diff options
author | =Corey Hulen <corey@hulen.com> | 2015-10-27 23:01:32 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-10-27 23:01:32 -0700 |
commit | f0b209fee72251f6262fe3e70019cdf19c110e6c (patch) | |
tree | e95fc0238c74cbb5ee003092479c7f97e178706d /doc/install | |
parent | be0bf941bf91d632efc2bf035864c161b656f094 (diff) | |
parent | 570b54bbfc0151724aa10f61ca0beb4d38351cb9 (diff) | |
download | chat-f0b209fee72251f6262fe3e70019cdf19c110e6c.tar.gz chat-f0b209fee72251f6262fe3e70019cdf19c110e6c.tar.bz2 chat-f0b209fee72251f6262fe3e70019cdf19c110e6c.zip |
Merge branch 'master' into PLT-340
Diffstat (limited to 'doc/install')
-rw-r--r-- | doc/install/Administration.md | 7 | ||||
-rw-r--r-- | doc/install/Troubleshooting.md | 15 |
2 files changed, 15 insertions, 7 deletions
diff --git a/doc/install/Administration.md b/doc/install/Administration.md index 06151d81f..ee996088c 100644 --- a/doc/install/Administration.md +++ b/doc/install/Administration.md @@ -2,6 +2,13 @@ This document provides instructions for common administrator tasks +#### Important notes + +##### **DO NOT manipulate the Mattermost database** + - In particular, DO NOT delete data from the database, as Mattermost is designed to stop working if data integrity has been compromised. The system is designed to archive content continously and generally assumes data is never deleted. + +### Common Tasks + ##### Creating System Administrator account from commandline - If the System Administrator account becomes unavailable, a person leaving the organization for example, you can set a new system admin from the commandline using `./platform -assign_role -team_name="yourteam" -email="you@example.com" -role="system_admin"`. - After assigning the role the user needs to log out and log back in before the System Administrator role is applied. diff --git a/doc/install/Troubleshooting.md b/doc/install/Troubleshooting.md index 1c00de39a..7166f9978 100644 --- a/doc/install/Troubleshooting.md +++ b/doc/install/Troubleshooting.md @@ -12,18 +12,19 @@ - If the System Administrator account becomes unavailable, a person leaving the organization for example, you can set a new system admin from the commandline using `./platform -assign_role -team_name="yourteam" -email="you@example.com" -role="system_admin"`. - After assigning the role the user needs to log out and log back in before the System Administrator role is applied. -##### Deactivate a user - - - Team Admin or System Admin can go to **Main Menu** > **Manage Members** > **Make Inactive** to deactivate a user, which removes them from the team. - - To preserve audit history, users are never deleted from the system. It is highly recommended that System Administrators do not attempt to delete users manually from the database, as this may compromise system integrity and ability to upgrade in future. - #### Error Messages The following is a list of common error messages and solutions: ###### `Please check connection, Mattermost unreachable. If issue persists, ask administrator to check WebSocket port.` -- Message appears in blue bar on team site. Check that [your websocket port is properly configured](https://github.com/mattermost/platform/blob/master/doc/install/Production-Ubuntu.md#set-up-nginx-server). +- Message appears in blue bar on team site. +- **Solution:** Check that [your websocket port is properly configured](https://github.com/mattermost/platform/blob/master/doc/install/Production-Ubuntu.md#set-up-nginx-server). ###### `x509: certificate signed by unknown authority` in server logs when attempting to sign-up - - This error may appear when attempt to use a self-signed certificate to setup SSL, which is not yet supported by Mattermost. You can resolve this issue by setting up a load balancer like Ngnix. A ticket exists to [add support for self-signed certificates in future](x509: certificate signed by unknown authority). + - This error may appear when attempt to use a self-signed certificate to setup SSL, which is not yet supported by Mattermost. You + - **Solution:** Set up a load balancer like Ngnix [per production install guide](https://github.com/mattermost/platform/blob/master/doc/install/Production-Ubuntu.md#set-up-nginx-with-ssl-recommended). A ticket exists to [add support for self-signed certificates in future](x509: certificate signed by unknown authority). + +###### `panic: runtime error: invalid memory address or nil pointer dereference` + - This error can occur if you have manually manipulated the Mattermost database, typically with deletions. Mattermost is designed to serve as a searchable archive, and manual manipulation of the database elements compromises integrity and may prevent upgrade. + - **Solution:** Restore from database backup created prior to manual database updates, or reinstall the system. |