JIRA shows a 404 error after restart
症状
After a restart of JIRA, when trying to get to JIRA via your web browser, you run into a 404 error.
atlassian-jira.log
に次のエラーが返される。
2012-04-23 20:32:44,090 main FATAL [atlassian.jira.upgrade.PluginSystemLauncher] A fatal error occured during initialisation. JIRA has been locked.
com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to clean the cache directory: /var/atlassian/application-data/jira/plugins/.osgi-plugins/felix
...
Caused by: java.io.IOException: Unable to delete file: /var/atlassian/application-data/jira/plugins/.osgi-plugins/felix/felix-cache/bundle4/bundle.location
原因
The permissions to JIRA folders are not assigned to the user who is starting JIRA.
ソリューション
Check that both your <JIRA-home> and <JIRA-install> directories are recursively owned by the user who starts JIRA and try to start the application again as the user who owns all files.
Linux
In a terminal prompt run the following commands.
chown -R <username> <JIRA-install-dir>
chown -R <username> <JIRA-home-dir>
You may need to sudo this operation
Windows
- Open Windows Explorer, and then locate the file or folder you want to take ownership of.
- Right-click the file or folder, click Properties, and then click the Security tab.
- Click Advanced, and then click the Owner tab.
- Click Edit, and then do one of the following:
- To change the owner to a user or group that is not listed, click Other users and groups and, in Enter the object name to select (examples), type the name of the user or group, and then click OK.
- To change the owner to a user or group that is listed, in the Change owner to box, click the new owner.
- (Optional) To change the owner of all subcontainers and objects within the tree, select the Replace owner on subcontainers and objects check box.
Reference: Take Ownership of a File or Folder
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.