添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Gitlab is working fine, just installed today.
Mattermost had no Issues, but the Screen is only showing the Slogan.

the log ( /var/log/gitlab/mattermost/mattermost.log )
only mentions a JS Error i can also see in the browser console:

[2015/12/07 19:35:33 CET] [EROR] /api/v1/admin/log_client:client code=500 rid=rifntp3qnjrjpgtobzckayhggr uid= ip=IPADRESS-WAS-HERE msg: Uncaught TypeError: Cannot read property ‘page’ of null row: 15 col: 21325 stack: TypeError: Cannot read property ‘page’ of null url: http://mattermost.xy.z/static/js/bundle-4063.min.js [details: ]
[2015/12/07 19:35:59 CET] [EROR] /favicon.ico: code=404 ip=SAME-IP

Is the anywhere else to look for Error Logs ? Or is there another rake task to check if mattermost has all it needs ?

Below is the message I see in my mattermost.log

[2015/12/09 12:07:16 UTC] [EROR] /api/v1/admin/log_client:client code=500 rid=bp6ucq17t3rgfjunqu3xqs8d8w uid= ip=10.20.1.1 msg: Uncaught TypeError: Cannot read property 'page' of null row: 15 col: 21325 stack: TypeError: Cannot read property 'page' of null url: https://chat.mydomain.vm/static/js/bundle-4063.min.js [details: ]
              

With logs set to debug I have the following:

[root@gitlab mattermost]# tail /var/log/gitlab/mattermost/mattermost.log
[2015/12/09 12:52:17 UTC] [DEBG] Parsing server templates at /opt/gitlab/embedded/service/mattermost/api/templates/
[2015/12/09 12:52:17 UTC] [DEBG] Initializing web routes
[2015/12/09 12:52:17 UTC] [DEBG] Using static directory at /opt/gitlab/embedded/service/mattermost/web/static/
[2015/12/09 12:52:17 UTC] [DEBG] Parsing templates at /opt/gitlab/embedded/service/mattermost/web/templates/
[2015/12/09 12:52:17 UTC] [INFO] Starting Server...
[2015/12/09 12:52:17 UTC] [INFO] Server is listening on :8065
[2015/12/09 12:52:17 UTC] [INFO] RateLimiter is enabled
[2015/12/09 12:52:21 UTC] [DEBG] /
[2015/12/09 12:52:22 UTC] [DEBG] /api/v1/admin/log_client
[2015/12/09 12:52:22 UTC] [EROR] /api/v1/admin/log_client:client code=500 rid=w7wpomfuhfdnmbarmrgqokbafe uid= ip=10.20.1.1 msg: Uncaught TypeError: Cannot read property 'page' of null row: 15 col: 21325 stack: TypeError: Cannot read property 'page' of null url: https://chat.mydomain.vm/static/js/bundle-4063.min.js [details: ]
              

We’re using the puppet module from [vshn]https://github.com/vshn/puppet-gitlab

I guess the only thing that really matters is the gitlab.rb file?

[root@gitlab ~]# cat /etc/gitlab/gitlab.rb
## THIS CONFIGURATION IS MANAGED BY PUPPET
# for all possible paramters, see:
# https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template
## Url on which GitLab will be reachable.
## For more details on configuring external_url see:
## https://gitlab.com/gitlab-org/omnibus-gitlab/blob/629def0a7a26e7c2326566f0758d4a27857b52a3/README.md#configuring-the-external-url-for-gitlab
external_url 'http://gitlab.olindata.vm'
############################################
# Url on which GitLab CI will be reachable #
############################################
## see https://gitlab.com/gitlab-org/omnibus-gitlab/tree/629def0a7a26e7c2326566f0758d4a27857b52a3/doc/gitlab-ci/README.md
ci_external_url 'http://ci.olindata.vm'
#############################################
# Url on which Mattermost will be reachable #
#############################################
## see http://doc.gitlab.com/omnibus/gitlab-mattermost/
mattermost_external_url 'http://chat.olindata.vm'
              

Hi @walterheck,

Thanks for the repo steps, the GitLab omnibus installer is tested, but I don’t believe the puppet module you’re referencing is covered,

Propose opening an issue with the repo for guidance on proper usage?