You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Official support / packaging guidance for fnOS (Feiniu NAS) deployments
#8813
Many Chinese-speaking users run QwenPaw on fnOS (飞牛 NAS). Today this only works through community-built .fpk packages plus a set of manually reapplied patches. Every release risks breaking the deployment (blank entry page, missing channels, upgrade failures). I'd like to propose official support or, at minimum, official packaging guidance.
Background / related work (already fixed, for context only)
The community fork yuexps/QwenPaw-FNOS carries additional 2.3.0 packaging fixes (channel plugin [channels] extra, dependency reinstall on upgrade, and a gateway route fix for the console basename). These are currently maintained outside the official tree.
What remains hard for NAS users
Console base path: 2.3.0 introduced VITE_CONSOLE_BASENAME, but it is baked in at build time. On fnOS the entry is served under a prefixed path (e.g. /app/qwenpaw_yuexps), so a default build renders a blank iframe. The fix currently requires patching fngateway.py after install.
No official .fpk: users depend on community packages that can lag behind releases or omit fixes.
Upgrade reliability: upgrades can overwrite local patches, and on HDD-based NAS the flow is very slow (see 更新流程对机械硬盘用户不友好,耗时约1.5小时 #6380).
Proposal (pick any subset that fits the project's scope)
Make the console base path configurable at runtime (env var or settings) rather than only at build time, so prefixed-path deployments don't need a code patch.
Publish or certify an official fnOS package, or document a supported self-packaging path.
Add a short restricted-environment deployment section to the docs: which env vars to set (QWENPAW_DEPENDENCY_STATE_DIR, HOME, etc.) and the expected directory layout.
Acceptance criteria (suggested)
A stock QwenPaw release can be installed on fnOS and opened at its prefixed console URL without patching source files.
Documentation lists the required env vars for app users with no writable passwd home.
Happy to provide the exact fngateway.py diff and the community packaging recipe if useful. I already proposed an analogous set of source fixes to the community fork (PR #2 there).
Note: submitted on behalf of the QwenPaw-FNOS community fork maintainers.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Summary
Many Chinese-speaking users run QwenPaw on fnOS (飞牛 NAS). Today this only works through community-built
.fpkpackages plus a set of manually reapplied patches. Every release risks breaking the deployment (blank entry page, missing channels, upgrade failures). I'd like to propose official support or, at minimum, official packaging guidance.Background / related work (already fixed, for context only)
homepoints to a non-existent/home/<appuser>and/homeis not writable, so startup crashed resolving the dependency-state root. Thanks — this is fixed and appreciated.yuexps/QwenPaw-FNOScarries additional 2.3.0 packaging fixes (channel plugin[channels]extra, dependency reinstall on upgrade, and a gateway route fix for the console basename). These are currently maintained outside the official tree.What remains hard for NAS users
VITE_CONSOLE_BASENAME, but it is baked in at build time. On fnOS the entry is served under a prefixed path (e.g./app/qwenpaw_yuexps), so a default build renders a blank iframe. The fix currently requires patchingfngateway.pyafter install..fpk: users depend on community packages that can lag behind releases or omit fixes.Proposal (pick any subset that fits the project's scope)
QWENPAW_DEPENDENCY_STATE_DIR,HOME, etc.) and the expected directory layout.Acceptance criteria (suggested)
Happy to provide the exact
fngateway.pydiff and the community packaging recipe if useful. I already proposed an analogous set of source fixes to the community fork (PR #2 there).Note: submitted on behalf of the QwenPaw-FNOS community fork maintainers.
All reactions