https://developer.fnnas.com/docs/quick-started/create-application
将示例项目下载后无修改上传到nas打包, 安装后访问, 前端提示500, journalctl提示
trim_http_cgi[1400]: 2026/03/10 20:39:07 CGI error: fork/exec index_3.cgi: no such file or directory
查看文件系统 /vol1/@appcenter/App.Native.HelloFnosAppCenter/ui/index.cgi 文件是存在的
最后发现是文件index.cgi中多了CR符号, 用vim去掉就行了
vim index.cgi
:set fileformat=unix
:wq