andrew-codes / home-automation

Various home automation services in containers automatically deployed via local GitHub actions; all within a local k8s cluster.
MIT License
22 stars 2 forks source link

zwavejs is broken #910

Closed andrew-codes closed 2 months ago

andrew-codes commented 5 months ago

Cannot start the service post upgrading to :9 tag.

Error: EMFILE: too many open files, watch '/usr/src/app/store'
    at FSWatcher.<computed> (node:internal/fs/watchers:247:19)
    at Object.watch (node:fs:2418:34)
    at watch (/usr/src/app/server/lib/Gateway.js:74:35)
    at Object.<anonymous> (/usr/src/app/server/lib/Gateway.js:125:1)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)
andrew-codes commented 4 months ago

Unknown fix. Restarted VM/entire Node and issue is resolved.