收起左侧

飞牛重启后提示内部错误

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

2

主题

4

回帖

0

牛值

江湖小虾

2025-11-8 19:03:25 显示全部楼层 阅读模式
悬赏1飞牛币未解决

image.png

就飞牛关机重启之后就提示系统内部错误。

附件: 您需要 登录 才可以下载或查看,没有账号?立即注册
收藏
送赞
分享

本帖子中包含更多资源

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

x

9

主题

246

回帖

490

牛值

共建版主

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

2025-11-8 23:39:05 显示全部楼层

插显示器看看

看了,可以看到IP,可以输入账号密码进入命令行。  详情 回复
2025-11-8 23:49

2

主题

4

回帖

0

牛值

江湖小虾

2025-11-8 23:49:38 楼主 显示全部楼层

看了,可以看到IP,可以输入账号密码进入命令行。

2

主题

4

回帖

0

牛值

江湖小虾

2025-11-9 16:13:26 楼主 显示全部楼层
问题已经解决了,是数据库异常了,查看了错误日志全是数据库错误:
time="2025-11-09T11:04:31+08:00" level=fatal msg="failed to connect to database" error="failed to connect to `user=postgres database=`: /var/run/postgresql/.s.PGSQL.5432 (/var/run/postgresql): dial error: dial unix /var/run/postgresql/.s.PGSQL.5432: connect: no such file or directory"
appstore/core/storage.initDatabase()
        /app/core/storage/init.go:21 +0x16e
appstore/core/storage.Init()
        /app/core/storage/init.go:45 +0x1f
appstore/cmd.runServer(0xc0003c6200?, {0x15515b8?, 0x4?, 0x15515bc?})
        /app/cmd/root.go:53 +0x5a
github.com/spf13/cobra.(*Command).execute(0x2102720, {0xc0000aa080, 0x0, 0x0})
        /go/pkg/mod/github.com/spf13/cobra@v1.10.1/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x2102720)
        /go/pkg/mod/github.com/spf13/cobra@v1.10.1/command.go:1148 +0x465
github.com/spf13/cobra.(*Command).Execute(...)
        /go/pkg/mod/github.com/spf13/cobra@v1.10.1/command.go:1071
appstore/cmd.Main()
        /app/cmd/root.go:98 +0x1a
main.main()
        /app/main.go:8 +0xf
time="2025-11-09T11:04:42+08:00" level=fatal msg="failed to connect to database" error="failed to connect to `user=postgres database=`: /var/run/postgresql/.s.PGSQL.5432 (/var/run/postgresql): dial error: dial unix /var/run/postgresql/.s.PGSQL.5432: connect: no such file or directory"
appstore/core/storage.initDatabase()
        /app/core/storage/init.go:21 +0x16e
appstore/core/storage.Init()
        /app/core/storage/init.go:45 +0x1f
appstore/cmd.runServer(0xc00032e200?, {0x15515b8?, 0x4?, 0x15515bc?})
        /app/cmd/root.go:53 +0x5a
github.com/spf13/cobra.(*Command).execute(0x2102720, {0xc0001a4080, 0x0, 0x0})
        /go/pkg/mod/github.com/spf13/cobra@v1.10.1/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x2102720)
        /go/pkg/mod/github.com/spf13/cobra@v1.10.1/command.go:1148 +0x465
github.com/spf13/cobra.(*Command).Execute(...)
        /go/pkg/mod/github.com/spf13/cobra@v1.10.1/command.go:1071
appstore/cmd.Main()
        /app/cmd/root.go:98 +0x1a
main.main()
        /app/main.go:8 +0xf

修复步骤如下(豆包给的方案):
1.sudo systemctl stop postgresql@15-main
2. sudo -u postgres /usr/lib/postgresql/15/bin/initdb -D /var/lib/postgresql/15/main
3.sudo pg_ctlcluster 15 main start
4.sudo pg_lsclusters

2

主题

4

回帖

0

牛值

江湖小虾

2025-11-10 10:10:37 楼主 显示全部楼层

现在有新的问题了:
time="2025-11-10T07:48:53+08:00" level=error msg="get device base info error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /var/run/trim_license_internal.socket: connect: no such file or directory""
time="2025-11-10T07:48:53+08:00" level=error msg="init panic" error="rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /var/run/trim_license_internal.socket: connect: no such file or directory""
git.teiron-inc.cn/infra/corestarter.initAfterConfigReady.func1()
/root/go/pkg/mod/git.teiron-inc.cn/infra/corestarter@v1.1.5/starter.go:32 +0xc5
panic({0x15d73c0?, 0xc0007006d0?})
/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.linux-amd64/src/runtime/panic.go:792 +0x132
app/core/util/license.initClient()
/root/go/src/app/core/util/license/init.go:24 +0x39
git.teiron-inc.cn/infra/corestarter.initAfterConfigReady()
/root/go/pkg/mod/git.teiron-inc.cn/infra/corestarter@v1.1.5/starter.go:46 +0x132
git.teiron-inc.cn/infra/corestarter.Init({0xc00029fb00?})
/root/go/pkg/mod/git.teiron-inc.cn/infra/corestarter@v1.1.5/starter.go:20 +0x18
main.main()
/root/go/src/app/main.go:42 +0x9f
无法开启远程访问,相册也无法启动。

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

本版积分规则