Squiz matrix error - File upload


#1

Running matrix 5.4.3.1

Hi team,

when replacing a existing file asset within admin, the following warning is received

**Matrix Warning **
File:
[SYSTEM_ROOT]/core/assets/files/pdf_file/pdf_file.inc
Line:
228
Message:
Error occurred while getting contents for pdf File Asset #2946755 : Unknown Error. [CORE0324]
Backtrace:
Show

The assets are actually replaced fine and there is no warning in the error logs reported. Can anyone shed some light?


(David Schoen) #2

Matrix is trying to convert the PDF to text using the PDF to HTML tool, which has been deprecated from Matrix 5.2 in favour of Apache Tika.

It’s probably time to upgrade to Tika, ensure it runs ok and that Matrix is configured to be able to find it.

https://matrix.squiz.net/manuals/system-configuration/chapters/external-tools-configuration#Keyword-Extraction-Tools

The failure you’re getting will cause the file to not show up in the Matrix search index.


#3

sweet, thanks for that - and good to know that no updating will cause files not to turn up in the index - I’ll pop this back to the team.

Just as a note squiz did upgrade our system in December last year - just query that this maybe be included or mentioned as part of the upgrade, so the systems team could have included it?

I’ll pop this along through our team . Thanks heaps for the help!

Cheers
Fuzz


#4

Hey david, Just want to let you know with the install of Tika all good! thanks heaps