When I create a package in package manager, I build and install it, after which I download the package, but that gets downloaded a folder instead of a zipped file. Next if I try to upload the same page again after zipping it, it shows me error: as given in the image.
What might be wrong?
Solved! Go to Solution.
Views
Replies
Total Likes
OOTB Package manager provides only .zip if your Mac/OS decides to unzip it, it's a matter of you to config OS[1] in a way that package won't be unzipped or zip the folder back correctly, without loosing essential info for package manager system.
[1] https://www.addictivetips.com/mac-os/stop-automatically-unzipping-files-in-safari/
Regards,
Peter
Views
Replies
Total Likes
check the jcr_root folder in the zip file. a package must have the jcr_root folder. also it should not get downloaded as a folder. it should be a zip file.
are you creating package using aem package manager ?
Views
Replies
Total Likes
Yes, I created the package from AEM Package Manager, it is showing PackageName.zip but it getting downloaded as a folder.
How can I prevent it from getting downloaded as a folder? Is it some settings of the browse?
Views
Replies
Total Likes
It's weird, as you can also see package extension is ZIP.
probably can you try giving some content folder in the filter? because I Can't see anything you have selected from a filter.
Also if that doesn't work try restarting the AEM or check the same thing with your local with the same AEM version and after deleting the quickstart folder. something might be corrupt.
~ Prince
Views
Replies
Total Likes
Are you using Mac or windows. It seems your zip is getting extracted and original zip is may be in trash/bin. could you please check?
Views
Replies
Total Likes
I have cropped the area including content foldr in the provided image. I have restarted and created instance several times, but it doesn't help me.
Views
Replies
Total Likes
I use Mac.
When I get the downloaded folder I created a zip using the jcr_root and meta_inf folders, only that zip get uploaded successfully. But if I try to zip the folder itself, which contains the jcr_root and meta_inf, that doesn't get uploaded.
Views
Replies
Total Likes
Can you check downloaded zip in trash?
Views
Replies
Total Likes
I have checked, it's not there.
Infact, the problem is really peculiar. At times when I download a package, I get zipped file, which I can upload. But, at other times when I download, I get unzipped file, which on compressing doesn't gets uploaded!
Views
Replies
Total Likes
OOTB Package manager provides only .zip if your Mac/OS decides to unzip it, it's a matter of you to config OS[1] in a way that package won't be unzipped or zip the folder back correctly, without loosing essential info for package manager system.
[1] https://www.addictivetips.com/mac-os/stop-automatically-unzipping-files-in-safari/
Regards,
Peter
Views
Replies
Total Likes
Great answers everyone!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies