Crashed during / after cleanup
See original GitHub issue⚠️ Please verify that this bug has NOT been raised before.
- I checked and didn’t find similar issue
🛡️ Security Policy
- I agree to have read this project Security Policy
Description
No response
👟 Reproduction steps
At 3:14am, it looks like the ‘clear-old-data’ job happened. Immediately after an error was thrown and the container stopped. I did not have ‘restart=unless-stopped’ on so it was down until 9:11pm when I noticed and restarted the container.
👀 Expected behavior
That a crash does not occur
😓 Actual Behavior
Crash occurred that appears to be related to ‘clear-old-data’ job.
🐻 Uptime-Kuma Version
1.14.0
💻 Operating System and Arch
Docker on Unraid
🌐 Browser
Firefox
🐋 Docker Version
20.10.5
🟩 NodeJS Version
No response
📝 Relevant log output
today at 3:13:46 AMMonitor #22 'unifi': Successful Response: 22 ms | Interval: 60 seconds | Type: http
today at 3:14:00 AMWorker for job "clear-old-data" online undefined
today at 3:14:00 AMData Dir: data/
today at 3:14:00 AM(node:7) Warning: Accessing non-existent property 'Proxy' of module exports inside circular dependency
today at 3:14:00 AM(Use `node --trace-warnings ...` to show where the warning was created)
today at 3:14:00 AMWelcome to Uptime Kuma
today at 3:14:00 AMYour Node.js version: 16
today at 3:14:00 AMNode Env: production
today at 3:14:00 AMImporting Node libraries
today at 3:14:00 AMImporting 3rd-party libraries
today at 3:14:00 AMImporting this project modules
today at 3:14:00 AMPrepare Notification Providers
today at 3:14:00 AMVersion: 1.14.0
today at 3:14:00 AMCreating express and socket.io instance
today at 3:14:00 AMServer Type: HTTP
today at 3:14:00 AMData Dir: ./data/
today at 3:14:00 AMConnecting to the Database
today at 3:14:00 AM./server/model/monitor.js is not a valid BeanModel, skipped
today at 3:14:00 AM(node:7) Warning: Accessing non-existent property 'Proxy' of module exports inside circular dependency
today at 3:14:00 AM(node:7) Warning: Accessing non-existent property 'prototype' of module exports inside circular dependency
today at 3:14:00 AMSQLite config:
today at 3:14:00 AMSQLite config:
today at 3:14:00 AM[ { journal_mode: 'wal' } ]
today at 3:14:00 AM[ { journal_mode: 'wal' } ]
today at 3:14:00 AM[ { cache_size: -12000 } ]
today at 3:14:00 AM[ { cache_size: -12000 } ]
today at 3:14:00 AMSQLite Version: 3.36.0
today at 3:14:00 AMConnected
today at 3:14:00 AMSQLite Version: 3.36.0
today at 3:14:00 AMYour database version: 10
today at 3:14:00 AMLatest database version: 10
today at 3:14:00 AMDatabase patch not needed
today at 3:14:00 AMDatabase Patch 2.0 Process
today at 3:14:00 AM[Background Job]: {
today at 3:14:00 AM name: 'clear-old-data',
today at 3:14:00 AM message: 'Clearing Data older than 30 days...'
today at 3:14:00 AM}
today at 3:14:00 AM[Background Job]: { name: 'clear-old-data', message: 'done' }
today at 3:14:00 AMFATAL ERROR: Error::ThrowAsJavaScriptException napi_throw
today at 3:14:00 AM 1: 0xb09980 node::Abort() [node]
today at 3:14:00 AM 2: 0xa1c235 node::FatalError(char const*, char const*) [node]
today at 3:14:00 AM 3: 0xa1c23e [node]
today at 3:14:00 AM 4: 0xad139b napi_fatal_error [node]
today at 3:14:00 AM 5: 0x1457dde7c556 [/app/node_modules/@louislam/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node]
today at 3:14:00 AM 6: 0x1457dde7c9d8 Napi::Error::ThrowAsJavaScriptException() const [/app/node_modules/@louislam/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node]
today at 3:14:00 AM 7: 0x1457dde916ae node_sqlite3::Statement::Statement(Napi::CallbackInfo const&) [/app/node_modules/@louislam/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node]
today at 3:14:00 AM 8: 0x1457dde96885 Napi::ObjectWrap<node_sqlite3::Statement>::ConstructorCallbackWrapper(napi_env__*, napi_callback_info__*) [/app/node_modules/@louislam/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node]
today at 3:14:00 AM 9: 0xab44dd [node]
today at 3:14:00 AM10: 0xd54c3e [node]
today at 3:14:00 AM11: 0xd55207 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [node]
today at 3:14:00 AM12: 0x15f0bf9 [node]
today at 9:11:35 PMContainer stopped
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Disk Cleanup Crashed; now cannot clean up the disk
When going to disk cleanup the junk files that resulted, the Disk Cleanup tool said there were 12 GBs of loose files that...
Read more >Crash after Cleanup attempt · Issue #654 · opentoonz ...
I've had several crashes when experimenting with the cleanup settings using the build from March 21st on OS X 10.11.6. Crash reports are ......
Read more >Muscle car crashes into Cocoa Village tattoo shop on ...
After a multi-day cleanup campaign, King Street Body Gallery reopened for business at 10 a.m. Tuesday. Initially after the crash, Doubblestein ...
Read more >Crashes after cleaning "Waste Disposal" :: Viscera ...
Doing this will get you fired and will lose you any collected items in your office. But try opening another map and clocking...
Read more >After Effects won't start, stuck on "Cleaning Up"
I was using AE just fine yesterday, turned off my computer last night and there was a cumulative Windows update. Booted today and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It should be fixed, please update to 1.14.1.
It is caused by bad design of the core server.
Problems:
proxy.jsrequiredserver.js, since it is in another thread, despite it is not actually used, all code in server.js be executed again, then caused this issue.To future me:
Addressed the issue, it is because of circular dependency.