filecoin-station / core

Station is a visionary network that connects your computer's idle resources to the Filecoin network and rewards you with FIL
https://filstation.app
Other
27 stars 8 forks source link

Error: Negative jobs completed for zinnia #583

Closed sentry-io[bot] closed 1 week ago

sentry-io[bot] commented 2 weeks ago

Sentry Issue: STATION-CORE-C9G

Error: Negative jobs completed for zinnia
  File "/usr/local/lib/node_modules/@filecoin-station/core/lib/metrics.js", line 55, in Metrics.submit
    new Error(`Negative jobs completed for ${moduleName}`)
  File "/usr/local/lib/node_modules/@filecoin-station/core/commands/station.js", line 132, in onMetrics
    onMetrics: m => metrics.submit('zinnia', m)
  File "/usr/local/lib/node_modules/@filecoin-station/core/lib/zinnia.js", line 387, in handleEvents
    onMetrics({ totalJobsCompleted })
  File "/usr/local/lib/node_modules/@filecoin-station/core/lib/zinnia.js", line 282, in Socket.?
    handleEvents({
  File "node:events", line 531, in Socket.emit
...
(5 additional frame(s) were not displayed)
bajtos commented 2 weeks ago

From the console log:

[2024-08-27T07:29:47Z INFO  module:spark/main] Measurement submitted (id: 7318579854)
thread 'main' panicked at daemon/station_reporter.rs:151:14:
called `Result::unwrap()` on an `Err` value: Cannot write state to /app/state/modules/zinnia/state.json

Caused by:
    No space left on device (os error 28) at path "/app/state/modules/zinnia/.atomicwriteGGettF"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5

We suspect Zinnia reports 0 job count when it cannot find or update the state file.