I manage to hit this issue again.
I wen to test instance, copied data from production and DB dump as well, injected into test, and perform the upgrade, all wen fine (first I moved to 11.0 and then to 11.10). So I thought I may have done a mistake before, so I decided to go ahead and do it in production and the same happened again, a lot of icons are missing. I wen straight from 10.11 to 11.10 merging files, changing storage location and deleting solr.
I have now screwed my prod wiki…
Any help here?
WARN d.AttachmentUnifiedDiffBuilder - Failed to compare the content of attachment [img.png]. Root cause: XWikiException: Error number 3002 in 3: The attachment [Attachment xwiki:XWiki.XWikiSyntaxImages@img.png] (file /usr/local/xwiki/data/store/file/xwiki/b/a/aae6d74b0f5b2287bb6b9ed962b946/attachments/d/1/0c88f869301b1238f53cfdff8e9d7c/f.png) could not be found in the filesystem attachment store.
2020-09-16 10:35:55,914 [XWiki initialization] WARN d.AttachmentUnifiedDiffBuilder - Failed to compare the content of attachment [img.png]. Root cause: XWikiException: Error number 3002 in 3: The attachment [Attachment xwiki:XWiki.XWikiSyntaxLinks@img.png] (file /usr/local/xwiki/data/store/file/xwiki/8/d/649084435d65ddb826004b06a09929/attachments/d/1/0c88f869301b1238f53cfdff8e9d7c/f.png) could not be found in the filesystem attachment store.
2020-09-16 10:35:56,468 [XWiki initialization] WARN d.AttachmentUnifiedDiffBuilder - Failed to compare the content of attachment [AnnotationsSectionIcon.png]. Root cause: XWikiException: Error number 3002 in 3: The attachment [Attachment xwiki:AnnotationCode.AnnotationConfig@AnnotationsSectionIcon.png] (file /usr/local/xwiki/data/store/file/xwiki/1/e/eddb53ddf348eb1c96ab28a0337204/attachments/c/2/c61ac346456238efb1fc44408107dc/f.png) could not be found in the filesystem attachment store.
A lot of entries like this are present and those files were existing before the migration.