Update category option combinations in Data Administration App Issue

i have a similar error on v2.40.7.1, in dhis2 when I’m doing maintenance “Update category option combinations, Update organisation unit paths, Clear application cache, and Reload apps” I’m getting"

i get this error “An unknown error occurred - Gateway Time-out (504)

my post is available here: Update category option combinations | Update organisation unit paths | Clear application cache, and Reload apps