Skip to content

check Env #131

@quintos85

Description

@quintos85

Hello @Yannik i have a question:

I scheduled renew_certificate.sh with cron, but I have a problem. The values of the PATH variable change whether I access via ssh or not (this creates a problem with the python part), as you can see from the logs I attached showing how the values change when I access via ssh and when I don't. What could be the reason?

log:

Checking whether to renew certificate on Thu, 03 Jul 2025 10:15:00 +0200
path value: /opt/bin:/opt/sbin:/share/CACHEDEV1_DATA/.qpkg/container-station/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
Renewing certificate...
qnap-letsencrypt version: d8e3546
Using python path: python3
Checking whether to renew certificate on Thu, 03 Jul 2025 10:45:00 +0200
path value: /bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
Renewing certificate...
/share/CACHEDEV1_DATA/letsencrypt/qnap-letsencrypt/renew_certificate.sh: line 55: git: command not found
qnap-letsencrypt version:
Using python path: /share/CACHEDEV1_DATA/.qpkg/Python3/opt/python3/bin/python3

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions