Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用Docker启动正常配置正确但infos一直空的 #311

Closed
weiding9527 opened this issue Mar 14, 2025 · 6 comments
Closed

使用Docker启动正常配置正确但infos一直空的 #311

weiding9527 opened this issue Mar 14, 2025 · 6 comments

Comments

@weiding9527
Copy link

Image
sites已经配置

Image
焦点也已经配置

Image
但infos一直为空

@bigbrother666sh
Copy link
Member

请贴上完整的 container 运行 logs

@weiding9527
Copy link
Author

(base) [root@nvidia4090-001 wiseflow]# docker logs wiseflow-core-1
Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1235 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:7 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [57.9 kB]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3798 kB]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2692 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [65.7 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1533 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3955 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3000 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [81.4 kB]
Fetched 36.8 MB in 5s (7034 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
tzdata
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 347 kB of archives.
After this operation, 3990 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 tzdata all 2024b-0ubuntu0.22.04.1 [347 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 347 kB in 2s (211 kB/s)
Selecting previously unselected package tzdata.
(Reading database ... 29194 files and directories currently installed.)
Preparing to unpack .../tzdata_2024b-0ubuntu0.22.04.1_all.deb ...
Unpacking tzdata (2024b-0ubuntu0.22.04.1) ...
Setting up tzdata (2024b-0ubuntu0.22.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring tzdata

Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.

  1. Africa 4. Australia 7. Atlantic 10. Pacific 13. Legacy
  2. America 5. Arctic 8. Europe 11. US
  3. Antarctica 6. Asia 9. Indian 12. Etc
    (base) [root@nvidia4090-001 wiseflow]#

这是core容器完整日志

@weiding9527
Copy link
Author

这是wiseflow-pocketbase-1完整日志

@weiding9527
Copy link
Author

@bigbrother666sh
Copy link
Member

从 core 的日志看,core 部分的 image 没有完成构建,也就是程序实际没有运行起来
但因为 pocketbase 部分是已经正常启动了,所以你能进入 dashboard 完成设置

@weiding9527
Copy link
Author

确实是没运行起来,因为我在这个core容器启动命令前面添加了设置时区的命令,需要手动交互,所以容器卡住了。以及pip install -r requirements.txt命令也会导致容器进程启动失败,先单独启动容器执行好这个installed,再将容器保存为新的镜像,docker-compose使用新的镜像就可以运行起来wiseflow了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants