Scriptrunner "...couldn't be loaded. It has one or more errors that prevent it from being enabled" Edited

Hi!
I run into an error with Scriptrunner plugin. I see the "This add-on couldn't be loaded. It has one or more errors that prevent it from being enabled." in Manage add-on menu.
It happend after I made and applay the changes in "Script Fragments". I think I made a mistake there because an 500 browser's error appeared over time:
"Cause
Referer URL: http://server:port/plugins/servlet/scriptrunner/builtin?section=fragments
com.atlassian.soy.renderer.SoyException: Unable to compile Soy templates at: com.onresolve.jira.groovy.groovyrunner:project-soy"
I made an investigation about the error, increased the plugin timeout period (https://community.atlassian.com/t5/Jira-questions/How-do-I-solve-quot-This-add-on-couldn-t-be-loaded-It-has-one-or/qaq-p/138409), cleared the plugin cache, restart JIRA application. Now I see the the error what I aforemantioned.

Can somebody help to figure out this problem?

I wouldn't like to uninstall this plugin because I made some tasks that sucessefully works.

JIRA Software v7.1.9 

Scriptrunner v 4.3.13

Atlassian-jira.log

"JIRA-Bootstrap ERROR [c.a.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Users Roles' of plugin 'com.onresolve.jira.groovy.groovyrunner'. Disabling.
com.atlassian.plugin.PluginParseException: Could not load class: my.groovy
at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:37)
at ..."

5 answers

This widget could not be displayed.

This a horror like zombie story...

What have been done:
1) Uninstalled ScriptRunner plugin
1) Stopped JIRA application
3) Cleared cache of JIRA.
4) I tried to looking for files and context with "groovy" in "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/". Nothing found.
5) Removed folders "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/"
6) Started JIRA application
After that I see ...disabled ScriptRunner plugin in "Manage add-ons".

And the same log text:
"2018-01-23 17:25:03,555 JIRA-Bootstrap ERROR [c.a.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Users Roles' of plugin 'com.onresolve.jira.groovy.groovyrunner'.
Disabling.
com.atlassian.plugin.PluginParseException: Could not load class: my.groovy
at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:37)
"

ScriptRunner for JIRA plugin is zombie!
I remove him and he raise again!
Help me to find a silver arrow!

This widget could not be displayed.

This a horror like zombie story...

What have been done:
1) Uninstalled ScriptRunner plugin
1) Stopped JIRA application
3) Cleared cache of JIRA.
4) I tried to looking for files and context with "groovy" in "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/". Nothing found.
5) Removed folders "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/"
6) Started JIRA application
After that I see ...disabled ScriptRunner plugin in "Manage add-ons".

And the same log text:
"2018-01-23 17:25:03,555 JIRA-Bootstrap ERROR [c.a.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Users Roles' of plugin 'com.onresolve.jira.groovy.groovyrunner'.
Disabling.
com.atlassian.plugin.PluginParseException: Could not load class: my.groovy
at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:37)
"

ScriptRunner for JIRA plugin is a zombie!
I remove him and he raise again!
Help me to find a silver picket!

This widget could not be displayed.

This a horror like a zombie story...

What have been done:
1) Uninstalled ScriptRunner plugin
2) Stopped JIRA application
3) Cleared cache of JIRA.
4) I tried to looking for files and context with "groovy" in "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/". Nothing found.
5) Removed folders "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/"
6) Started JIRA application
After that I see ...disabled ScriptRunner plugin in "Manage add-ons".

And the same log text:
"2018-01-23 17:25:03,555 JIRA-Bootstrap ERROR [c.a.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Users Roles' of plugin 'com.onresolve.jira.groovy.groovyrunner'.
Disabling.
com.atlassian.plugin.PluginParseException: Could not load class: my.groovy
at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:37)
"

ScriptRunner for JIRA plugin is a zombie!
I remove him and he raise again!
Help me to find a silver ...!

Hey @Aleksandr Karev

Could you please submit a support request on https://productsupport.adaptavist.com/servicedesk/customer/portal/2

Would be really helpful if you could submit you application logs as well. 

Thanks

Thanos


Hi!
Thanks a lot for reply!
The request (+log) was submitted...

Maybe somebody interesting how to fix this issue in the same situation...

It is impossible to fix the issue. It It is nessesary a copy the database in a new enviroment and remove the config. In other words a new enviroment should be recreated.
Maybe in future will be made a feature which can solve such problems...

This widget could not be displayed.

@Aleksandr Karev sorry your post got stuck in the spam quarantine! But hopefully Thanos's link will help you :) 

Hi
Why did it get stuck in n the spam quarantine? I can't understood the reason my post was deleted and that's why I made it much times. And... one of deleted post rose again. Hopefully aren't there zombies on this portal?
I'm not so sure the problem related only with Scriptrunner because I can't delete it from JIRA which seems to me the JIRA problem...

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

54 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you