Decrypt file using command line

Thanks Dimitri, now I was able to identify the issue. It says that there is no key. (gpg: decryption failed: No secret key)

I tried to list the keys in the server, but when I run the task in the server it doesn’t return any key.

image

But running the command locally I can see the private key.
My user is admin in the server , same thing to Easymorth server service account. Any reason to the server account can’t see the key?

thanks,
Renata