Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Adobe 6.5 cloud: "package file parameter missing" during package upload

Avatar

Level 2

Hi all,

I just started a new local env with SDK 2021.9.5800.20210903T095431Z (released on 6 sep 2021) on Windows 10 but I'm facing an issue during some packages upload on CRX.

With some packages I get the failure message "package file parameter missing".

Stochino_1-1631631284631.png

 

But these package are not corrupted, they are the same ones I used to upload on a local server using a previous version of the SDK, without any problem.

 

Reading on other questions, I found out that this problem could be related to the lack of space of the java temp folder, so I figured out how to change the Java temp path with a custom folder but still I get the same error message.

I just added properly these configuration on the start bat and on my starting command:

-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=absPathOfMyNewJavaTemp
-Djava.io.tmpdir=absPathOfMyNewJavaTemp

Checking on System Properties of the server, java temp folder was changed successfully, but the issue persists and packages cannot be uploaded with the same failure message.

 

I tried to increase also "Xmx" and "MaxPermSize" parameters size on the running command, but it didn't work.

 

Can someone help me to solve this issue?

 

Thanks in advance,

 

Luca

 

----------------------------------

EDIT:

I tried out to build up an older instance of an AEM SDK (dec 2021), and I still have the same issue.

 

So I think no more this could be an issue related to the SDK.

By the way, I noticed that on the Java temp directory (already customized as explained before), every upload creates a "dat" file related to each "big" package I try to upload via crx.

 

This dat file increases its size as long as the package is uploading on crx, but it just reaches the limit of 45,7 MB and then the upload crashes with always that same error dialog.

 

Could anyone help me? 

Could this be related to my temp folder?

 

Thanks in advance,

Luca

 

8 Replies

Avatar

Level 6

@Stochino Can you please cleared your browser cache and check or you can also try to upload the package from other browsers. Please post if you still face the issue.

 

If you are trying on your local instance then you can also use the below curl command to upload the package from backend. Ideally it should done from package manager if you have any urgent then try it.

 

curl -u admin:admin -F cmd=upload -F force=true -F package=@test-2.0.zip http://localhost:4502/crx/packmgr/service/.json
 
Thank You.
Keshav Chaurasiya

Avatar

Level 2

I just tried from other browsers.

The issue is still present.

Unfortunately, I am not able to upload packages via curl on my remote envs, so I cannot consider that way as a final solution.

Avatar

Level 6

@Stochino Can you create one more time fresh local AEM environment and check whether you are able to upload the package or not. If you are able to upload the package that means your old environment is corrupted if not able to upload the package on your new local instance then, i assuming there might be issue with AEM license may be old license. Please check and let me know.

Thank You.

Keshav Chaurasiya

Avatar

Level 2

Hi @kchaurasiya 

I tried to re-install the environment, but I get the same issue during a package uploading.

By the way, I tried out to build up an older instance of an AEM SDK (dec 2021), and I still have the same issue.

 

So I think no more this could be an issue related to the SDK.

What do you think about?

 

Thanks in advance,

Luca

Avatar

Community Advisor

Hi @Stochino,

 

You can try below steps

  1. Logout and Login into the AEM
  2. Clear the cache of the browser
  3. Try uploading in incognito mode
  4. Try creating an install folder in crx-quickstart folder , rop the package in it and restart the instance

Hope this helps!

 

Thanks,

Kiran Vedantam.

Avatar

Level 2

I just tried all solutions you suggested.

The issue is still present.

Avatar

Level 5

@Stochino I am also having the same problem. In my case the package size was small so I used "crx-quickstart/install" folder to load the package on server startup . 

But I think that would not be a proper solution to the problem.

As per my analysis I have also tried all the suggested methods but nothing worked. Please do let me know if you have any progress on the solution or the root cause for the same.

Avatar

Administrator

@ravi_joshi , good to have great SME like you in the AEM community and thank you for answering. 



Kautuk Sahni