Fisheye Fails to Start - Unable to Clean the Cache Directory, Unable to Delete File

お困りですか?

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

コミュニティに質問

症状

Fisheye fails to start and the following message is logged in the Fisheye debug log (e.g. fisheye-debug-2012-06-19.log):

Caused by: com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to clean the cache directory: /fisheye/cache/plugins/osgi-cache/felix
java.io.IOException: Unable to delete file: /fisheye/cache/plugins/osgi-cache/felix/felix-cache/bundle4/bundle.id

The path identified in the log file will be unique to your installation.

原因

This problem is caused by an inconsistency in the OSGI plugin cache triggered most likely by an inappropriate shutdown of the server.

ソリューション

Versions up to 2.9.x

Ensure the user running Fisheye has correct permissions regarding the folder hierarchy (and contained files) starting with the FISHEYE_INST/cache/plugins folder. If the permissions are correct, do the following:

  1.  Shutdown Fisheye.
  2. Delete (or move for backup purposes) the entire folder: 
    1. FISHEYE_INST/cache/plugins (e.g. /fisheye/cache/plugins)
  3. Restart Fisheye.

Versions 2.10+

Ensure the user running Fisheye has correct permissions regarding the folder hierarchy (and contained files) starting with the FISHEYE_INST/cache/plugins folder. If the permissions are correct, do the following:

  1.  Shutdown Fisheye.
  2. Delete (or move for backup purposes) the entire folder: 
    1. FISHEYE_INST/var/osgi-cache (e.g. /fisheye/var/osgi-cache)
  3. Restart Fisheye.

 

 

最終更新日 2018 年 7 月 31 日

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

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