Comments (16)
启动参数是什么
from pandora.
因为是2c4g的配置,是否需要对应修改容器配置?
from pandora.
pandora:
image: pengzhile/pandora
container_name: pandoraGPT
network_mode: host
volumes:
- ./data:/data
environment:
- PANDORA_SERVER=0.0.0.0:80
- PANDORA_ACCESS_TOKEN=xxx
from pandora.
之前使用是正常的,不是第一次部署,刚才是看到有更新。又啦了最新的镜像才启动失败。
from pandora.
我试了没问题啊
from pandora.
启动参数是什么
跟grojef 一样的问题, 我的参数是 docker run -e PANDORA_CLOUD=cloud -e PANDORA_SERVER=0.0.0.0:8899 -p 8899:8899 -d pengzhile/pandora
from pandora.
sudo docker run -e PANDORA_VERBOSE=1 -e PANDORA_CLOUD=cloud -e PANDORA_SERVER=0.0.0.0:80 -p 80:80 pengzhile/pandora
Pandora-Cloud - A web interface to ChatGPT
Github: https://github.com/pengzhile/pandora
Version: 1.2.3, Mode: cloud, Engine: free
Error occurred: can't start new thread
2023-06-16 01:10:39.716 | ERROR | pandora.cloud_launcher:run:84 - Exception occurred.
Traceback (most recent call last):
File "/usr/local/bin/pandora-cloud", line 8, in
sys.exit(run())
│ │ └ <function run at 0x7f80d187dc10>
│ └
└ <module 'sys' (built-in)>
File "/usr/local/lib/python3.9/site-packages/pandora/cloud_launcher.py", line 79, in run
main()
└ <function main at 0x7f80d278b3a0>
File "/usr/local/lib/python3.9/site-packages/pandora/cloud_launcher.py", line 70, in main
return CloudServer(args.proxy, args.verbose, args.sentry, True).run(args.server, args.threads)
│ │ │ │ │ │ │ │ │ │ └ 4
│ │ │ │ │ │ │ │ │ └ Namespace(proxy=None, server='0.0.0.0:80', threads=4, sentry=False, verbose=True)
│ │ │ │ │ │ │ │ └ '0.0.0.0:80'
│ │ │ │ │ │ │ └ Namespace(proxy=None, server='0.0.0.0:80', threads=4, sentry=False, verbose=True)
│ │ │ │ │ │ └ False
│ │ │ │ │ └ Namespace(proxy=None, server='0.0.0.0:80', threads=4, sentry=False, verbose=True)
│ │ │ │ └ True
│ │ │ └ Namespace(proxy=None, server='0.0.0.0:80', threads=4, sentry=False, verbose=True)
│ │ └ None
│ └ Namespace(proxy=None, server='0.0.0.0:80', threads=4, sentry=False, verbose=True)
└ <class 'pandora_cloud.server.ChatBot'>
File "/usr/local/lib/python3.9/site-packages/pandora_cloud/server.py", line 75, in run
serve(app, host=host, port=port, ident=None, threads=threads)
│ │ │ │ └ 4
│ │ │ └ 80
│ │ └ '0.0.0.0'
│ └ <Flask 'pandora_cloud.server'>
└ <function serve at 0x7f80d0290b80>
File "/usr/local/lib/python3.9/site-packages/waitress/init.py", line 13, in serve
server = _server(app, **kw)
│ │ └ {'host': '0.0.0.0', 'port': 80, 'ident': None, 'threads': 4}
│ └ <Flask 'pandora_cloud.server'>
└ <function create_server at 0x7f80d0290ca0>
File "/usr/local/lib/python3.9/site-packages/waitress/server.py", line 57, in create_server
dispatcher.set_thread_count(adj.threads)
│ │ │ └ 4
│ │ └ <waitress.adjustments.Adjustments object at 0x7f80d0253610>
│ └ <function ThreadedTaskDispatcher.set_thread_count at 0x7f80d01d91f0>
└ <waitress.task.ThreadedTaskDispatcher object at 0x7f80d0253dc0>
File "/usr/local/lib/python3.9/site-packages/waitress/task.py", line 99, in set_thread_count
self.start_new_thread(self.handler_thread, thread_no)
│ │ │ │ └ 0
│ │ │ └ <function ThreadedTaskDispatcher.handler_thread at 0x7f80d01d9160>
│ │ └ <waitress.task.ThreadedTaskDispatcher object at 0x7f80d0253dc0>
│ └ <function ThreadedTaskDispatcher.start_new_thread at 0x7f80d01d90d0>
└ <waitress.task.ThreadedTaskDispatcher object at 0x7f80d0253dc0>
File "/usr/local/lib/python3.9/site-packages/waitress/task.py", line 63, in start_new_thread
t.start()
│ └ <function Thread.start at 0x7f80d2653a60>
└ <Thread(waitress-0, initial daemon)>
File "/usr/local/lib/python3.9/threading.py", line 899, in start
_start_new_thread(self._bootstrap, ())
│ │ └ <function Thread._bootstrap at 0x7f80d2653b80>
│ └ <Thread(waitress-0, initial daemon)>
└
RuntimeError: can't start new thread
docker info
Containers: 43
Running: 0
Paused: 0
Stopped: 43
Images: 7
Server Version: 18.06.0-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: d64c661f1d51c48782c9cec8fda7604785f93587
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.93-linuxkit-aufs
Operating System: Docker for Mac
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.952GiB
Name: linuxkit-025000000001
ID: Q47T:2UUT:HQ3O:SXTN:QBYI:SPDT:EAQ6:CSEK:YH73:GPU4:YVGU:OAD7
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 26
Goroutines: 53
System Time: 2023-06-16T01:12:21.502047795Z
EventsListeners: 2
HTTP Proxy: gateway.docker.internal:3128
HTTPS Proxy: gateway.docker.internal:3129
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
from pandora.
你们出错的,上一个版本都是什么?
from pandora.
我也碰到了这个问题,通过修改基础镜像,从dockerhub找一个一周之前发布的sha256镜像替换就好,比方说:FROM python@sha256:d43e0583637052c35496fd5e20f1e0a6f0897666430e00af7e26683a4774979a
from pandora.
我通过更新docker engine后再次创建,就好了。Debian上,之前engine版本大概是18.x,现在更新到了下面的版本:
Client: Docker Engine - Community
Version: 24.0.2
API version: 1.43
Go version: go1.20.4
Git commit: cb74dfc
Built: Thu May 25 21:52:12 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 24.0.2
API version: 1.43 (minimum version 1.12)
Go version: go1.20.4
Git commit: 659604f
Built: Thu May 25 21:52:12 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0
from pandora.
v1.2.2还完全正常
我的macOS Mojave系统只能更新到Docker Engine: 18.06.0-ce 1.2.3 报错 无法启动
另一台电脑Ubuntu 的Docker Engine: 24.0.2 完全正常,没有问题
from pandora.
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
pengzhile/pandora latest 428524dc67cc 21 hours ago 271MB
pengzhile/pandora 1.2.2 52502af3e3e9 3 days ago 253MB
pengzhile/pandora 101f69fa344c 7 days ago 253MB
pengzhile/pandora 9731612a7809 2 weeks ago 250MB
pengzhile/pandora 43f234c4e8a8 2 weeks ago 250MB
pengzhile/pandora e0f49170032b 2 weeks ago 247MB
pengzhile/pandora 43bf6c7b1b81 3 weeks ago 272MB
sudo docker run -e PANDORA_CLOUD=cloud -e PANDORA_SERVER=0.0.0.0:80 -p 80:80 -d pengzhile/pandora:1.2.2
正常
428524dc67cc 有问题 之前的版本都正常。
from pandora.
是的 今天更新发现 一样的错误 回退到1.2.2版本 就正常了 搞不懂什么问题 希望大大能修复一下 或者你没问题的话 出点小提示解决这个问题
from pandora.
我是真的不明白为啥会报错,1.2.3 我根本没改什么东西啊
from pandora.
我是真的不明白为啥会报错,1.2.3 我根本没改什么东西啊
是不是你升级了你的docker,打出来的image 不兼容低版本。
from pandora.
通过升级docker解决
from pandora.
Related Issues (20)
- 大佬,请问如何本地启动项目?不使用docker HOT 1
- pandora -s ip 如果ip被映射无法访问的问题 HOT 1
- 搭建在国外的服务器上,本地开了梯子的时候反而无法使用
- 14天后,无法重新获取access token 么
- 开启不存记录使用出现错误
- 请问ai.fakeopen.com/auth/login请求时候 机器验证怎么解决 使用pandora项目无法访问 返回500"detail": "captcha response is missing" HOT 1
- 小白的疑惑,不懂就问,access token 和api的区别 HOT 1
- 使用appstore 付款, google账号注册, 没有密码怎么破? HOT 1
- 启动后输入邮箱和密码一直显示邮箱或密码错误是怎么回事呢 HOT 1
- 无法在本地直接使用,之前用的好好的,今天更新之后就无法使用了,必须开代理才行 HOT 5
- 可以接入midjourney-proxy吗 HOT 1
- 突然俩号403,CHATGPT_API_PREFIX设置为自定义的cloudflare依然无法连接上fakeopen HOT 9
- pool token 的原理是什么 HOT 1
- 基于 Share Token 的会话隔离 HOT 2
- 扩展插件加载失败,错误 清单文件或不可读取。 HOT 1
- pandora-vercel部署完出现404 HOT 1
- 前端部分的next项目有开源计划吗? HOT 1
- 你好,作者,我想请教几个问题 HOT 1
- Access Token 网址进不去了 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandora.