8.15.2 slack generated link produces 404 error

Summary

This error has occured since 8.15.0 was released. None of the patches have fixed the issue. Adding a slack slash command to a project produces a link that generates a 404 error when you go to it.

As a side note: There doesn't seem to be a way to delete the service after it has been created.

Steps to reproduce

Select existing project Click Gear Icon and select Services Click on Slack Command Copy the provided URL - make sure it's set to active, token entry does not seem to make a difference Save Open a new browser and paste the URL, -> 404 error

Long way: Complete the entire form and create your slack slash command Open Slack client and use the / help Produces: ["error":"404 Not Found"]

Expected behavior

Slack client should produce the help

Actual behavior

404 error

Relevant logs and/or screenshots

From Browser: {"error":"404 Not Found"}

From Slack: {"error":"404 Not Found"}

NOTE: After you have created the slash command in gitlab, save and go back to the page the "test" button does appear and is grayed out. If you hover over the test button, "Please setup a project repository" pops up.

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab application Check

all tests pass successful

Results of GitLab environment info

System information System: Current User: git Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 Bundler Version:1.13.7 Rake Version: 10.5.0 Sidekiq Version:4.2.7

GitLab information Version: 8.15.2 Revision: 790035fc Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://scm.x.com HTTP Clone URL: https://scm.x.com/some-group/some-project.git SSH Clone URL: git@scm.x.com:some-group/some-project.git Using LDAP: no Using Omniauth: yes Omniauth Providers: saml

GitLab Shell Version: 4.1.1 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/ Git: /opt/gitlab/embedded/bin/git

Possible fixes

Unknown