Skip to content

Creating event crashes node service. #489

@nzsambo

Description

@nzsambo

Describe the bug
When creating an event it crashes the node service and produces this error:

Kener version 3.2.19 is running!
node:fs:440
return binding.readFileUtf8(path, stringToFlags(options.flag));
^

Error: ENOENT: no such file or directory, open '/opt/kener/build/server/templates/event_update.html'
at Object.readFileSync (node:fs:440:20)
at PushDataToQueue (file:///opt/kener/build/server/chunks/controller-523e1f21.js:375:28)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/opt/kener/build/server/templates/event_update.html'
}

Node.js v24.7.0

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Version
3.2.19

Environment
npm install on ubuntu based lxc

Database
sqlite

Expected behavior
To not crash and create a maintenance schedule

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