收起左侧

应用中心无法打开,非 DNS 网络问题。

4
回复
47
查看
[ 复制链接 ]

1

主题

2

回帖

0

牛值

江湖小虾

设备环境:(物理机、局域网、系统版本号0.9.11)

BUG现象:
f2779082-97ac-482a-9279-5fcc631c1fd6.png

0.9.8 版本升级过程出现磁盘异常,手动修复后,应用中心则无法打开。期间以为是版本问题,等待 0.9.10 版本后仍然出现此问题。
应用中心无法打开,连带其他相册、影视和第三方应用等都无法打开。

出现频率:必现

联系方式:微信公测群:飞牛私有云 fnOS516

昵称:MZZZ

日志文件:
论坛上常见问题是 DNS 异常,但我配置过阿里 DNS,也重置过网络并更换过服务器,错误仍然发生。

查看日志询问 AI 告知是 PostgreSQL 数据库中已有表结构与模型冲突,进入 pg 库查询appcenter 库表 app_service 告警 WARNING: unexpected pg_attrdef record found for attribute 15 of relation "app_service" LINE 1: select * from app_service;
重建数据表索引仍然无法正确启动trim_app_center服务,报错信息一致。
VACUUM FULL app_service; REINDEX TABLE app_service; **YZE app_service;

