I don’t know how you can get the internal server error if as you also say “I cannot start avast.”
We as questions to gather information on how to best help, without it we are blind.