解决s805玩客云armbian使用docker运行serverstatus客户端报错问题

命令

1
docker run --network=host -e SERVER="xxx.com" -e USER="xxx" -e PASSWORD="xxx" -e PROBEPORT="xxx" dtcokr/serverstatus:client 

报错内容

1
2
3
4
5
6
Fatal Python error: pyinit_main: can't initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted

Current thread 0xb6f6c390 (most recent call first):
<no Python frame>

解决

1
2
3
4
sudo apt-key adv --keyserver OpenPGP Keyserver --recv-keys 04EE7237B7D453EC 648ACFD622F3D138
echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list.d/buster-backports.list
sudo apt update
sudo apt install -t buster-backports libseccomp2

参考链接

https://community.home-assistant.io/t/migration-to-2021-7-fails-fatal-python-error-init-interp-main-cant-initialize-time/320648/9


解决s805玩客云armbian使用docker运行serverstatus客户端报错问题
https://hexo.psorai.eu.org/2023/06/06/解决s805玩客云armbian使用docker运行serverstatus客户端报错问题/
Author
Sora
Posted on
June 6, 2023
Licensed under