Tentacle at Linux: "The owner of the x509stores is not the current user"

We’ve installed Tentacle at Linux machines, but one of them have this error when service is started: “The owner of the x509stores is not the current user”.

Here’s “service Tentacle status” result:
Redirecting to /bin/systemctl status Tentacle.service
● Tentacle.service - Octopus Deploy: Tentacle deployment agent
Loaded: loaded (/etc/systemd/system/Tentacle.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-06-03 09:05:28 CEST; 5s ago
Main PID: 23415 (Tentacle)
CGroup: /system.slice/Tentacle.service
└─23415 /opt/octopus/tentacle/Tentacle run --instance=Tentacle --noninteractive

Jun 03 09:05:28 uat-mariadb.internal.cloudapp.net systemd[1]: Started Octopus Deploy: Tentacle deployment agent.
Jun 03 09:05:28 uat-mariadb.internal.cloudapp.net systemd[1]: Starting Octopus Deploy: Tentacle deployment agent…
Jun 03 09:05:29 uat-mariadb.internal.cloudapp.net Tentacle[23415]: The owner of the x509stores is not the current user, please change ownership of the x509stores directory or run with sudo. Details: The X509 certificate could not be added to the store.

Hi @rafal.gapski,

Thanks for getting in touch!

It looks like you’re encountering a permission issue with the certificate folder. You may need to add the user that is running the Tentacle service as the owner of the .dotnet folder so that it is able to successfully ad the certificate.

Regards,
Paul

Somehow /home/octopus directory was not owned by octopus service user. Now everything works fine, ~/.dotnet directory was created by service correctly :slight_smile:

Glad you got it fixed and thanks for sharing the solution. :slight_smile:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.