Trying to build a new server and install of Fusion...
# box-products
d
Trying to build a new server and install of FusionReactor seems to be failing with:
Copy code
"ERROR","FILEAPPENDER","01/21/2023","10:47:03","commandbox.system.Shell","java.util.zip.DataFormatException: invalid bit length repeat lucee.runtime.exp.NativeException: java.util.zip.DataFormatException: invalid bit length repeat  	at net.lingala.zip4j.io.inputstream.InflaterInputStream.read(InflaterInputStream.java:53)
I will put a longer stack dump in the thread
b
Seems like an invalid zip file somewhere
d
FR-stack.log
b
Does the error show it's on a line of code running cfzip?
d
I tried removing the FR module
and reinstalling
b
If you have a bad zip in artifacts that wouldn't matter
d
I can open the zip with windows
b
Error is on
/commandbox/system/endpoints/File.cfc:44
which looks to be a cfzip tag trying to unzip a file
which zip?
d
\commandbox\artifacts\commandbox-fusionreactor\4.3.0\commandbox-fusionreactor.zip
b
Wrong zip
d
Was a random guess 😬
b
The line of code in forgebox.cfc is the one that fires when using a zip from artifacts
And in this case the FR module is downloading the actual FR version itself
and using a previously downloaded one in artifacts
The console output should tell you all of this
you probably want to look at
Copy code
\commandbox\artifacts\fusionreactor\9.2.0\fusionreactor.zip
The actual fusionreactor jar is a separate package from the commandbox module
d
image.png
b
Double check your console output to see if that's the version you're using
You could have it overridden in your
server.json
to another version
d
I dont force a version in the server.json
b
Dunno, ask Lucee why it can't unzip the file then, lol
d
haha... I just looked at the 9.1.0 file and it doesnt have those duplicated box.json and dll
b
That does seem problematic
d
If I remove that folder, it should re-get from Forgebox?
b
I don't have those in mine either
Yes, or use the
artifacts remove
command
Copy code
artifacts remove fusionreactor 9.2.0
d
Ok the zip looks less janky
b
Error gone?
d
Yup, looks good. Thanks Brad
👍 1