I bet that’s the old Caddy executable you have laying around. Can you try this command? ./caddy version
If that works, then the downloaded file is correct. You will have to copy this file to where the old Caddy was. To know where it is in your operating system, run which caddy. It will give you the location of where the Caddy executable is.
Thanks a lot.
with ./caddy version i got 2.0 !
then with command which caddy, i got /usr/local/bin/caddywhich is what is set in my caddy.service.
I replace with new caddy by mv caddy /usr/local/bin
then reboot my Raspberry.
And great, caddy version returned 2.0
thanks a lot.
Issue is closed.
There was conflict of Caddy.
Tom.