Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to clear ScriptRunner Groovy cache _completely_?

Janek Schumann September 5, 2025

Dear Community,

I got a ScriptRunner / Groovy issue. We moved from Windows servers to Linux servers.
It seems that the ScriptRunner app isn't working correctly on Linux though.

The issue is case sensitive files. We get the following error:

The script could not be compiled: 
<pre>

org.codehaus.groovy.control.MultipleCompilationErrorsException: 

startup failed: 

file:/mnt/jira/shared/scripts/ClassNameWithScope.groovy: 6: 

Invalid duplicate class definition of class ClassNameWithScope : 

The sources file:/mnt/jira/shared/scripts/ClassNamewithscope.groovy and file:/mnt/jira/shared/scripts/ClassNameWithScope.groovy each contain a class with the name ClassNameWithScope. @ line 6, column 1. 

public class ClassNameWithScope ^ 1 error 

</pre>.
In the Script Editor, renaming of a file which only changes typos lower/upper case does not work.
And yet, somehow, the file was compiled. Now there are duplicated class files .... _somewhere_.
The build-in Script "Clear Groovy Cache" does not clear those files at all.
Disabling and reenabling the app does not work either.
Any thoughts?

Thanks,
Janek

1 answer

0 votes
Florian Bonniec
Community Champion
September 5, 2025

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.12.23
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events