mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #361] [Issue]: #156
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#156
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 @frynohedgehog-svg on GitHub (May 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/361
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The Engine would not start up
Expected behavior
After starting the engine in termux, it would redirect to my chrome browser and automatically open
Actual behavior
It provides the following error after the engine startup:.
{"level":50,"time":1777795751455,"pid":13111,"hostname":"localhost","err":{"type":"Error","message":"database disk image is malformed","stack":"Error: database disk image is malformed\n at e.handleError (/data/data/com.termux/files/home/Marinara-Engine/node_modules/.pnpm/sql.js@1.14.1/node_modules/sql.js/dist/sql-wasm.js:90:192)\n at e.run (/data/data/com.termux/files/home/Marinara-Engine/node_modules/.pnpm/sql.js@1.14.1/node_modules/sql.js/dist/sql-wasm.js:87:256)\n at createWithSqlJs (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/db/connection.js:59:11)\n at async buildApp (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/app.js:51:16)\n at async main (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/index.js:10:17)"},"msg":"[startup] Unhandled error during server bootstrap"}
Steps to reproduce
Environment
Logs, screenshots, or video
~/Marinara-Engine $ ./start-termux.sh
╔══════════════════════════════════════════╗
║ Marinara Engine — Termux Launcher ║
╚══════════════════════════════════════════╝
[OK] Node.js v24.14.1 found
[..] Aligning pnpm to 10.30.3 via Corepack...
[OK] pnpm 10.30.3 ready
[..] Checking for updates...
[OK] Already up to date
[..] Downloading prebuilt better-sqlite3 for Android ARM64...
[WARN] Prebuilt binary not available or incompatible with Node.js v24.14.1.
[..] Using sql.js (pure JavaScript SQLite — no compilation needed)
Lockfile is up to date, resolution step is skipped
Done in 2.2s using pnpm v10.30.3
[OK] sql.js ready
[..] Syncing database schema...
Reading config file '/data/data/com.termux/files/home/Marinara-Engine/packages/server/drizzle.config.cts'
══════════════════════════════════════════
Starting Marinara Engine on http://127.0.0.1:7860
LAN access: http://192.168.0.184:7860
══════════════════════════════════════════
{"level":50,"time":1777795751455,"pid":13111,"hostname":"localhost","err":{"type":"Error","message":"database disk image is malformed","stack":"Error: database disk image is malformed\n at e.handleError (/data/data/com.termux/files/home/Marinara-Engine/node_modules/.pnpm/sql.js@1.14.1/node_modules/sql.js/dist/sql-wasm.js:90:192)\n at e.run (/data/data/com.termux/files/home/Marinara-Engine/node_modules/.pnpm/sql.js@1.14.1/node_modules/sql.js/dist/sql-wasm.js:87:256)\n at createWithSqlJs (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/db/connection.js:59:11)\n at async buildApp (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/app.js:51:16)\n at async main (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/index.js:10:17)"},"msg":"[startup] Unhandled error during server bootstrap"}
Additional context
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:.
@frynohedgehog-svg commented on GitHub (May 3, 2026):
At the very least, is it possible to access my loreboox files?
@SpicyMarinara commented on GitHub (May 3, 2026):
v1.5.7.