Closed MrBPAE closed 2 years ago
Hi @MrBPAE
I have been able to reproduce this error with the latest version of OpenProject 12.2.0. However, this particular bug I think is outside the scope of development for this plugin. It may be a regression of a previous OpenProject bug since with recent previous versions this error did not occur. Also, the gem is actually named "openproject-gitlab_integration", and the one you have defined is "openproject-gitlab-integration" (not to be confused with the name of the project on Github). If the installation had gotten to the point of validating the gem I think it would have given you an error. The error appears only because of adding a change to the Gemfile, not because of the plugin code.
However, it is also true that OpenProject 12.2.0 introduces some internal changes that make the plugin incompatible with the current 2.0.5 version. I have a fix ready to test in the "Fix_compatibilty_with_OpenProject_12.2.0" branch. But I can't test it properly with version 12.2.0 because there seems to be another problem related to redirecting to "https".
I have tried the installation with Docker, both direct (Dockerfile+Gemfile) and custom (download code, include the plugin and build docker image) and in all cases I get the same error "ssl_error_rx_record_too_long". I think it is related to this bug that they have open for the next patch version:
https://community.openproject.org/projects/openproject/work_packages/43759/activity?query_id=3466
I have also tried the manual installation, and it also redirects me to "https" when I don't have it defined so I can't test it. We will have to wait for the next version 12.2.1 to see if these bugs are solved.
Thanks for the patience, Ben
Hi @MrBPAE
After the release of the v12.2.1 the "Fix_compatibilty_with_OpenProject_12.2.0" branch worked without errors building a docker image with the plugin. I'll be merging the fix into the main branch shortly. I add some screenshots.
When version 2.0.6 is ready try it when you get a chance with v12.2.1 and if you still have problems let me know.
Thanks, Ben
OpenProject GitLab Integration v2.0.6 release available.
Installation
openproject
as package linkGemfile.custom
and copied it to/etc/openproject/Gemfile.custom
sudo chown openproject:openproject /etc/openproject/Gemfile.custom
sudo openproject config:set CUSTOM_PLUGIN_GEMFILE=/etc/openproject/Gemfile.custom
linksudo openproject configure
==> failWhatever I try from there end in a unsolvable error.
How is it possible to install the gitlab integration?
Error
Gemfile.custom
Environment