Issue Bug Closed

#61154"Migrate all file links of RTE-enabled fields to FAL" fails with "Reference index was probably out of date."

Christoph Ascherl 08/22/14, 18:37 updated 11/10/17, 11:41

Description

Meanwhile I did upgrades from TYPO3 4.7 to 6.2 for three different instances and every time I ran into this problem.
Reason are links in content elements of hidden or (from database point of view: logical) deleted pages where the target (usually the file in fileadmin) does not exist anymore.

cli_dispatch.phpsh lowlevel_refindex -c

I found this workaround which requires using a SQL client for the mysql database:
1) check if the result of this query matches the list of “Reference index was probably out of date” elements

select * from sys_refindex where softref_key = 'typolink_tag' AND ref_table = '_FILE';

2) If so you can update these records:

update sys_refindex set softref_key = 'typolink' where softref_key = 'typolink_tag' AND ref_table = '_FILE';

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.