mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8668] [Issue]: Package runtimes look for .env outside the data folder (Noodle: EACCES '/.env') #8451
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#8451
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 @SpicyMarinara on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8668
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Engine-side tracking for Pasta-Devs/Marinara-Agents#2036, reported by Rojikku: on a source install outside Docker, every boot with Noodle logs
[runtime-config] Could not auto-create .env file ... EACCES open '/.env'.Cause
Some package servers bundle the Engine's
runtime-config: Noodle 1.5.12, Conversation Calls 1.1.7 and Slurp 0.4.15. The Engine runs each from a runtime copy underDATA_DIR/capability-runtime-snapshots/<id>-<version>-<uuid>/. WithoutMARINARA_ENV_FILE, the bundledruntime-configtakes the folder four levels aboveserver.mjsas its root. That is two folders above the data folder, and it then tries to create.envthere:DATA_DIRsuch as/data, that is/, so creating it fails with EACCES;<engine>/packages/, so a straypackages/.envis created there without any message.The Engine already hands package runtimes an absolute
DATA_DIRbefore importing them (prepareCapabilityRuntimeEnvironment), but not the.envpath. Fixing this is host package loading, so it belongs in the Engine; no package needs a rebuild.Expected
Package runtimes read the same
.envas the host and never create one of their own.@SpicyMarinara commented on GitHub (Nov 1, 2026):
Fixed by #8669, merged into staging.