Adding self-hosted runner gives Must not run with sudo when running error

Hello everyone,
I am trying to add a self-hosted runner. When I get to the part where I am supposed to execute, I get the following message:

Must not run with sudo when running

I get a similar message when I execute Please any pointers as to what I could be doing wrong is highly appreciated. Thank you.

I have been to sort the problem by using another user other than root. I now get the following error message:

Failed to resolve full path of the current executable [/proc/self/exe]

Any pointers on how to resolve this would be greatly appreciated.