mirror of
https://github.com/therootcompany/greenlock-express.js.git
synced 2025-02-23 13:18:04 +00:00
getting error when setting custom path to greenlock #32
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
Since I redeploy my app a lot I have mounted a persistant storage to save my certificates. When I try to set the path using
I get:
note the nested
node_modules
in the path.I get it when adding any path in the system.
seems like the error was casused by running npx from outside my app root directory.
Once I ran it from the app dir I've only got an unhandled promise rejection:
however the app will not run:
my server looks like this:
process.env.CERTIFICATES_PATH=/data/certificates
inside
/data/certificates
I have the files generated previously by greenlock:config.json is
the server is a nanolinode I'm certyfing it's dev address but I do plan to move to a proper domain once it works.
As you can see I have made it work once before. However once I rebuild my linde and tried to follow the same steps again it fell apart.
os: debian 10
npm -v: 6.13.7 and 6.13.4
node -v: 13.9.0 and 12.16.1