2025-06-21T16:00:48.687192+08:00 fnos systemd[1]: Started trim_app_center.service - trim app center service.
2025-06-21T16:00:48.696701+08:00 fnos trim_app_center[1915146]: time="2025-06-21T16:00:48+08:00" level=info msg="set dns server with trim dns query"
2025-06-21T16:00:48.696761+08:00 fnos trim_app_center[1915146]: time="2025-06-21T16:00:48+08:00" level=info msg="set dns server with trim dns query"
2025-06-21T16:00:48.696798+08:00 fnos trim_app_center[1915146]: time="2025-06-21T16:00:48+08:00" level=info msg="set dns server with trim dns query"
2025-06-21T16:00:53.866961+08:00 fnos trim_app_center[1915146]: panic: runtime error: invalid memory address or nil pointer dereference
2025-06-21T16:00:53.867019+08:00 fnos trim_app_center[1915146]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x8c6d9b]
2025-06-21T16:00:53.867059+08:00 fnos trim_app_center[1915146]: goroutine 1 [running]:
2025-06-21T16:00:53.867269+08:00 fnos trim_app_center[1915146]: database/sql.(*ColumnType).DecimalSize(...)
2025-06-21T16:00:53.867318+08:00 fnos trim_app_center[1915146]: #011/usr/local/go/src/database/sql/sql.go:3240
2025-06-21T16:00:53.867366+08:00 fnos trim_app_center[1915146]: gorm.io/gorm/migrator.ColumnType.DecimalSize(...)
2025-06-21T16:00:53.867421+08:00 fnos trim_app_center[1915146]: #011/go/pkg/mod/gorm.io/gorm@v1.25.7-0.20240204074919-46816ad31dde/migrator/column_type.go:75
2025-06-21T16:00:53.867495+08:00 fnos trim_app_center[1915146]: gorm.io/gorm/migrator.Migrator.MigrateColumn({{0x0?, 0xc0004be390?, {0x1084d40?, 0xc00029a240?}}}, {0xdcc340, 0xc00001e160}, 0xc0002b3a40, {0x1087a98, 0xc0003ecdd0})
2025-06-21T16:00:53.867542+08:00 fnos trim_app_center[1915146]: #011/go/pkg/mod/gorm.io/gorm@v1.25.7-0.20240204074919-46816ad31dde/migrator/migrator.go:500 +0x3f1
2025-06-21T16:00:53.867596+08:00 fnos trim_app_center[1915146]: gorm.io/driver/postgres.Migrator.MigrateColumn({{{0x0?, 0xc0004be390?, {0x1084d40?, 0xc00029a240?}}}}, {0xdcc340, 0xc00001e160}, 0xc0002b3a40, {0x1087a98?, 0xc0003ecdd0?})
2025-06-21T16:00:53.867642+08:00 fnos trim_app_center[1915146]: #011/go/pkg/mod/gorm.io/driver/postgres@v1.5.7/migrator.go:268 +0x8f
2025-06-21T16:00:53.867705+08:00 fnos trim_app_center[1915146]: gorm.io/gorm/migrator.Migrator.AutoMigrate.func1(0xc00049a1c0)
2025-06-21T16:00:53.867749+08:00 fnos trim_app_center[1915146]: #011/go/pkg/mod/gorm.io/gorm@v1.25.7-0.20240204074919-46816ad31dde/migrator/migrator.go:159 +0x225
2025-06-21T16:00:53.867797+08:00 fnos trim_app_center[1915146]: gorm.io/gorm/migrator.Migrator.RunWithValue({{0xd0?, 0xc00001a2d0?, {0x1084d40?, 0xc00029a240?}}}, {0xdcc340, 0xc00001e160}, 0xc000045d28)
2025-06-21T16:00:53.867844+08:00 fnos trim_app_center[1915146]: #011/go/pkg/mod/gorm.io/gorm@v1.25.7-0.20240204074919-46816ad31dde/migrator/migrator.go:73 +0x12b
2025-06-21T16:00:53.867914+08:00 fnos trim_app_center[1915146]: gorm.io/gorm/migrator.Migrator.AutoMigrate({{0x0?, 0xc00001a2d0?, {0x1084d40?, 0xc00029a240?}}}, {0xc0001c6000?, 0x0?, 0x0?})
2025-06-21T16:00:53.868007+08:00 fnos trim_app_center[1915146]: #011/go/pkg/mod/gorm.io/gorm@v1.25.7-0.20240204074919-46816ad31dde/migrator/migrator.go:132 +0x196
2025-06-21T16:00:53.868047+08:00 fnos trim_app_center[1915146]: gorm.io/gorm.(*DB).AutoMigrate(0xf?, {0xc0001c6000, 0xe, 0xe})
2025-06-21T16:00:53.868089+08:00 fnos trim_app_center[1915146]: #011/go/pkg/mod/gorm.io/gorm@v1.25.7-0.20240204074919-46816ad31dde/migrator.go:24 +0x42
2025-06-21T16:00:53.868138+08:00 fnos trim_app_center[1915146]: appstore/core/storage.Init()
2025-06-21T16:00:53.868186+08:00 fnos trim_app_center[1915146]: #011/app/core/storage/init.go:51 +0x36f
2025-06-21T16:00:53.868298+08:00 fnos trim_app_center[1915146]: main.main()
2025-06-21T16:00:53.868353+08:00 fnos trim_app_center[1915146]: #011/app/main.go:29 +0x34
2025-06-21T16:00:53.868726+08:00 fnos systemd[1]: trim_app_center.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
2025-06-21T16:00:53.868877+08:00 fnos systemd[1]: trim_app_center.service: Failed with result 'exit-code'.
2025-06-21T16:00:58.905105+08:00 fnos systemd[1]: trim_app_center.service: Scheduled restart **, restart counter is at 56953.
2025-06-21T16:00:58.905453+08:00 fnos systemd[1]: Stopped trim_app_center.service - trim app center service.

收藏
送赞
分享

本帖子中包含更多资源

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

x

1

主题

2

回帖

0

牛值

江湖小虾

前天 09:51 楼主 显示全部楼层
审核 4 天了。。。。

6

主题

7104

回帖

0

牛值

管理员

我加您微信看看

0

主题

1

回帖

0

牛值

江湖小虾

提问,同样的情况,请问怎么解决的

1

主题

2

回帖

0

牛值

江湖小虾

昨天 15:05 楼主 显示全部楼层

飞牛的工程师说是:app_service那个表有问题,检查不出来,删除重建就好了。

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则