Quantcast
Channel: GitLab Mattermost - Mattermost Discussion Forums
Viewing all 168 articles
Browse latest View live

0 teams while upgrading girlab matermost with girlab 8.9

$
0
0

@techspawn wrote:

I have an instance of gitlab which when I installed, I set up mattermost but didn't use it at the time.Now that I've upgraded gitlab and plan to use it, I run the interactive upgrade but it says I have 0 teams (expected), but I can't do the upgrade because I can't choose any team for the script to keep running.

gitlab@gitlab:~/mattermost/bin$ sudo -u mattermost -i bash
mattermost@gitlab:~$ cd /opt/gitlab/embedded/service/mattermost
mattermost@gitlab:/opt/gitlab/embedded/service/mattermost$ /opt/gitlab/embedded/bin/mattermost -config='/var/opt/gitlab/mattermost/config.json' -upgrade_db_30

Please see http://www.mattermost.org/upgrade-to-3-0/
WARNING This upgrade process will be irreversible.
Have you performed a database backup? (YES/NO): YES
We found 0 teams.
Please pick a primary team from the list above:

Posts: 1

Participants: 1

Read full topic


Change user's email address (SSO with Gitlab)

$
0
0

@au-ee wrote:

Hi,

we have Gitlab Mattermost running here and are very happy with it. Our users only authenticate through Gitlab.

Now, we had to change a user's email address in Gitlab. Unfortunately the one used by Mattermost is still the old one. How can I trigger a sync or change it manually?

Thanks,

AU

Posts: 1

Participants: 1

Read full topic

Client authentication failed due to unknown client

$
0
0

@gregf wrote:

I went through the process of enabling mattermost in my gitlab install tonight. I configured it using a url, logged in saw it worked. Then decided that url wasn't great. I changed the url (domain) in /etc/gitlab/gitlab.rb and reconfigured gitlab with gitlab-ctl reconfigure. I then tried to login to mattermost using the new url.

It was redirecting me to a gitlab page saying the redirect url was invalid. After checking settings I decided to deauthorize the application in gitlab for my user and under the admin application settings.

Now when I try to login using a gitlab account I get the following error.

Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.

Anyone have ideas on how to resolve this?

Posts: 2

Participants: 2

Read full topic

Bad response from token request

$
0
0

@Jir4 wrote:

Hi guys,

I'm try to use my Gitlab Omnibus Mattermost but it's doesn't work at all.

Gitlab and Lattermost are both on a server B, and accessible via server A using an apache reverse proxy.

So both are reachable with there subdomain ( gitlab.mydomain.com and mattermost.mydomain.com ) on port 80 on server A and configure on different ports on server B ( here gitlab on 29280 and mattermost on 29281).

Here the conf :

gitlab.rb on server B

 external_url 'http://gitlab.mydomain.com'
 nginx['listen_port'] = 29280

 mattermost_external_url 'http://mattermost.mydomain.com'
 mattermost['enable'] = true
 mattermost['gitlab_enable'] = true
 mattermost['gitlab_id'] = "xxxxxx"
 mattermost['gitlab_secret'] = "yyyyy"
 mattermost['gitlab_scope'] = ""
 mattermost['gitlab_auth_endpoint'] = "http://gitlab.mydomain.com/oauth/authorize"
 mattermost['gitlab_token_endpoint'] = "http://gitlab.mydomain.com/oauth/token"
 mattermost['gitlab_user_api_endpoint'] = "http://gitlab.mydomain.com/api/v3/user"
 mattermost_nginx['listen_port'] = 29281

gitlab.conf from server A (apache conf)

<VirtualHost *:80>
    ServerName gitlab.mydomain.com

    ProxyRequests off
    ProxyPass / http://192.168.0.2:29280/ 
    ProxyPassReverse / http://192.168.0.2:29280/ 
    ProxyPreserveHost on

 </VirtualHost>

<VirtualHost *:80>
    ServerName mattermost.mydomain.com

    ProxyRequests off
    ProxyPass / http://192.168.30.5:29281/
    ProxyPassReverse / http://192.168.30.5:29281/
    ProxyPreserveHost on

    RewriteEngine On

    RewriteCond %{REQUEST_URI}  ^/api/v1/websocket    [NC,OR]
    RewriteCond %{HTTP:UPGRADE} ^WebSocket$           [NC,OR]
    RewriteCond %{HTTP:CONNECTION} ^Upgrade$          [NC]
    RewriteRule .* ws://192.168.0.2:29281%{REQUEST_URI}  [P,QSA,L]

    <Location /api/v1/websocket>
        Require all granted
        ProxyPassReverse ws://192.168.0.2:29281/api/vi/websocket
        ProxyPassReverseCookieDomain 192.168.0.2 mattermost.mydomain.com
    </Location>

    <Location /api/v1/websocket>
        Require all granted
        ProxyPassReverse ws://192.168.0.2:29281/api/vi/websocket
        ProxyPassReverseCookieDomain 192.168.0.2 mattermost.mydomain.com
    </Location>

</VirtualHost>

Anyone had an idea about how solve this ?

Posts: 1

Participants: 1

Read full topic

How to increase channel name length restriction?

$
0
0

@jdshkolnik wrote:

Hi,

Is there a way to increase the name limitation? When I try to create a channel called "Application Lifecycle Management" it stops after the second space (which is 22 chars, 20 in the URL).

Posts: 2

Participants: 2

Read full topic

Team Invite Link and GitLab

$
0
0

@B2RN wrote:

Summary

When disabling user/team creation in the System Console, inviting members gives "User creation has been disabled for your team. Please ask your team administrator for details." message. And there's no option to generate an invite link.

Steps to reproduce

Version is 3.3.0, GitLab is at 8.11.2.

  1. Create a team and auth via GitLab
  2. Disable user and team creation
  3. Click the three-dot menu in the team

No team invite link is given. And the above message is displayed when you try to "Invite Member"

No errors of any sort in the log file.

This could honestly be a misconfiguration on my part. But the "Invite Member" message is still off, since user creation shouldn't have to be enabled if you're going via GitLab.

Unless user creation is a process in which a GitLab auth-ed user gets a Mattermost account, in which case user creation should be enabled, but limited to GitLab?

Like I said, could just be a configuration issue on my part.

Cheers,
Juraj

Posts: 2

Participants: 2

Read full topic

Weird login page with no login button, menu, or anything

$
0
0

@dpasqualin wrote:

Summary

I've upgraded Gitlab install from source to omnibus. Everything works fine, except for Mattermost integration. I can enter the mattermost website, click on "Click here to sign in.", and then I get redirected to the page below. There are no errors in the browser or in the files /var/log/gitlab/mattermost/mattermost.log and /var/log/gitlab/nginx/gitlab_mattermost_error.log, but also there are no buttons or menu to do.. well... anything. Any idea what is going on? Thank you very much.

Mattermost configuration on gitlab.rb file

Here options set on my gitlab.rb config file:

mattermost['enable'] = true
mattermost['service_use_ssl'] = true
mattermost['sql_driver_name'] = 'postgres'
mattermost['sql_data_source'] = ''
mattermost['email_enable_sign_up_with_email'] = false
mattermost['email_enable_sign_in_with_email'] = false
mattermost_nginx['enable'] = true
mattermost_nginx['redirect_http_to_https'] = true
mattermost_nginx['ssl_certificate'] = 'cert_file'
mattermost_nginx['ssl_certificate_key'] = 'cert_file'

Gitlab version

Gitlab-ce 8.11.4

Posts: 4

Participants: 2

Read full topic

[Help Wanted] Update to GitLab Mattermost admin guide

$
0
0

@it33 wrote:

Some users upgrading Mattermost using GitLab omnibus automation are surprised that gitlab.rb overwrites Mattermost setting, e.g. https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1568#note_15134292

The GitLab Mattermost admin guide mentions this, but it's not prominent.

Wondering if someone from the GitLab Mattermost community could help update the guide to make things more clear--ideally someone who knows how GitLab admins think and where best to place the information so it'll be noticed.

A merge request can be opened directly on the documentation: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc//gitlab-mattermost/README.md

Posts: 1

Participants: 1

Read full topic


GitLab 8.8.9 -> 8.9.0 - Mattermost upgrade issue (invalid memory address or nil pointer)

$
0
0

@animedbz16 wrote:

Summary

Trying to upgrade from GitLab 8.8.9 to GitLab 8.9.0, which requires an update to Mattermost.

The update to mattermost seems to be failing on my end with an error that seems to indicate an invalid memory address or nil pointer?

https://docs.gitlab.com/omnibus/gitlab-mattermost/#upgrading-gitlab-mattermost-from-versions-prior-to-8.9

Is there a way I can manually consolidate database users myself via DB updates since at least in my case all users are GitLab users and I can be sure that we can consolidate everyone.

Steps to reproduce

[root@localhost /]# su - mattermost
-sh-4.1$ bash
bash-4.1$ /opt/gitlab/embedded/bin/mattermost -config='/var/opt/gitlab/mattermost/config.json' -upgrade_db_30
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: interface conversion: interface is runtime.errorString, not string
[signal 0xb code=0x1 addr=0x0 pc=0x78090f]

goroutine 1 [running]:
panic(0xcd1aa0, 0xc820015e40)
	/usr/local/go/src/runtime/panic.go:481 +0x3e6
main.doLoadConfig.func1(0xc820165d48)
	/var/lib/jenkins/jobs/mattermost-platform-release/workspace/src/github.com/mattermost/platform/mattermost.go:73 +0x6f
panic(0xccbec0, 0xc82000e0e0)
	/usr/local/go/src/runtime/panic.go:443 +0x4e9
github.com/mattermost/platform/utils.TestConnection(0xc820082b00)
	/var/lib/jenkins/jobs/mattermost-platform-release/workspace/src/github.com/mattermost/platform/utils/mail.go:82 +0x9f
github.com/mattermost/platform/utils.LoadConfig(0x7ffca76a7851, 0x26)
	/var/lib/jenkins/jobs/mattermost-platform-release/workspace/src/github.com/mattermost/platform/utils/config.go:181 +0x10aa
main.doLoadConfig(0x7ffca76a7851, 0x26, 0x0, 0x0)
	/var/lib/jenkins/jobs/mattermost-platform-release/workspace/src/github.com/mattermost/platform/mattermost.go:76 +0x6a
main.main()
	/var/lib/jenkins/jobs/mattermost-platform-release/workspace/src/github.com/mattermost/platform/mattermost.go:84 +0x43
bash-4.1$

Posts: 3

Participants: 1

Read full topic

[Help Wanted] Upvote/contribute to GitLab features for Mattermost

Omnibus Mattermost on separate server - unable to disable GitLab

$
0
0

@dschaper wrote:

Summary

Following the directions at https://docs.gitlab.com/omnibus/gitlab-mattermost/ in the Running GitLab Mattermost on its own server section. No options for gitlab_rails['enable'] found.

Steps to reproduce

Edit gitlab.rb and add gitlab_rails['enable'] = false causes gitlab-ctl reconfigure to fail out:

Starting Chef Client, version 12.12.15
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
  - package (0.0.0)
  - runit (0.14.2)
  - gitlab (0.0.1)
Installing Cookbook Gems:
Compiling Cookbooks...
Recipe: gitlab::default
  * directory[/etc/gitlab] action create (up to date)
/sbin/init: unrecognized option '--version'
-.mount                                                                             loaded active mounted   /
  Converging 159 resources

Running handlers:
Running handlers complete
Chef Client failed. 0 resources updated in 05 seconds
  1. Version number
    $ apt-cache policy gitlab-ce
    gitlab-ce:
    Installed: 8.12.7-ce.0

  2. Steps to reproduce your issue
    Enter gitlab_rails['enable'] = false to /etc/gitlab/gitlab.rb and run sudo gitlab-ctl reconfigure

Posts: 4

Participants: 2

Read full topic

How to authenticate bots using the API

$
0
0

@jurgenhaas wrote:

When Mattermost is installed with GitLab and uses GitLab SSO, I wonder how we could integrate with bots. In my use case, webhooks are no option because the outgoing webhooks are not available for private channels. So I wanted to use a bot that uses the API and therefore should login as a bot user to Mattermost. But that doesn't seem possible when SSO with Gitlab is enabled. Is there something I'm missing?

Posts: 2

Participants: 1

Read full topic

Where to find GitLab Mattermost settings summary?

$
0
0

@atsaloli wrote:

Hello,

I've installed GitLab Omnibus CE 8.13.3 and would like to understand the different settings in gitlab.rb for mattermost.

I am trying to change the notifications on GitLab events that gets published to our Mattermost channel, right now the notification is coming from "root" even though we have a different username defined in the outgoing web hook in GitLab.

Our gitlab.rb has

# mattermost['service_enable_post_username_override'] = false

Where can I find what service_enable_post_username_override means? I'm wondering if this setting is related. Plus I want to understand what all these different settings are.

Posts: 2

Participants: 2

Read full topic

CLI crashes with error message: "panic: Failed to load system translations for 'en'"

$
0
0

@freecastle wrote:

Summary

I'm happily working with Mattermost 3.5.0 (Build Hash: 3f19ccf1b1a6efdcc990cf8a0270ec4ffc0c6e22, Build Date: Tue Nov 15 18:55:53 UTC 2016), which is bundled with the most recent GitLab Omnibus (8.14.1). I've never used the CLI before, so I don't know if it worked in older releases.

Whenever I run the CLI with the -config option, I get the following error (it doesn't matter if i sudo or not):

$ sudo -u mattermost /opt/gitlab/embedded/bin/mattermost -config=/var/opt/gitlab/mattermost/config.json -version
[2016/12/01 14:00:57 CET] [EROR] Failed to load system translations for 'en' attempting to fall back to 'en'
panic: Failed to load system translations for 'en'

goroutine 1 [running]:
panic(0xb5c580, 0xc4204b5af0)
        /usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/mattermost/platform/utils.GetTranslationsBySystemLocale(0x0)
        /var/lib/jenkins/jobs/msr/jobs/platform-release/workspace/src/github.com/mattermost/platform/utils/i18n.go:50 +0x374
github.com/mattermost/platform/utils.InitTranslations(0xc4204b55f0, 0xc4204b5600, 0xc4204b5610)
        /var/lib/jenkins/jobs/msr/jobs/platform-release/workspace/src/github.com/mattermost/platform/utils/i18n.go:27 +0x54
main.main()
        /var/lib/jenkins/jobs/msr/jobs/platform-release/workspace/src/github.com/mattermost/platform/mattermost.go:114 +0xa4

If I run the command without the path to the config file it complains, obviously, it can't find the config file, but at least it doesn't panic:

$ sudo -u mattermost /opt/gitlab/embedded/bin/mattermost -version
[14:02:45 CET 2016/12/01] [EROR] (main.main:107) Unable to load mattermost configuration file:  utils.config.load_config.opening.panic

I don't know how Mattermost searches for its translation files, but in my understanding the files are there (again, it doesn't matter if I change the owner of the files):

$ ls -alh /opt/gitlab/embedded/service/mattermost/i18n
total 2.1M
drwxr-xr-x 2 root root 4.0K Nov 28 19:45 .
drwxrwxr-x 7 root root 4.0K Nov 28 19:45 ..
-rw-r--r-- 1 root root 187K Nov 28 17:22 de.json
-rw-r--r-- 1 root root 174K Nov 28 17:22 en.json
-rw-r--r-- 1 root root 190K Nov 28 17:22 es.json
-rw-r--r-- 1 root root 193K Nov 28 17:22 fr.json
-rw-r--r-- 1 root root 207K Nov 28 17:22 ja.json
-rw-r--r-- 1 root root 184K Nov 28 17:22 ko.json
-rw-r--r-- 1 root root 184K Nov 28 17:22 nl.json
-rw-r--r-- 1 root root 185K Nov 28 17:22 pt-BR.json
-rw-r--r-- 1 root root 236K Nov 28 17:22 ru.json
-rw-r--r-- 1 root root 166K Nov 28 17:22 zh_CN.json
-rw-r--r-- 1 root root 168K Nov 28 17:22 zh_TW.json

