- Backup the old database.
cp kuma.db kuma.bak.db- Fix the old database tables, excepts
settingtable.
sqlite3 kuma.db ".dump api_key monitor_tag docker_host monitor_tls_info group notification heartbeat notification_sent_historyincident proxy maintenance maintenance_status_page status_page monitor status_page_cname monitor_group tag monitor_maintenance user monitor_notification" | sed -e 's|^ROLLBACK;\( -- due to errors\)*$|COMMIT;|g' | sqlite3 recover.db