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

**URL:** <https://forum.mattermost.com/t/weird-login-page-with-no-login-button-menu-or-anything/2205>\
**Category:** Troubleshooting\
**Created:** [September 7, 2016, 3:57am UTC](https://forum.mattermost.com/t/weird-login-page-with-no-login-button-menu-or-anything/2205 "2016-09-07T03:57:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpasqualin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/dpasqualin/32/426_2.png) [@dpasqualin](https://forum.mattermost.com/u/dpasqualin)\
**Post date:** [September 7, 2016, 3:57am UTC](https://forum.mattermost.com/t/weird-login-page-with-no-login-button-menu-or-anything/2205/1 "2016-09-07T03:57:20Z")

</div>

# 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.

 ![](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/1X/babe9b192bbaa9ae7965682e1b2f00f8b14cd041.png)

# 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

---

<div class="post-metadata">

**Author:** ![wpostma](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/wpostma/32/669_2.png) [@wpostma](https://forum.mattermost.com/u/wpostma)\
**Post date:** [September 8, 2016, 5:16pm UTC](https://forum.mattermost.com/t/weird-login-page-with-no-login-button-menu-or-anything/2205/2 "2016-09-08T17:16:21Z")

</div>

What matters most is what version of Mattermost you upgraded FROM, that is, what version of Gitlab Omnibus you were updating from?

It’s possible that your gitlab omnibus package’s database migrations for the Mattermost database failed.

If you have no important history (your system isnt really live and in production yet) you can get back online by deleting and re-creating the mattermost database, which is a postgres database, I believe.

In a real production environment that would be a “disaster” for most companies, though, so you may need to manually run some migration scripts to get your database schema migrated.

Warren

---

<div class="post-metadata">

**Author:** ![dpasqualin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/dpasqualin/32/426_2.png) [@dpasqualin](https://forum.mattermost.com/u/dpasqualin)\
**Post date:** [September 8, 2016, 5:37pm UTC](https://forum.mattermost.com/t/weird-login-page-with-no-login-button-menu-or-anything/2205/3 "2016-09-08T17:37:54Z")

</div>

Thanks for your reply.

I migrated from Gitlab 8.10 (source) to 8.11 (omnibus). Gitlab data is very important, but I don’t mind loosing Mattermost content at this point.

I’m gonna try [this](http://forum.mattermost.com/t/resetting-gitlab-omnibus-mattermost-installation/464/5) suggestion, dropping the database manually and recreating it using `gitlab-ctl reconfigure`.

---

<div class="post-metadata">

**Author:** ![dpasqualin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/dpasqualin/32/426_2.png) [@dpasqualin](https://forum.mattermost.com/u/dpasqualin)\
**Post date:** [September 8, 2016, 5:55pm UTC](https://forum.mattermost.com/t/weird-login-page-with-no-login-button-menu-or-anything/2205/4 "2016-09-08T17:55:23Z")

</div>

Well, I tried to recreate the database and it didn’t work.

What worked for me was to manually configure the options below on gitlab.rb. I’m using both gitlab and mattermost databases on a different server, could that be the problem?

```
mattermost['gitlab_enable'] = true
mattermost['gitlab_id'] = "<secret>"
mattermost['gitlab_secret'] = "<secret>"
mattermost['gitlab_auth_endpoint'] = "<secret>"
mattermost['gitlab_token_endpoint'] = "<secret>"
mattermost['gitlab_user_api_endpoint'] = "<secret>"
```