I've looked at the following issues, but they relate to much older versions of Mattermost and none of them brought up a solution that worked in this case:

Steps to reproduce

  1. install most recent GitLab Omnibus (8.14.1) on Ubuntu 14.04.5 LTS
  2. fire the CLI with the path to the config file: sudo -u mattermost /opt/gitlab/embedded/bin/mattermost -config=/var/opt/gitlab/mattermost/config.json -help

EDIT: I forgot to mention, there are no log entries to this error. But just a few moments ago I've found a workaround in forum.mattermost.org/t/solved-how-to-authenticate-bots-using-the-api/2405/2

Posts: 4

Participants: 3

Read full topic

Converting DB from MySQL (mattermost standalone install) to PostgreSQL (omnibus-gitlab)

$
0
0

@NotSqrt wrote:

Summary

This is more of a summary of what I did, to help others if need be.
I switched from a source installation of mattermost, with Mysql DB, to the packaged version in omnibus-gitlab with the included PostgreSQL DB.

Copied from https://github.com/mattermost/platform/issues/4911 for more visibility.

Steps

Activate mattermost in gitlab-omnibus and launch reconfigure
Prepare the SQL dump

Dump the MySQL DB:
mysqldump --compatible=postgresql --default-character-set=utf8 -r mattermost.mysql -u root mattermost -p --complete-insert

Update the dump to match the PostgreSQL DB schema: Only keep the INSERT INTO commands, convert to lowercase all the column and table names, insert TRUNCATE table_name before each block of INSERT commands if you want to clean the DB.

