全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: ccclt

[经验] PHP开发的宝塔面板第三方云端开源

  [复制链接]
发表于 2022-6-4 22:28:16 | 显示全部楼层
debian 11安装报错 :

cat: /etc/redhat-release: No such file or directory
install.sh: 29: [: Illegal number:
install.sh: 186: Syntax error: "(" unexpected (expecting "}")
发表于 2022-6-4 22:30:15 | 显示全部楼层
马克一下、。
发表于 2022-6-4 22:30:35 | 显示全部楼层
技术贴,顶一个
发表于 2022-6-4 22:30:47 | 显示全部楼层
hxuf 发表于 2022-6-4 22:28
debian 11安装报错 :

cat: /etc/redhat-release: No such file or directory

插件下好了吗,照着官方的脚本改呗,可能只有一个centos的
发表于 2022-6-4 22:31:50 | 显示全部楼层
qq6825995 发表于 2022-6-4 22:30
插件下好了吗,照着官方的脚本改呗,可能只有一个centos的

他这个跟官方有区别。不敢瞎改。
 楼主| 发表于 2022-6-4 22:32:02 | 显示全部楼层
hxuf 发表于 2022-6-4 22:28
debian 11安装报错 :

cat: /etc/redhat-release: No such file or directory

我看官方的centos和debian脚本的内容完全一样,应该是有适配的。唯一的区别就是centos是用sh,debian用的是bash
发表于 2022-6-4 22:37:03 | 显示全部楼层
ccclt 发表于 2022-6-4 22:32
我看官方的centos和debian脚本的内容完全一样,应该是有适配的。唯一的区别就是centos是用sh,debian用的 ...

确实。改了下就OK了。
发表于 2022-6-4 22:38:18 | 显示全部楼层
本帖最后由 koehler 于 2022-6-4 22:39 编辑

安装系统:Ubuntu 20.04.4
安装好面板之后弹出报错,出错了,面板运行时发生错误!
TypeError: the JSON object must be str, bytes or bytearray, not bool

下面是具体信息,这怎么解决啊

Traceback (most recent call last):
  File "/www/server/panel/BTPanel/__init__.py", line 1753, in publicObject
    return run_exec().run(toObject, defs, get)
  File "/www/server/panel/BTPanel/__init__.py", line 1701, in run
    result = getattr(toObject,get.action)(get)
  File "class/panelPlugin.py", line 1304, in get_index_list
    softList = self.get_cloud_list(get)['list']
  File "class/panelPlugin.py", line 938, in get_cloud_list
    softList = Plugin(False).get_plugin_list(force)
  File "class/pluginAuth.py", line 27, in get_plugin_list
    softList = json.loads(jsonData)
  File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 341, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not bool

点评

你重新下载最新源码的,然后重新替换一遍就行了  发表于 2022-6-4 23:18
发表于 2022-6-4 22:38:25 | 显示全部楼层
给大佬一个建议,不知道能不能做到。

nodes 也缓存到本地。
发表于 2022-6-4 22:45:43 | 显示全部楼层
看来大家都遇到了这个问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-9 01:24 , Processed in 0.111068 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表