Gitlab Artifacts ERROR: Uploading artifacts to coordinator... forbidden

2.1k views Asked by At

coming across an issue when using artifacts for the first time. The issue is visible when the CI runner tries to upload an artifact:

ERROR: Uploading artifacts to coordinator... forbidden  id=1698 responseStatus=403 Forbidden status=403 Forbidden token=xxxxxx
FATAL: permission denied                           
ERROR: Build failed: exit status 1

I'm using the Omnibus package on Ubuntu 14.04 - latest version installed. Artifacts are enabled in the Admin section, setting the file size to 100MB and in the gitlab.rb config:

## Build Artifacts
gitlab_rails['artifacts_enabled'] = true
#gitlab_rails['artifacts_path'] = "/var/opt/gitlab/git-data/artifacts"`

Output of sudo gitlab-rake gitlab:env:info:

System information
System:         Ubuntu 14.04
Current User:   git
Using RVM:      no
Ruby Version:   2.3.1p112
Gem Version:    2.6.6
Bundler Version:1.13.6
Rake Version:   10.5.0
Sidekiq Version:4.2.1

GitLab information
Version:        8.14.5
Revision:       6f43aa0
Directory:      /opt/gitlab/embedded/service/gitlab-rails
DB Adapter:     postgresql
URL:            https://githost.net
HTTP Clone URL: https://githost.net/some-group/some-project.git
SSH Clone URL:  [email protected]:some-group/some-project.git
Using LDAP:     yes
Using Omniauth: no

GitLab Shell
Version:        4.0.3
Repository storage paths:
- default:      /var/opt/gitlab/git-data/repositories
Hooks:          /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git:            /opt/gitlab/embedded/bin/git

There isn't much in the logs - the production log just shows the POST request to .../artifacts.

any ideas?

0

There are 0 answers