Tab panel 'com.atlassian.jira.jira-projects-plugin:summary-panel' failed to render.

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Accessing the Project Overview page generates the error "Tab panel 'com.atlassian.jira.jira-projects-plugin:summary-panel' failed to render."

atlassian-jira.log に次のメッセージが表示される。

2014-08-26 11:54:17,184 http-bio-8443-exec-17 ERROR admin 714xxxxx1 1l9jpbu 172.16.100.59 /browse/BLU [jira.projects.web.BrowseProject] Tab panel 'com.atlassian.jira.jira-projects-plugin:summary-panel' failed to render
java.lang.RuntimeException: Error generating chart
	at com.atlassian.jira.charts.CreatedVsResolvedChart.generateChart(CreatedVsResolvedChart.java:231)
	at com.atlassian.jira.charts.DefaultChartFactory.generateCreatedVsResolvedChart(DefaultChartFactory.java:61)
	at sun.reflect.GeneratedMethodAccessor1376.invoke(Unknown Source)

原因

The cause is lack of File System permission:

Caused by: java.io.IOException: Permission denied
	at java.io.UnixFileSystem.createFileExclusively(Native Method)
	at java.io.File.createTempFile(Unknown Source)
	at com.atlassian.jira.charts.jfreechart.ChartHelper.getChartTempFile(ChartHelper.java:164)

Caused by: java.io.IOException: No such file or directory
	at java.io.UnixFileSystem.createFileExclusively(Native Method)
	at java.io.File.createNewFile(File.java:1006)
	at java.io.File.createTempFile(File.java:1989)

ソリューション

Make sure that the user configured to run JIRA has Full control on the temp folder in JIRA Installation directory (JIRA_Install/temp). JIRA is trying to create a temporary file in getting the Chart information but the user doesn't have the necessary permission in the said folder.

  1. Stop your JIRA application.

  2. Fix the permissions for the below directories and all of their subdirectories:

    $JIRA_HOME/
    $JIRA_INSTALL/logs
    $JIRA_INSTALL/temp
    $JIRA_INSTALL/work

    (info) If you're using JIRA applications Data Center, ensure that every node has access to the shared home directory.

    Expand for Linux instructions...

    These instructions refer to the default user, group & installation paths for JIRA applications, as if it were installed using the bundled installer. If you're unsure of what these permissions should be, please consult with your System Administrator and the user who installed the JIRA application.

    sudo chown -R jira:jira /var/atlassian/application-data/jira
    sudo chown -R jira:jira /opt/atlassian/jira/logs
    sudo chown -R jira:jira /opt/atlassian/jira/temp
    sudo chown -R jira:jira /opt/atlassian/jira/work
    chmod -R u=rwx,g=rx,o=rx /var/atlassian/application-data/jira 
    chmod -R u=rwx,g=rx,o=rx /opt/atlassian/jira/logs
    chmod -R u=rwx,g=rx,o=rx /opt/atlassian/jira/temp
    chmod -R u=rwx,g=rx,o=rx /opt/atlassian/jira/work

    (info) Repeat the same commands above for the shared home if using JIRA applications Data Center.

    (info) Check the context labels if you're using Podman volumes and SELinux

    Expand for Windows instructions...

    Please refer to this Techotopia documentation for further information.

  3. Start JIRA application.

最終更新日 2022 年 11 月 14 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.