•  
      request #10885 Plugin pullrequest shows 404 error message
    Infos
    #10885
    Armin Breiteneder (n3xus132)
    2017-12-07 08:33
    2017-12-06 15:00
    11113
    Details
    Plugin pullrequest shows 404 error message

    We do an evaluation of Tuleap in our company. Therefore we want to use the plugin Pull Request. We downloaded the plugin from the github site and placed it in /usr/share/tuleap/plugins. After that we installed it using the admin site in tuleap.

    When I now go to a project and try to create a pull request it captures all branches and shows them correctly in the dialog box, so I can choose source and destination. When I click next it tries to go to https://hostname/plugins/pullrequest/?action=generatePullRequest&group_id=102&repository_id=1 and shows an error 404. Is this a configuration error or is it a bug?

    Pull Request
    9.14
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-12-07
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2017-12-07 08:33
    Thanks for the update.

    With the recent move to nginx and PHP-FPM the current installation of plugins is a bit more complicated than just a click in the web interface, it's going to be fixed to avoid such issues.

    • Status changed from Acknowledged to Closed
    • Close date set to 2017-12-07
    User avatar

    I now uninstalled the plugin again over the webinterface and deleted the folder I copied from the source. Then I installed the plugin via RPM but it was showing the same error as before. I then tried the commands from Thomas and after running that everything seems to work now as it should.

     

    User avatar
    In addition, this is not recommended to install a plugin via the source code, but using the RPM built and delivered to the community is the correct way to do this.
    User avatar
    Thomas Gerbet (tgerbet)2017-12-06 15:39
    Hello,

    Can you try to execute the following command and then try again:
    # /usr/share/tuleap/tools/utils/php56/run.php --module=nginx
    # service nginx reload

    • Status changed from New to Acknowledged