Skip to content

dashmate helper is failing #2163

@shumkov

Description

@shumkov

Expected Behavior

Shouldn't fail

Current Behavior

[FAILED] Cannot read properties of undefined (reading 'expires')
file:///platform/packages/dashmate/src/listr/tasks/ssl/zerossl/obtainZeroSSLCertificateTaskFactory.js:87
              task.output = `Certificate exists but expires in less than ${ctx.expirationDays} days at ${ctx.certificate.expires}. Obtain a new one`;
                                                                                                                         ^

TypeError: Cannot read properties of undefined (reading 'expires')
    at Task.task (file:///platform/packages/dashmate/src/listr/tasks/ssl/zerossl/obtainZeroSSLCertificateTaskFactory.js:87:122)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Task.run (file:///platform/.yarn/__virtual__/listr2-virtual-11e98e34b3/0/cache/listr2-npm-5.0.7-f7d9c71212-ec2732a45c.zip/node_modules/listr2/dist/index.js:935:11)
    at async /platform/.yarn/cache/p-map-npm-4.0.0-4677ae07c7-7ba4a2b1e2.zip/node_modules/p-map/index.js:57:22

Node.js v20.13.1
User exist: dashmate 1001
Group exist: ping 999
Starting with UID: 1001, GID: 1001, USER: dashmate, GROUP: ping
Starting dashmate helper
SSL certificate fcd5e6aea2fd8b7aa52082b503481cc0 will expire in less than 3 days at Tue Sep 24 2024 23:59:59 GMT+0000 (Coordinated Universal Time). Schedule to obtain it NOW.
Dashmate JSON-RPC API started on port 9000

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. Chrome 39, node.js 5.4):
  • Operating System and version (desktop, server, or mobile):
  • Link to your project:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions