收起左侧

便签打开是空白

13
回复
305
查看
[ 复制链接 ]

2

主题

4

回帖

0

牛值

江湖小虾

2025-11-28 11:19:35 显示全部楼层 阅读模式

设备环境:物理机i3-8100T,16G,nas版本fnos 1.0.0
BUG现象:昨天便签APP上线后第一时间就下载安装了,也指定了存储空间。但是桌面双击便签后打开空白,不能使用。

出现频率:必现,卸载重装也是这样

联系方式:论坛

日志:没有报错,找不到日志。

image.png

收藏
送赞
分享

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

1

主题

1673

回帖

200

牛值

社区共建团

fnOS1.0上线纪念勋章社区共建团荣誉勋章飞牛百度网盘玩家

2025-11-28 16:11:00 显示全部楼层

日志在 /你安装的存储空间/@appdata/note,这个目录下。监听的端口是10030

你好 文**志在下面,显示404.。10030  详情 回复
2025-11-28 17:59
冬眠~Connection refused.

2

主题

4

回帖

0

牛值

江湖小虾

2025-11-28 17:54:00 楼主 显示全部楼层

这是日志文件,现在我的便签就是用不了,双击点开是空白界面,没有像影视那样跳转,也没有显示内容。

2

主题

4

回帖

0

牛值

江湖小虾

2025-11-28 17:54:35 楼主 显示全部楼层
2025-11-27 20:00:40 - Starting process ...
2025/11/27 20:00:40 SQLite 数据库连接成功

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.038ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.707ms] [rows:0] CREATE TABLE `configs` (`key` text,`value` text,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.462ms] [rows:0] CREATE UNIQUE INDEX `idx_configs_key` ON `configs`(`key`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.047ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="notes"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.589ms] [rows:0] CREATE TABLE `notes` (`id` integer PRIMARY KEY AUTOINCREMENT,`tag_id` integer,`user_id` integer,`title` text,`description` text,`type` integer DEFAULT 0,`is_encrypt` integer DEFAULT 0,`pages` integer DEFAULT 1,`state` integer DEFAULT 0,`edits` integer DEFAULT 1,`ip` text,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.681ms] [rows:0] CREATE INDEX `idx_notes_is_delete` ON `notes`(`is_delete`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.724ms] [rows:0] CREATE INDEX `idx_notes_state` ON `notes`(`state`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[24.619ms] [rows:0] CREATE INDEX `idx_notes_is_encrypt` ON `notes`(`is_encrypt`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[24.671ms] [rows:0] CREATE INDEX `idx_notes_type` ON `notes`(`type`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[25.448ms] [rows:0] CREATE INDEX `idx_notes_user_id` ON `notes`(`user_id`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.811ms] [rows:0] CREATE INDEX `idx_notes_tag_id` ON `notes`(`tag_id`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.059ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_contents"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.811ms] [rows:0] CREATE TABLE `note_contents` (`id` integer PRIMARY KEY AUTOINCREMENT,`note_id` integer,`page` integer DEFAULT 1,`content` text,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.328ms] [rows:0] CREATE INDEX `idx_note_contents_is_delete` ON `note_contents`(`is_delete`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.977ms] [rows:0] CREATE INDEX `idx_note_contents_note_id` ON `note_contents`(`note_id`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.063ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_tags"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.079ms] [rows:0] CREATE TABLE `note_tags` (`id` integer PRIMARY KEY AUTOINCREMENT,`user_id` integer NOT NULL,`title` text,`state` integer DEFAULT 0,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[23.686ms] [rows:0] CREATE INDEX `idx_note_tags_is_delete` ON `note_tags`(`is_delete`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.087ms] [rows:0] CREATE INDEX `idx_note_tags_state` ON `note_tags`(`state`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.497ms] [rows:0] CREATE INDEX `idx_note_tags_user_id` ON `note_tags`(`user_id`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.053ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="users"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.590ms] [rows:0] CREATE TABLE `users` (`id` integer PRIMARY KEY AUTOINCREMENT,`name` text,`account` text,`password` text,`login_ip` text,`state` integer DEFAULT 0,`is_admin` integer DEFAULT 0,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.327ms] [rows:0] CREATE INDEX `idx_users_is_delete` ON `users`(`is_delete`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.258ms] [rows:0] CREATE INDEX `idx_users_is_admin` ON `users`(`is_admin`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[22.395ms] [rows:0] CREATE INDEX `idx_users_state` ON `users`(`state`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[24.803ms] [rows:0] CREATE UNIQUE INDEX `idx_users_account` ON `users`(`account`)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[0.048ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_share_links"

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[24.957ms] [rows:0] CREATE TABLE `note_share_links` (`id` integer PRIMARY KEY AUTOINCREMENT,`note_id` integer,`user_id` integer,`share_code` text,`expire_time` integer DEFAULT 0,`state` integer,`create_time` integer,`update_time` integer)

2025/11/27 20:00:40 /www/wwwroot/note-api/main.go:26
[25.896ms] [rows:0] CREATE INDEX `idx_note_share_links_state` ON `note_share_links`(`state`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[26.514ms] [rows:0] CREATE INDEX `idx_note_share_links_expire_time` ON `note_share_links`(`expire_time`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.531ms] [rows:0] CREATE INDEX `idx_note_share_links_share_code` ON `note_share_links`(`share_code`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.021ms] [rows:0] CREATE INDEX `idx_note_share_links_user_id` ON `note_share_links`(`user_id`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.220ms] [rows:0] CREATE INDEX `idx_note_share_links_note_id` ON `note_share_links`(`note_id`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[0.053ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="uploads"

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.445ms] [rows:0] CREATE TABLE `uploads` (`id` integer PRIMARY KEY AUTOINCREMENT,`user_id` integer,`ori_name` text,`name` text,`file_size` integer,`mime_type` text,`ip` text,`path` text,`file_ext` text,`file_hash256` text,`is_delete` integer DEFAULT 0,`state` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.719ms] [rows:0] CREATE INDEX `idx_uploads_state` ON `uploads`(`state`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[23.662ms] [rows:0] CREATE INDEX `idx_uploads_is_delete` ON `uploads`(`is_delete`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[24.209ms] [rows:0] CREATE UNIQUE INDEX `idx_uploads_file_hash256` ON `uploads`(`file_hash256`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[24.781ms] [rows:0] CREATE INDEX `idx_uploads_file_ext` ON `uploads`(`file_ext`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[24.853ms] [rows:0] CREATE INDEX `idx_uploads_mime_type` ON `uploads`(`mime_type`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[24.455ms] [rows:0] CREATE INDEX `idx_uploads_name` ON `uploads`(`name`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[24.080ms] [rows:0] CREATE INDEX `idx_uploads_ori_name` ON `uploads`(`ori_name`)

2025/11/27 20:00:41 /www/wwwroot/note-api/main.go:26
[25.027ms] [rows:0] CREATE INDEX `idx_uploads_user_id` ON `uploads`(`user_id`)
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env:        export GIN_MODE=release
- using code:        gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /uploads/*filepath        --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)
[GIN-debug] HEAD   /uploads/*filepath        --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)

2025/11/27 20:00:41 /www/wwwroot/note-api/models/confi**odel.go:22 record not found
[0.106ms] [rows:0] SELECT * FROM `configs` WHERE `key` = "jwt-secret_key" ORDER BY `configs`.`key` LIMIT 1

2025/11/27 20:00:41 /www/wwwroot/note-api/models/confi**odel.go:31 record not found
[0.058ms] [rows:0] SELECT * FROM `configs` WHERE `key` = "jwt-secret_key" ORDER BY `configs`.`key` LIMIT 1

2025/11/27 20:00:41 /www/wwwroot/note-api/models/confi**odel.go:41
[23.804ms] [rows:1] INSERT INTO `configs` (`key`,`value`,`create_time`,`update_time`) VALUES ("jwt-secret_key","398b8c9edfa9994d752d3c41ec225682739abfa59a4e2bdcb6ab6bc41efebed4",1764244841,1764244841)
2025/11/27 20:00:41 JWT 密钥生成并保存到数据库成功

2025/11/27 20:00:41 /www/wwwroot/note-api/models/user_model.go:28 record not found
[0.202ms] [rows:0] SELECT * FROM `users` WHERE account = "admin" AND is_delete = 0 ORDER BY `users`.`id` LIMIT 1

2025/11/27 20:00:41 /www/wwwroot/note-api/models/user_model.go:65
[24.940ms] [rows:1] INSERT INTO `users` (`name`,`account`,`password`,`login_ip`,`state`,`is_admin`,`is_delete`,`create_time`,`update_time`) VALUES ("管理员","admin","$2a$10$MSdJyQzChn80muSjgWlEPOOnDWykJNoAH**cSpWwG0QgQtcmecP2","",0,1,0,1764244841,1764244841) RETURNING `id`
2025/11/27 20:00:41 默认 admin 用户已创建, 账号: admin, 密码: 123456
[GIN-debug] GET    /admin/                   --> note/controller/admin.(*IndexController).Index-fm (5 handlers)
[GIN-debug] POST   /admin/reg                --> note/controller/admin.(*UserController).Register-fm (5 handlers)
[GIN-debug] POST   /admin/login              --> note/controller/admin.(*UserController).Login-fm (5 handlers)
[GIN-debug] PUT    /admin/modifyPw           --> note/controller/admin.(*UserController).ModifyPasswd-fm (5 handlers)
[GIN-debug] PATCH  /admin/user/edit          --> note/controller/admin.(*UserController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/user/del           --> note/controller/admin.(*UserController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/user/list          --> note/controller/admin.(*UserController).List-fm (5 handlers)
[GIN-debug] POST   /admin/tag/add            --> note/controller/admin.(*NoteTagController).Add-fm (5 handlers)
[GIN-debug] PATCH  /admin/tag/edit           --> note/controller/admin.(*NoteTagController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/tag/del            --> note/controller/admin.(*NoteTagController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/tag/list           --> note/controller/admin.(*NoteTagController).List-fm (5 handlers)
[GIN-debug] POST   /admin/note/add           --> note/controller/admin.(*NoteController).Add-fm (5 handlers)
[GIN-debug] PATCH  /admin/note/edit          --> note/controller/admin.(*NoteController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/note/del           --> note/controller/admin.(*NoteController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/note/list          --> note/controller/admin.(*NoteController).List-fm (5 handlers)
[GIN-debug] POST   /admin/upload             --> note/controller/admin.(*UploadController).Image-fm (5 handlers)
[GIN-debug] POST   /admin/note/detail        --> note/controller/admin.(*NoteController).Detail-fm (5 handlers)
[GIN-debug] GET    /app/                     --> note/controller/app.(*AppIndexController).Index-fm (5 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gi ... t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on 0.0.0.0:10030
2025-11-28 11:14:36 - Stopping process ...
2025-11-28 11:14:36 - pid=743131
2025-11-28 11:14:36 - send TERM signal to PID:743131...
2025-11-28 11:14:37 - waiting process terminal... (1s/10s)
2025-11-28 11:14:37 - process killed...
2025-11-28 11:14:58 - Starting process ...
2025/11/28 11:14:58 SQLite 数据库连接成功

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[0.029ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs"

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[25.803ms] [rows:0] CREATE TABLE `configs` (`key` text,`value` text,`create_time` integer,`update_time` integer)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[25.678ms] [rows:0] CREATE UNIQUE INDEX `idx_configs_key` ON `configs`(`key`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[0.158ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="notes"

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[26.462ms] [rows:0] CREATE TABLE `notes` (`id` integer PRIMARY KEY AUTOINCREMENT,`tag_id` integer,`user_id` integer,`title` text,`description` text,`type` integer DEFAULT 0,`is_encrypt` integer DEFAULT 0,`pages` integer DEFAULT 1,`state` integer DEFAULT 0,`edits` integer DEFAULT 1,`ip` text,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[25.271ms] [rows:0] CREATE INDEX `idx_notes_is_delete` ON `notes`(`is_delete`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[26.037ms] [rows:0] CREATE INDEX `idx_notes_state` ON `notes`(`state`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[25.665ms] [rows:0] CREATE INDEX `idx_notes_is_encrypt` ON `notes`(`is_encrypt`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[24.612ms] [rows:0] CREATE INDEX `idx_notes_type` ON `notes`(`type`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[27.201ms] [rows:0] CREATE INDEX `idx_notes_user_id` ON `notes`(`user_id`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[27.995ms] [rows:0] CREATE INDEX `idx_notes_tag_id` ON `notes`(`tag_id`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[0.069ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_contents"

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[27.303ms] [rows:0] CREATE TABLE `note_contents` (`id` integer PRIMARY KEY AUTOINCREMENT,`note_id` integer,`page` integer DEFAULT 1,`content` text,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[26.812ms] [rows:0] CREATE INDEX `idx_note_contents_is_delete` ON `note_contents`(`is_delete`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[28.031ms] [rows:0] CREATE INDEX `idx_note_contents_note_id` ON `note_contents`(`note_id`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[0.063ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_tags"

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[27.121ms] [rows:0] CREATE TABLE `note_tags` (`id` integer PRIMARY KEY AUTOINCREMENT,`user_id` integer NOT NULL,`title` text,`state` integer DEFAULT 0,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[28.117ms] [rows:0] CREATE INDEX `idx_note_tags_is_delete` ON `note_tags`(`is_delete`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[26.465ms] [rows:0] CREATE INDEX `idx_note_tags_state` ON `note_tags`(`state`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[27.541ms] [rows:0] CREATE INDEX `idx_note_tags_user_id` ON `note_tags`(`user_id`)

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[0.050ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="users"

2025/11/28 11:14:58 /www/wwwroot/note-api/main.go:26
[28.955ms] [rows:0] CREATE TABLE `users` (`id` integer PRIMARY KEY AUTOINCREMENT,`name` text,`account` text,`password` text,`login_ip` text,`state` integer DEFAULT 0,`is_admin` integer DEFAULT 0,`is_delete` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[26.327ms] [rows:0] CREATE INDEX `idx_users_is_delete` ON `users`(`is_delete`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[26.776ms] [rows:0] CREATE INDEX `idx_users_is_admin` ON `users`(`is_admin`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[34.133ms] [rows:0] CREATE INDEX `idx_users_state` ON `users`(`state`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.124ms] [rows:0] CREATE UNIQUE INDEX `idx_users_account` ON `users`(`account`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[0.074ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="note_share_links"

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[25.161ms] [rows:0] CREATE TABLE `note_share_links` (`id` integer PRIMARY KEY AUTOINCREMENT,`note_id` integer,`user_id` integer,`share_code` text,`expire_time` integer DEFAULT 0,`state` integer,`create_time` integer,`update_time` integer)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.771ms] [rows:0] CREATE INDEX `idx_note_share_links_state` ON `note_share_links`(`state`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[26.876ms] [rows:0] CREATE INDEX `idx_note_share_links_expire_time` ON `note_share_links`(`expire_time`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.980ms] [rows:0] CREATE INDEX `idx_note_share_links_share_code` ON `note_share_links`(`share_code`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[25.280ms] [rows:0] CREATE INDEX `idx_note_share_links_user_id` ON `note_share_links`(`user_id`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[25.424ms] [rows:0] CREATE INDEX `idx_note_share_links_note_id` ON `note_share_links`(`note_id`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[0.050ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="uploads"

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[25.379ms] [rows:0] CREATE TABLE `uploads` (`id` integer PRIMARY KEY AUTOINCREMENT,`user_id` integer,`ori_name` text,`name` text,`file_size` integer,`mime_type` text,`ip` text,`path` text,`file_ext` text,`file_hash256` text,`is_delete` integer DEFAULT 0,`state` integer DEFAULT 0,`create_time` integer,`update_time` integer)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[25.247ms] [rows:0] CREATE INDEX `idx_uploads_state` ON `uploads`(`state`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.767ms] [rows:0] CREATE INDEX `idx_uploads_is_delete` ON `uploads`(`is_delete`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.094ms] [rows:0] CREATE UNIQUE INDEX `idx_uploads_file_hash256` ON `uploads`(`file_hash256`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.599ms] [rows:0] CREATE INDEX `idx_uploads_file_ext` ON `uploads`(`file_ext`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[23.381ms] [rows:0] CREATE INDEX `idx_uploads_mime_type` ON `uploads`(`mime_type`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.958ms] [rows:0] CREATE INDEX `idx_uploads_name` ON `uploads`(`name`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[22.899ms] [rows:0] CREATE INDEX `idx_uploads_ori_name` ON `uploads`(`ori_name`)

2025/11/28 11:14:59 /www/wwwroot/note-api/main.go:26
[24.503ms] [rows:0] CREATE INDEX `idx_uploads_user_id` ON `uploads`(`user_id`)
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env:        export GIN_MODE=release
- using code:        gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /uploads/*filepath        --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)
[GIN-debug] HEAD   /uploads/*filepath        --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)

2025/11/28 11:14:59 /www/wwwroot/note-api/models/confi**odel.go:22 record not found
[0.159ms] [rows:0] SELECT * FROM `configs` WHERE `key` = "jwt-secret_key" ORDER BY `configs`.`key` LIMIT 1

2025/11/28 11:14:59 /www/wwwroot/note-api/models/confi**odel.go:31 record not found
[0.061ms] [rows:0] SELECT * FROM `configs` WHERE `key` = "jwt-secret_key" ORDER BY `configs`.`key` LIMIT 1

2025/11/28 11:14:59 /www/wwwroot/note-api/models/confi**odel.go:41
[28.353ms] [rows:1] INSERT INTO `configs` (`key`,`value`,`create_time`,`update_time`) VALUES ("jwt-secret_key","a51977e688fffa1d62b52ac0c78f6f48203344bb3d0fcb5a3c63126a6c1b7986",1764299699,1764299699)
2025/11/28 11:14:59 JWT 密钥生成并保存到数据库成功

2025/11/28 11:14:59 /www/wwwroot/note-api/models/user_model.go:28 record not found
[0.289ms] [rows:0] SELECT * FROM `users` WHERE account = "admin" AND is_delete = 0 ORDER BY `users`.`id` LIMIT 1

2025/11/28 11:14:59 /www/wwwroot/note-api/models/user_model.go:65
[25.369ms] [rows:1] INSERT INTO `users` (`name`,`account`,`password`,`login_ip`,`state`,`is_admin`,`is_delete`,`create_time`,`update_time`) VALUES ("管理员","admin","$2a$10$72vUfB/6zGFt2XsgyMZKT.ldd44uwgXDHNQO8481C3qeojrDHzhii","",0,1,0,1764299699,1764299699) RETURNING `id`
2025/11/28 11:14:59 默认 admin 用户已创建, 账号: admin, 密码: 123456
[GIN-debug] GET    /admin/                   --> note/controller/admin.(*IndexController).Index-fm (5 handlers)
[GIN-debug] POST   /admin/reg                --> note/controller/admin.(*UserController).Register-fm (5 handlers)
[GIN-debug] POST   /admin/login              --> note/controller/admin.(*UserController).Login-fm (5 handlers)
[GIN-debug] PUT    /admin/modifyPw           --> note/controller/admin.(*UserController).ModifyPasswd-fm (5 handlers)
[GIN-debug] PATCH  /admin/user/edit          --> note/controller/admin.(*UserController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/user/del           --> note/controller/admin.(*UserController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/user/list          --> note/controller/admin.(*UserController).List-fm (5 handlers)
[GIN-debug] POST   /admin/tag/add            --> note/controller/admin.(*NoteTagController).Add-fm (5 handlers)
[GIN-debug] PATCH  /admin/tag/edit           --> note/controller/admin.(*NoteTagController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/tag/del            --> note/controller/admin.(*NoteTagController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/tag/list           --> note/controller/admin.(*NoteTagController).List-fm (5 handlers)
[GIN-debug] POST   /admin/note/add           --> note/controller/admin.(*NoteController).Add-fm (5 handlers)
[GIN-debug] PATCH  /admin/note/edit          --> note/controller/admin.(*NoteController).Edit-fm (5 handlers)
[GIN-debug] DELETE /admin/note/del           --> note/controller/admin.(*NoteController).Del-fm (5 handlers)
[GIN-debug] POST   /admin/note/list          --> note/controller/admin.(*NoteController).List-fm (5 handlers)
[GIN-debug] POST   /admin/upload             --> note/controller/admin.(*UploadController).Image-fm (5 handlers)
[GIN-debug] POST   /admin/note/detail        --> note/controller/admin.(*NoteController).Detail-fm (5 handlers)
[GIN-debug] GET    /app/                     --> note/controller/app.(*AppIndexController).Index-fm (5 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gi ... t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on 0.0.0.0:10030
[GIN] 2025/11/28 - 17:50:19 | 404 |         947ns |   192.168.0.216 | GET      "/"
[GIN] 2025/11/28 - 17:50:19 | 404 |       1.042µs |   192.168.0.216 | GET      "/favicon.ico"
[GIN] 2025/11/28 - 17:50:47 | 404 |       1.559µs |   192.168.0.169 | GET      "/"
[GIN] 2025/11/28 - 17:50:52 | 404 |         836ns |   192.168.0.169 | GET      "/"

2

主题

4

回帖

0

牛值

江湖小虾

2025-11-28 17:59:17 楼主 显示全部楼层
memory_clear 发表于 2025-11-28 16:11
日志在 /你安装的存储空间/@appdata/note,这个目录下。监听的端口是10030

你好 文**志在下面,显示404.。10030
这个报错是你浏览器直接输入ip:10030访问报出来的吧。浏览器是否有装什么插件,换个浏览器试试呢。  详情 回复
2025-11-29 08:59

1

主题

1673

回帖

200

牛值

社区共建团

fnOS1.0上线纪念勋章社区共建团荣誉勋章飞牛百度网盘玩家

2025-11-29 08:59:20 显示全部楼层
pdszhm 发表于 2025-11-28 17:59
你好 文**志在下面,显示404.。10030

这个报错是你浏览器直接输入ip:10030访问报出来的吧。浏览器是否有装什么插件,换个浏览器试试呢。
你好啊,换了个浏览器还是报404.。这个404和别的404不一样。这个是服务运行了。里面某个网页找不到了显示的404.。。为什么这样说呢。因为别的404都是很大的显示。这个404是左上角一句话。404 page not found。。  详情 回复
2025-11-29 11:52
冬眠~Connection refused.

2

主题

4

回帖

0

牛值

江湖小虾

2025-11-29 11:52:50 楼主 显示全部楼层
memory_clear 发表于 2025-11-29 08:59
这个报错是你浏览器直接输入ip:10030访问报出来的吧。浏览器是否有装什么插件,换个浏览器试试呢。 ...

你好啊,换了个浏览器还是报404.。这个404和别的404不一样。这个是服务运行了。里面某个网页找不到了显示的404.。。为什么这样说呢。因为别的404都是很大的显示。这个404是左上角一句话。404 page not found。。
换浏览器登录飞牛nas通过快捷图标打开标签也是提示404吗  详情 回复
2025-11-29 19:32

1

主题

1673

回帖

200

牛值

社区共建团

fnOS1.0上线纪念勋章社区共建团荣誉勋章飞牛百度网盘玩家

2025-11-29 19:32:32 显示全部楼层
pdszhm 发表于 2025-11-29 11:52
你好啊,换了个浏览器还是报404.。这个404和别的404不一样。这个是服务运行了。里面某个网页找不到了显示 ...

换浏览器登录飞牛nas通过快捷图标打开标签也是提示404吗
冬眠~Connection refused.

1

主题

7

回帖

0

牛值

江湖小虾

2025-12-3 17:44:26 显示全部楼层

解决了吗?我打开也是空白

1

主题

40

回帖

0

牛值

🎖️飞牛三方开发者

fnOS1.0上线纪念勋章飞牛百度网盘玩家

2025-12-3 21:25:40 显示全部楼层
我这边是正常的。
https://github.com/FNOSP/App.Bin ... ote_1.0.2_amd64.fpk

试试最新的版本,看看,下载后在应用中心手动安装。
要是无法下载,使用迅雷直接下载。

如果还是打开空白:
1.下载最新版本的浏览器,推荐最新版谷歌浏览器
2.按 F12,选择 应用 -> 存储 -> 清空当前网站数据

3.查看浏览器报错,按 F12 ,选择控制台,截图报错给我



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

0

主题

2

回帖

0

牛值

江湖小虾

2025-12-3 23:45:16 显示全部楼层

PixPin_2025-12-03_23-45-38.png
index-BUkSn-5N.js:1 Failed to load module script: Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.

控制台报错

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
手动安装了最新版本也这样? https://github.com/FNOSP/App.Bin.note/releases/download/1.0.2/note_1.0.2_amd64.fpk 因为我这边是正常的,复现不出你这个问题,不知道咋处理。 1.用了cdn或内网穿透的第三方服务?  详情 回复
2025-12-4 01:42

1

主题

40

回帖

0

牛值

🎖️飞牛三方开发者

fnOS1.0上线纪念勋章飞牛百度网盘玩家

2025-12-4 01:42:15 显示全部楼层
alepc 发表于 2025-12-3 23:45
index-BUkSn-5N.js:1  Failed to load module script: Expected a JavaScript-or-Wasm module script but  ...

手动安装了最新版本也这样?
https://github.com/FNOSP/App.Bin.note/releases/download/1.0.2/note_1.0.2_amd64.fpk


因为我这边是正常的,复现不出你这个问题,不知道咋处理。
1.用了cdn或内网穿透的第三方服务?
2.看看你的网络里面的截图,如下:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
今天不知道咋回事,飞牛更新了最新的1.1.4,便签突然就正常了。 能不能开发一个安卓客户端,这样就不用打开飞牛app再登陆。 最好能够在客户端保存内容,联网以后再去同步,那样就太方便了  详情 回复
2025-12-4 21:05
便签》应用开发者

1

主题

7

回帖

0

牛值

江湖小虾

2025-12-4 21:05:34 显示全部楼层

今天不知道咋回事,飞牛更新了最新的1.1.4,便签突然就正常了。
能不能开发一个安卓客户端,这样就不用打开飞牛app再登陆。
最好能够在客户端保存内容,联网以后再去同步,那样就太方便了。

还有现在的情况是,在手机编辑不小心退出,不但要求重新登陆,还把之前没有保存的内容全部丢失。
正常了就好。 APP 后面会上,只有安卓 APP,IOS 没法上架。 其实飞牛 APP 内也可以打开便签的。  详情 回复
2025-12-4 23:37

1

主题

40

回帖

0

牛值

🎖️飞牛三方开发者

fnOS1.0上线纪念勋章飞牛百度网盘玩家

2025-12-4 23:37:55 显示全部楼层
最好 发表于 2025-12-4 21:05
今天不知道咋回事,飞牛更新了最新的1.1.4,便签突然就正常了。
能不能开发一个安卓客户端,这样就不用打 ...

正常了就好。
APP 后面会上,只有安卓 APP,IOS 没法上架。
其实飞牛 APP 内也可以打开便签的。
便签》应用开发者
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则