About traefik updation

Hi in my infrastructure configured traefik with portainer when tried to upgrade the traefik version to 2.1 to 2.9 getting an issue portainer getting 404 status tried it on centos its working fine with that only its getting on rockylinux please any one help me on this