I'm gettting an error when i visit my jira installation as follows:
JIRA Startup Failed |
||
You cannot access JIRA at present. Look at the table below to identify the reasons | ||
|
Can someone please let me know what I should do to try and debug this issue? I have had a look in the logs and it doesn't show anything useful.
I am running the standalone installation of Jira 4.4 on Linux, Ubuntu 10.04 LTS.
Edit:
Taking some advice from the comments I have tried to watch the logs when I restarted the service and we have the following erros: (sorry for the external link but i tried pasting it in and it was a bit messy) http://pastebin.com/TnpKhvr1
the main line of the backtrace is:
The solution is to delete the .bundled-plugins/ folder and the .osgi-plugins/ folder from JIRA_HOME. They will be recreated on the next start up.
Before panicking,
1) check permissions in the /var/atlassian/application-data/jira/plugins/.bundled-plugins/ (jira needs to write here), I suppose JIRA_HOME is set to /var/atlassian/application-data/jira/, make it writable for Jira. Check the user under you launch jira
2) Ubuntu comes with an OpenJDK by default. Make sure you do not run Jira with that JVM.
3) Backup (tar.gz), then remove the jar which is causing problems from /var/atlassian/application-data/jira/plugins/.bundled-plugins/ (in your case the active objects plugin). Check first if you can open it with unzip (unzip -t)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1) /var/atlassian/application-data/jira/plugins/.bundled-plugins/ and everything in it is owned by jira and user has write permission.
1) /var/atlassian/application-data/jira/ and everything in it is owned by jira and user has write permission.
2) I'm using the Standalone edition so it comes with its own JVM which is printed out every time jira starts: Using JRE_HOME: /opt/atlassian/jira/jre/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, check also atlassian-jira/WEB-INF/classes/atlassian-bundled-plugins.zip. It needs at least read permission and it should be a valid archive.
To explain it, this is where the bundled plugins are kept. It seems to me that your install is somehow corrupted (disk problems ?).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No way of knowing. I know you've said you've read the log file, and said "it doesn't show anything useful", but we don't know that. Are there any errors at all? It's very likely to already contain the message you're seeing under the description too - look in that area.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have investigated the issue further and when i said the log "doesn't show anything useful" I meant when i tried to access the frontpage, not when I was strting the service. The logs have a whole load of information when I startup the service like:
2011-08-10 14:28:14,336 main WARN [plugin.osgi.factory.OsgiPlugin] Unable to install plugin 'com.atlassian.activeobjects.activeobjects-plugin'
com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle
I will edit my question to include this extra information
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i got the same error, as i edited the backup option and restarted jira. found out that i shut down jira when a backup cycle was running and it corrupted the backup file.
when i deleted the corrupted backup file, jira starts up fine.
so, apparently the startup process reads the latest backup file for some reason.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you looking for the right log? If you see this error in startup, you should have seen the errors on the atlassian.log, which show all the plugin you have and the block of errors during startup.
When I get lock issue, I usually just stop and restart JIRA and it works fine for me. If it's a plugin you just installed (seem like the case from the error), then perhaps you can remove that plugin file in installed-plugin folder?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I haven't added any plugins to the jira system, the only thing I did was to enable the GreenHopper functionality in my free trial and then I had to restart the server. Is it safe, do you think, to remove/uninstall a core plugin like 'com.atlassian.activeobjects.activeobjects-plugin'?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.