You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在Gerrit 2.6.1服务器安装Its-Jira插件2.13时遇PluginInstallException错误

Troubleshooting PluginInstallException for Its-Jira 2.13 on Gerrit 2.6.1

Hey there, sorry to hear you're stuck with this PluginInstallException while trying to set up the Its-Jira 2.13 plugin with your Gerrit 2.6.1 instance. Let's break down some actionable checks and fixes based on your environment details:

Your Environment

  • Ubuntu: 4.6.3
  • Gerrit: 2.6.1
  • Its-Jira Plugin: 2.13
  • Its-Base Plugin: Successfully installed

Potential Fixes & Checks

  1. Double-Check Compatibility
    Gerrit 2.6.1 is quite outdated (released back in 2013), and Its-Jira 2.13 might not be built to support it. Even if you can't access external docs right now, see if you can find internal cached release notes for the plugin—look for explicit mentions of Gerrit 2.6.x support. If there's no match, try rolling back to an older Its-Jira version that's confirmed to work with Gerrit 2.6.1.

  2. Validate Your SSH Install Command
    Make sure you're using the correct syntax for Gerrit's SSH plugin install command. The standard format looks like this:

    ssh -p <your-ssh-port> <gerrit-admin-user>@<gerrit-server-host> gerrit plugin install -n its-jira.jar /path/to/your/its-jira-2.13.jar
    

    Double-check the port, admin user permissions, and that you're pointing to the correct plugin JAR file path.

  3. Dig Into Gerrit's Local Logs
    Since you can't copy the error message directly, head to your Gerrit server's log directory (usually /var/gerrit/logs/ or $GERRIT_SITE/logs/ on Ubuntu) and check the gerrit.log or error_log files around the time you tried the installation. The full stack trace in these logs will tell you exactly what's causing the exception—whether it's a missing dependency, file permission issue, or something else.

  4. Fix File Permissions
    Ensure the Its-Jira plugin JAR has proper read permissions for the user running the Gerrit service (usually the gerrit user). Run this command on the JAR file:

    chmod 644 /path/to/its-jira-2.13.jar
    

    Also confirm the Gerrit user has access to the directory where you're storing the plugin JAR.

  5. Try Manual Installation
    If SSH installation keeps failing, skip the command line and manually drop the Its-Jira JAR into Gerrit's plugins directory (default is $GERRIT_SITE/plugins/). After copying it, restart the Gerrit service:

    sudo service gerrit restart
    

    Then check the logs again to see if the plugin loads without errors.

  6. Confirm Its-Base Version Compatibility
    Even though Its-Base is installed, make sure its version pairs correctly with Its-Jira 2.13. Some plugin sets require specific version matches—if your Its-Base is too old or new, it could trigger the installation exception. See if you can find documentation linking the two versions.

Hopefully one of these steps helps you resolve the issue. If you can pull the specific error details from the Gerrit logs, that'll make narrowing things down even faster.

内容的提问来源于stack exchange,提问作者arden

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 09:52:28