I installed MediaWiki from the docker official container (https://hub.docker.com/_/mediawiki/) in a Google Cloud VM running Debian. All appears to be working fine, except that the category links are not updating (i.e., when I add or change categories or some pages' categories, these changes are not recognized by the indexes of pages within categories). If I run refreshLinks.php, all is updated fine.
I read in other posts that a possible reason could be the job queue (StackOverflow Q, on mw.o here, Special:Whatlinkshere and file usage aren't being updated). So I changed $wgJobRunRate to 10, set $wgRunJobsAsync to false, and ran runJobs.php, but it did not change the behaviour. If I make changes to the pages' categories, the showJobs.php will say that I have 0 jobs in queue, but the categories would be wrong. I run refreshLinks.php, and the categories are fixed.
Used versions are: Mediawiki 1.31.0; PHP 7.2.8; SQLite 3.20.1; ICU 57.1.
I appreciate your help to get the usual behavior of links are automatically updating, so I don't have to keep running refreshLinks.php.