Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Plugins
  1. OpenProject
  2. Forums
  3. Plugins
  4. OpenProject - Slack Integration Issue

OpenProject - Slack Integration Issue

Added by Mohamed Elmeselmany 8 months ago

I am currently experiencing issues connecting OpenProject to Slack. Below are the steps I followed:

1. Creating Gemfile.plugins:

   group :opf_plugins do
     gem "openproject-slack", git: "https://github.com/opf/openproject-slack.git", branch: "dev"
   end

2. Creating Dockerfile:

   FROM openproject/openproject:14 AS plugin

   # If installing a local plugin (using `path:` in the `Gemfile.plugins` above),
   # you will have to copy the plugin code into the container here and use the
   # path inside of the container. For example, for `/app/vendor/plugins/openproject-slack`:
   # COPY /path/to/my/local/openproject-slack /app/vendor/plugins/openproject-slack

   COPY Gemfile.plugins /app/

   # If the plugin uses any external NPM dependencies, install them here.
   # RUN npm add <package-name>*

   RUN bundle config unset deployment && bundle install && bundle config set deployment 'true'
   RUN ./docker/prod/setup/precompile-assets.sh

   FROM openproject/openproject:14-slim

   COPY --from=plugin /usr/bin/git /usr/bin/git
   COPY --chown=$APP_USER:$APP_USER --from=plugin /app/vendor/bundle /app/vendor/bundle
   COPY --chown=$APP_USER:$APP_USER --from=plugin /usr/local/bundle /usr/local/bundle
   COPY --chown=$APP_USER:$APP_USER --from=plugin /app/public/assets /app/public/assets
   COPY --chown=$APP_USER:$APP_USER --from=plugin /app/config/frontend_assets.manifest.json /app/config/frontend_assets.manifest.json
   COPY --chown=$APP_USER:$APP_USER --from=plugin /app/Gemfile.* /app/

3. Using Docker Build:

docker build --pull -t openproject-with-slack.1 . --no-cache

4. Removing Old Containers:

docker image prune --all

5. Running OpenProject:

docker-compose up -d

While attempting to use the Slack plugin at `/admin/settings/plugin/openproject_slack`, I encountered the following error:


[Error 500] An error occurred on the page you were trying to access. If you continue to experience problems, please contact your OpenProject administrator for assistance.


I haven't found any logs that indicate the root cause of the issue. I would appreciate your support.


Replies (4)

RE: OpenProject - Slack Integration Issue - Added by Mohamed Elmeselmany 8 months ago

Additional information

RE: OpenProject - Slack Integration Issue - Added by Mohamed Elmeselmany 8 months ago

 ERROR -- : [f9158abc-bec9-4132-9d9f-cd0cffff9bc0] user=5 unknown attribute 'regex' for ProjectCustomField.: unknown attribute 'regex' for ProjectCustomField

RE: OpenProject - Slack Integration Issue - Added by Anton Grinchik 6 months ago

A similar problem, after connecting the plugin to OpenProject installed on ubuntu, OpenProject version 15.0.2 PostgreSQL version 13.18 plugin version the same 14.4.0
Please give advice on how to connect slack natification

RE: OpenProject - Slack Integration Issue - Added by Anton Grinchik 6 months ago

https://community.openproject.org/topics/19023?r=19029

  • (1 - 4/4)
Loading...