Expand my Community achievements bar.

SOLVED

Error: Upload Shared HTML Resources FAILURES: Failed Shared HTML Resource Upload

Avatar

Level 2

Hi,

I have created an App in AEM 6.1 (SP1). I have completed the full cycle in my local from creating the App Template/Components, Connecting with AEM Mobile, Uploading Article, Uploading Shared resources etc. All works fine from my local but when I deployed my code in one of our test environments and tried the same thing I am getting following error when Uploading Shared Resources and images from DAM aren't showing in Preflight.

Upload Shared HTML Resources FAILURES: Failed Shared HTML Resource Upload

I checked the logs but there is nothing there.

Please help..

Regards,

PM

1 Accepted Solution

Avatar

Correct answer by
Level 8

Hi PM;

Can you look at the AEM error.log and see if there is anything there?  AEM should log the problem at some level.  If you could provide a screen shot of the error in the log it would help

Also, can you tell us how big the HTML Resources file is?  Info on the number of individual files in that resources file would help as well (I believe MODs has a limit to the number of files in a single MODs entity).

You can get the resource file from a URL (see below):

http://<<server:port>>/content/mobileapps/<<<PROJECT_URI>>.sharedResources.dpsExport.zip

For example:  http://localhost:4502/content/mobileapps/geometrixx-unlimited.sharedResources.dpsExport.zip

View solution in original post

4 Replies

Avatar

Level 8

Are you using AEM Mobile 6.1 Feature Pack 3 (on top of SP1)?  

Avatar

Level 2

Hodmi Yes I have FP3 and sample installed. In console I can see error GATEWAY TIME OUT (500).

Avatar

Correct answer by
Level 8

Hi PM;

Can you look at the AEM error.log and see if there is anything there?  AEM should log the problem at some level.  If you could provide a screen shot of the error in the log it would help

Also, can you tell us how big the HTML Resources file is?  Info on the number of individual files in that resources file would help as well (I believe MODs has a limit to the number of files in a single MODs entity).

You can get the resource file from a URL (see below):

http://<<server:port>>/content/mobileapps/<<<PROJECT_URI>>.sharedResources.dpsExport.zip

For example:  http://localhost:4502/content/mobileapps/geometrixx-unlimited.sharedResources.dpsExport.zip

Avatar

Level 2

Hi Hodmi,

Yes, there were some big unwanted files there which i think was causing this. I removed them and things works fine.

Thank you,

PM