fix: apply initcfg at startup, add memoryLimit, fix postInstallMessage #10
No reviewers
Labels
No labels
in-progress
needs-review
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
wazolab/cloudron-copyparty!10
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/packaging-issues-6-7-9"
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?
Summary
start.sh: use-c /app/code/initcfginstead of-c /app/data/cfg/copyparty.conf—initcfgwas created in the Dockerfile but never passed to copyparty, sochdir:/app/data/state,no-crt, and the% /app/data/cfginclude were silently ignored. Withoutchdir, copyparty would attempt to write its SQLite index to/app/code(read-only at runtime) and crash.CloudronManifest.json: addmemoryLimit: 1073741824(1 GB) — the Cloudron default of 256 MB is insufficient for FFmpeg + multimedia indexing.CloudronManifest.json: fixpostInstallMessage— it referencedadmin:in logs but the actual line is=> ADMIN PASSWORD:. Now also points to/app/data/cfg/copyparty.confas a more reliable fallback.Test plan
/app/data/cfg/copyparty.confwith admin credentialse2dsa/e2ts) runs without errors/app/data/state/(not/app/code/)