mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Kuma SQLite error on Azure Web App #4031
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#4031
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @R8iKKo on GitHub (Mar 13, 2025).
⚠️ Please verify that this question has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
After no manual action, I am not able to log into Kuma, from Azure Log Stream I see that there is a error with SQLite
📝 Error Message(s) or Log
Trace: [Error: SELECT * FROM heartbeat WHERE monitor_id = '1' ORDER BY time DESC LIMIT 100 - SQLITE_CORRUPT: database disk image is malformed] {errno: 11, code: 'SQLITE_CORRUPT'} at originalConsole. [as trace] (/agents/nodejs/node_modules/diagnostic-channel-publishers/dist/src/console.pub.js:43:39) at process.unexpectedErrorHandler (/app/server/server.js:1872:13) at process.emit (node:events:519:28) at emitUnhandledRejection (node:internal/process/promises:250:13) at throwUnhandledRejectionsMode (node:internal/process/promises:385:19) at processPromiseRejections (node:internal/process/promises:470:17) at process.processTicksAndRejections (node:internal/process/task_queues:96:32) If you keep encountering errors, please report to https://github.com/louislam/uptime-kuma/issues
Trace: [Error: select * from
heartbeatwhere monitor_id = 1 ORDER BY time DESC limit 1 - SQLITE_CORRUPT: database disk image is malformed] {errno: 11, code: 'SQLITE_CORRUPT'}🐻 Uptime-Kuma Version
beta:2.0.0
💻 Operating System and Arch
Linux Azure ASP
🌐 Browser
Safari/Chrome
🖥️ Deployment Environment
@louislam commented on GitHub (Mar 13, 2025):
It has been mentioned it the README:
@DavidDeSloovere commented on GitHub (Apr 23, 2025):
For future reference, I now use docker compose as deployment and have set the env variable
WEBSITES_ENABLE_APP_SERVICE_STORAGEtotrue.You can enable FTPS and upload your kuma files (like kuma.db) to start from an existing install.
Found some info here: https://stackoverflow.com/a/64020044/292410