After each upgrade do not forget to run the following command:

fossil all rebuild