Skip to content

[BUG] Save to Disk crashes Pod #1825

Open
@sychyoboN

Description

@sychyoboN

Environment

Self-Hosted (containerd)

System

Kubernetes rke2 v1.29.11+rke2r1

Version

lissy93/dashy:release-3.1.1

Describe the problem

Application has been deployed used this helm chart and using default values except for changing servicetype to NodePort and enabling an nginx ingress.

When attempting to Save config locally using interactive UI, Pod crashes with the following error message:

node:events:496
      throw er; // Unhandled 'error' event
      ^
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
    at ServerResponse.end (node:_http_outgoing:1021:15)
    at /app/server.js:159:47
    at module.exports (/app/services/save-config.js:69:9)
Emitted 'error' event on ServerResponse instance at:
    at emitErrorNt (node:_http_outgoing:857:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
  code: 'ERR_STREAM_WRITE_AFTER_END'
}
Node.js v20.11.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "start" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I'm curious to know how this config change is persisted with no PVC configured, I'm assuming it needs to persist these changes in the configmap but unsure exactly.

Additional info

No response

Please tick the boxes

Metadata

Metadata

Assignees

Labels

🐛 Bug[ISSUE] Ticket describing something that isn't working👤 Awaiting Maintainer Response[ISSUE] Response from repo author is pending

Projects

Status

Awaiting Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions