Hi All, I'm attempting to load/'create' a pdf file into the Assets side of the AEM. It loads to about 97%, then says "0 of 1 assets uploaded". The only option provided is "Cancel". I have loaded pdfs successfully many times, and into this folder as recently as an hour ago. I even deleted the previous version of the pdf rather than "Replace" it, thinking that might be an issue. I was required to "Force Delete" because of some message that I didn't read thoroughly, now I'm thinking that message was the key as to why this pdf won't upload. Any suggestions?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @BelindaBo1
1- When you force delete an asset, sometimes the underlying file or its associated metadata might still be locked or partially deleted. This can cause issues when you try to upload a new version. Or the "Force Delete" operation may not have fully cleared all references or dependencies of the previous file. This can leave behind orphaned records in the repository, preventing a new file from being uploaded.
You can try to manually check if any remnants of the previous PDF still exist in the repository in crx/de.
Delete them manually and try uploading the PDF again.
2- Sometimes the AEM repository or internal cache might become inconsistent, especially after forced deletions. You have to restart AEM or If you are using a dispatcher in front of AEM, Clear Dispatcher Cache.
3- Check AEM Server Logs for specific errors.
Hi @BelindaBo1
1- When you force delete an asset, sometimes the underlying file or its associated metadata might still be locked or partially deleted. This can cause issues when you try to upload a new version. Or the "Force Delete" operation may not have fully cleared all references or dependencies of the previous file. This can leave behind orphaned records in the repository, preventing a new file from being uploaded.
You can try to manually check if any remnants of the previous PDF still exist in the repository in crx/de.
Delete them manually and try uploading the PDF again.
2- Sometimes the AEM repository or internal cache might become inconsistent, especially after forced deletions. You have to restart AEM or If you are using a dispatcher in front of AEM, Clear Dispatcher Cache.
3- Check AEM Server Logs for specific errors.
Hi @BelindaBo1
Hi @BelindaBo1
What is the size of the PDF?
Please check if below helps
https://www.aemtutorial.info/2021/11/aem-asset-upload-size-restriction-how.html
Hi arunpatidar
It was 574kB but I compressed it to 114kB and it uploaded successfully. I don't thnk file size was the issues, though, I suspect it was a caching issue in the AEM. In any event, it is working now, so all is well. Thank you for your interest.
@BelindaBo1 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies