JIRA shows a 404 error after restart

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After a restart of JIRA, when trying to get to JIRA via your web browser, you run into a 404 error.

The following appears in the 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

Cause

The permissions to JIRA folders are not assigned to the user who is starting JIRA.

Resolution

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>

(info) You may need to sudo this operation

 

Windows

  1. Open Windows Explorer, and then locate the file or folder you want to take ownership of.
  2. Right-click the file or folder, click Properties, and then click the Security tab.
  3. Click Advanced, and then click the Owner tab.
  4. 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.
  5. (Optional) To change the owner of all subcontainers and objects within the tree, select the Replace owner on subcontainers and objects check box.

(info) Reference: Take Ownership of a File or Folder

 

 

 

 

 

   

 

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.