The tricky part : booleans are stored as int4 in MySQL, and appear as 0 and 1 in the dump, while PostgreSQL expects '0' and '1' for boolean values. You need to edit all the corresponding values.
(I wrote a script using https://sqlparse.readthedocs.io to do this.)

Now the cleaned-up dump is ready.

Copy data

You just have to copy the mattermost data folder to /var/opt/gitlab/mattermost/data.

Restore dump

sudo -u gitlab-psql /opt/gitlab/embedded/bin/psql -h /var/opt/gitlab/postgresql -d mattermost_production < mattermost_good.sql

I hope it can help someone !

Posts: 1

Participants: 1

Read full topic


Token Request Error on Omnibus with Reverse Proxy

$
0
0

@CalebEverett wrote:

I am trying to get SSO for mattermost from gitlab working in the Omnibus installation. Any ideas on how to troubleshoot would be greatly appreciated.

Setup

I have the Omnibus package installed in an lxc container running Ubuntu 16.04 with traffic from the internet routed through nginx running in another container. I'm terminating the ssl connections in the nginx container where the certs are, and then forwarding traffic to the gitlab lxc container via server configurations for each of my gitlab and mattermost urls.

The Problem

When I click the sign in with gitlab button it takes me to the authorization url, but then when I click authorize, I get:

Token request failed

and in /var/log/gitlab/mattermost/mattermost.log, I get:

[2017/01/13 22:36:08 UTC] [EROR] websocket connect err: websocket: could not find connection header with token 'upgrade'
[2017/01/13 22:36:08 UTC] [EROR] /api/v3/users/websocket:connect code=500 rid=ojqur6wyubybmqyhegpptbmwey uid= ip=76.90.41.133, 10.29.248.10 Failed to upgrade websocket connection [details: ]
[2017/01/13 22:37:28 UTC] [EROR] SMTP server settings do not appear to be configured properly err=Failed to open connection details=dial tcp :0: getsockopt: connection refused
[2017/01/13 22:37:45 UTC] [EROR] /signup/gitlab/complete:AuthorizeOAuthUser code=500 rid=i9eat3i7e7gjjpxddnp168oj9c uid= ip=76.90.41.133, 10.29.248.10 Token request failed [details: Post https://git.calebeverett.io:80/oauth/token: dial tcp 45.79.111.122:80: getsockopt: connection refused]

What is odd to me is that initial request to https://git.calebeverett.io/oauth/authorize was successful.

Configuration Settings

mattermost_nginx['listen_port'] = 8081
mattermost_nginx['listen_https'] = false
mattermost_nginx['proxy_set_headers'] = {
  "Host" => "$http_host",
  "X-Real-IP" => "$remote_addr",
  "X-Forwarded-For" => "$proxy_add_x_forwarded_for",
  "X-Frame-Options" => "SAMEORIGIN",
  "X-Forwarded-Proto" => "https",
  "X-Forwarded-Ssl" => "on",
  "Upgrade" => "$http_upgrade",
  "Connection" => "$connection_upgrade"
}

and here are the nginx settings:

nginx['listen_port'] = 80
nginx['listen_https'] = false
nginx['proxy_set_headers'] = {
 "X-Forwarded-Proto" => "https",
 "X-Forwarded-Ssl" => "on",
}

Resources

Documentation

Gitlab-Mattermost Docs
SSO documentation

Other Posts




Posts: 1

Participants: 1

Read full topic

Access Mattermost via internet w/ Gitlab auth and w/o publishing gitlab itself

$
0
0

@nomoresecrets wrote:

Right now we use authentication via Gitlab-OAuth-Api which then authenticates against our LDAP. Works perfect.

We now want to be able to use Mattermost from outside the coporate network without "publishing" our Gitlab services.
Also we don't want to have seperate user accounts for gitlab and mattermost. Did anyone manage this or could give me some advises/thought about that?

We are currently using the Omnibus-Gitlab package "gitlab-ce-8.15.3-ce" on CentOS 7. Mattermost is running version 3.5.1. Both on the same server.

Thanks,

Denny

Posts: 1

Participants: 1

Read full topic

Database schema cannot be upgraded. You must not skip a version

$
0
0

@mnordine wrote:

Summary

When attempting to start Mattermost with Gitlab, I get a 502 Bad Gateway error.

$ tail -f var/log/gitlab/mattermost/current outputs:

2017-02-12_02:26:12.82313 [2017/02/11 22:26:12 AST] [CRIT] The database schema version of 2.2.0 cannot be upgraded.  You must not skip a version.
2017-02-12_02:26:14.01786 [2017/02/11 22:26:14 AST] [INFO] Loaded system translations for 'en' from '/opt/gitlab/embedded/service/mattermost/i18n/en.json'
2017-02-12_02:26:14.01787 [2017/02/11 22:26:14 AST] [INFO] Current version is 3.5.0 (3.5.0/Tue Nov 15 18:55:53 UTC 2016/3f19ccf1b1a6efdcc990cf8a0270ec4ffc0c6e22/none)
2017-02-12_02:26:14.01787 [2017/02/11 22:26:14 AST] [INFO] Enterprise Enabled: false
2017-02-12_02:26:14.01788 [2017/02/11 22:26:14 AST] [INFO] Current working directory is /opt/gitlab/embedded/service/mattermost
2017-02-12_02:26:14.01788 [2017/02/11 22:26:14 AST] [INFO] Loaded config file from /var/opt/gitlab/mattermost/config.json
2017-02-12_02:26:14.01789 [2017/02/11 22:26:14 AST] [INFO] Server is initializing...
2017-02-12_02:26:14.01789 [2017/02/11 22:26:14 AST] [INFO] Pinging SQL master database
2017-02-12_02:26:14.02038 [2017/02/11 22:26:14 AST] [INFO] Pinging SQL replica-0 database
2017-02-12_02:26:14.02712 [2017/02/11 22:26:14 AST] [CRIT] The database schema version of 2.2.0 cannot be upgraded.  You must not skip a version.

Steps to reproduce

Configure /etc/gitlab/gitlab.rb with the following settings:

mattermost_external_url 'https://mattermost.my-site.com'
mattermost_nginx['redirect_http_to_https'] = true
mattermost_nginx['ssl_certificate'] = "/etc/gitlab/ssl/git.my-site.com.crt"
mattermost_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/git.my-site.com.key"
mattermost['service_use_ssl'] = true

Reconfigure gitlab with:

$ sudo gitlab-ctl reconfigure

After much searching, I've found what seemed to be the answer here:

Here's the relevant script:

# /bin/bash

declare -a versions=("1.0.0" "1.1.0" "1.2.1" "1.3.0" "1.4.0" "2.0.0" "2.1.0" "2.2.0"...up to "3.5.0")

for v in "${versions[@]}"
do
     wget https://releases.mattermost.com/${v}/mattermost-team-${v}-linux-amd64.tar.gz -O - | tar -xz
     gitlab-ctl stop mattermost
     rm /opt/gitlab/embedded/bin/mattermost
     cp mattermost/bin/platform /opt/gitlab/embedded/bin/mattermost
     rm /var/opt/gitlab/mattermost/config.json
     cp mattermost/config/config.json /var/opt/gitlab/mattermost/config.json
     gitlab-ctl reconfigure
     gitlab-ctl start mattermost
done

However, this doesn't work for me, as I still get the skipped version error above. I've also tried what's suggested here:
https://docs.gitlab.com/omnibus/gitlab-mattermost/

sudo -u mattermost -i bash
cd /opt/gitlab/embedded/service/mattermost
/opt/gitlab/embedded/bin/mattermost -config='/var/opt/gitlab/mattermost/config.json' -upgrade_db_30

Then I get an error:

Error: unknown shorthand flag: 'u' in -upgrade_db_30

I also want to mention that I do not care about any Mattermost history. It's completely fine if all previous Mattermost data is lost, as I had only briefly tested Mattermost over a year ago. Any help would be greatly appreciated, thanks.

Posts: 1

Participants: 1

Read full topic

Gitlab Single Sign on Choice Requires Password

$
0
0

@doug_nsixty wrote:

Installed mattermost on my omnibus system, using the instructions here.

The install seems to be fine, ssl all seems okay. When I browse to https://blather.gitlab.mydomain.com, I am redirected to signup_user_complete.

This gives me the "Preview Mode: Email notifications have not been configured" clicky across the top, and Create an account with: GitLab Single-Sign-On

Clicking GitLab Single-Sign-On gives me the oauth/authorize page.

When I click authorize, I'm rewarded with:

GitLab Mattermost needs your help:
Your password must contain at least 5 characters.

Go back to Mattermost

How do I assign this password?

Error Log

[2017/02/15 19:51:54 UTC] [EROR] /signup/gitlab/complete:User.IsValid code=500 rid=887djxpdai88tbdo4e8zzd4xoy uid= ip=XXX.XXX.XXX.XXX Your password must contain at least 5 characters. [details: ]

Settings

GitLab 7.16.5
GitLab Shell 3.1.1
GitLab Workhorse v0.3.0
GitLab API v2
Git 1.10.2
Ruby 1.3.3p222
Rails 3.2.7.1
PostgreSQL 8.2.18

Posts: 1

Participants: 1

Read full topic

Unable to Configure Server

$
0
0

@WJWB_uk wrote:

Hi,

Trying to install mattermost on CentOS Linux 7 (Core), Kernal Linux 3.10.0-514.6.2.el7.x86_64.

I've followed the instructions on this page (https://docs.mattermost.com/install/install-rhel-71.html#configuring-mattermost-server) which has worked fine up untill Configuring Mattermost Server. I have tried browsing to the server by IP address, DNS name, with port 80 and 8065 but always get a timeout error. (ERR_CONNECTION_TIMED_OUT)

Everything else in the process has worked and do get html when I curl http://localhost:8065 as well as the ip address and port.

Can anyone point me in the right direction?

Thanks.

Posts: 1

Participants: 1

Read full topic

Viewing all 168 articles
Browse latest View live