fix logs doc_indexer failing + force python 3.9

1 job for sdarocha-master-patch-24918 in 21 seconds (queued for 1 second)