search cancel

Upgrade Failed with fixclrf error while upgrade from 16.0.0 to 16.0.3

book

Article ID: 255744

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Upgrade to 16.0.3 failed with the following error.

 (Target) Target "_process-install-dir" finished.
(Expand) Expanding: D:\16_0_3\temp\install-packages\16.0.3\package.jar into D:\Clarity
(UnknownElement) Task "fixcrlf" finished with error.
org.apache.tools.ant.BuildException: error running fixcrlf on file D:\Clarity\bin\xog
    at org.apache.tools.ant.taskdefs.FixCRLF.processFile(FixCRLF.java:381) ~[ant.jar:?]
    at org.apache.tools.ant.taskdefs.FixCRLF.execute(FixCRLF.java:304) ~[ant.jar:?]
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) ~[ant.jar:1.9.4]
    at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) ~[?:?]
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
    at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) ~[ant.jar:?]
    at org.apache.tools.ant.Task.perform(Task.java:348) ~[ant.jar:1.9.4]
    at com.niku.tools.taskdefs.CompleteTask.execute(CompleteTask.java:125) ~[tools.jar:?]
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) ~[ant.jar:1.9.4]
    at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) ~[?:?]
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~

Environment

Release : 16.0.0

Resolution

This is caused by a permissions issue on the C:\Users\username\Appdata\local\temp folder.