Johann,
Thanks for the reply and the additional info. The official docker image has python 3.10 so more than likely Mayan 4.3 does not support python v3.11, the error you are seeing is probably a dependency issue. What was the reason you are upgrading python to 3.11 on the server that is hosting Mayan if I may ask?
As for moving to the docker compose method, I am also currently running a manual install and will be moving to the docker compose method. There is a post about this already about this if you want to take a look and it out lines the steps. I will be posting my upgrade experience in the near future to help others like you looking to move from manual to the docker experience.