Missing sites on server restart #54

Closed
opened 2020-06-25 16:41:24 +00:00 by Ghost · 2 comments

Every time my server restarts, I find myself having to rerun the npx greenlock add command...

here is the error I receive

Warning: find({}) returned 0 sites.
Does @greenlock/manager implement find({})?
Did you add sites?
npx greenlock add --subject example.com --altnames example.com

Why does this happen?

Every time my server restarts, I find myself having to rerun the npx greenlock add command... here is the error I receive Warning: `find({})` returned 0 sites. Does `@greenlock/manager` implement `find({})`? Did you add sites? npx greenlock add --subject example.com --altnames example.com Why does this happen?
Owner

Most likely it's because you're using some sort of system like EC2 or Docker or "serverless" that doesn't actually store any information between restarts.

I'd recommend using Digital Ocean's $5/month VPS "droplets", which are persistent servers. I hear good things about Vultr, OVH, and Scaleway as well - but I've used DO for years and they're rock solid reliably and competitively priced.

Otherwise you need to look into mounted volumes, database storage, or something else that's probably more complex and less reliable than what you really want for a simple server.

Most likely it's because you're using some sort of system like EC2 or Docker or "serverless" that doesn't actually store any information between restarts. I'd recommend using Digital Ocean's $5/month VPS "droplets", which are persistent servers. I hear good things about Vultr, OVH, and Scaleway as well - but I've used DO for years and they're rock solid reliably and competitively priced. Otherwise you need to look into mounted volumes, database storage, or something else that's probably more complex and less reliable than what you really want for a simple server.
Owner

I'm assuming that because you didn't respond that this was the solution to your problem.

Closing, but re-open if needed.

I'm assuming that because you didn't respond that this was the solution to your problem. Closing, but re-open if needed.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: root/greenlock-express.js#54
No description provided.