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

插件市场无法打开 / Unable to load plugin market / Undefined array key "packages" #454

Closed
1 task done
Chun-QiuCC opened this issue Aug 3, 2022 · 8 comments
Closed
1 task done

Comments

@Chun-QiuCC
Copy link

Chun-QiuCC commented Aug 3, 2022

Blessing Skin 版本

6.0.2

PHP 版本

8.1

出现问题时所使用的浏览器

Chrome, Microsoft Edge

您正在使用的 Web Server

Nginx

您正在使用宝塔吗?

出现了什么问题?

更新为6.0.2后插件市场无法正常打开

错误日志

Undefined array key "packages"
详细信息
[1] app/Http/Controllers/MarketController.php#L91
[2] app/Http/Controllers/MarketController.php#L95
[3] app/Http/Controllers/MarketController.php#L20
[4] app/Http/Middleware/CheckRole.php#L22
[5] app/Http/Middleware/FireUserAuthenticated.php#L15
[6] app/Http/Middleware/EnsureEmailFilled.php#L17
[7] app/Http/Middleware/RejectBannedUser.php#L23
[8] app/Http/Middleware/RedirectToSetup.php#L28
[9] app/Http/Middleware/EnforceEverGreen.php#L23
[10] app/Http/Middleware/DetectLanguagePrefer.php#L30
[11] app/Http/Middleware/ConvertEmptyStringsToNull.php#L23

重现步骤

更新为6.0.2

@mochaaP
Copy link
Member

mochaaP commented Aug 3, 2022

https://t.me/blessing_skin_news/781

update:
RAID損壞搶修中,恢復時間未定
已恢復

update 2:
現在切換到 CloudFront 了:

https://d2jw1l0ullrzt6.cloudfront.net/registry_{lang}.json

@mochaaP mochaaP closed this as completed Aug 3, 2022
@mochaaP mochaaP closed this as not planned Won't fix, can't repro, duplicate, stale Sep 13, 2022
@mochaaP mochaaP mentioned this issue Oct 12, 2022
1 task
@mochaaP mochaaP pinned this issue Oct 12, 2022
@mochaaP mochaaP changed the title 打开市场后提示Undefined array key "packages" 插件市场Undefined array key "packages" Oct 29, 2022
@mochaaP mochaaP changed the title 插件市场Undefined array key "packages" 插件市场无法打开 / Unable to load plugin market / Undefined array key "packages" Oct 29, 2022
@hempflower
Copy link

如果没有能力更新 openssl 或者当前服务器环境难以更新 openssl ,可以尝试使用镜像插件源
请在 .env 文件中修改以下配置

PLUGINS_REGISTRY=https://bs-plugin.mcskin.cn/plugins-dist/registry_{lang}.json

注意,这是第三方插件源,与 BS 官方无关,请自行判断内容安全性。

@Baikele
Copy link

Baikele commented May 5, 2023

PLUGINS_REGISTRY=https://cdn.mctown.cn/blessingskin/plugins-dist/registry_{lang}.json

港澳台以及国外可能存在无法连接的问题,暂时没有时间处理
注意,这是第三方插件源,与 BS 官方无关,请自行判断内容安全性。

@Kiritow
Copy link

Kiritow commented Jun 17, 2023

有什么办法能够自己搭建镜像站么 这些Mod源在哪里?

@SRY-CTB
Copy link

SRY-CTB commented Jun 18, 2023

有什么办法能够自己搭建镜像站么 这些Mod源在哪里?

blessing-skin-plugins
把json里的url改了,如"url": "https://star-skin.cn/bs-up/plugins-dist/204-for-unexisted-players_0.1.4.zip"
就ok了

@mouren-zhang
Copy link

插件市场无法进入
Undefined array key "packages"
详细信息
[1] app/Http/Controllers/MarketController.php#L91
[2] app/Http/Controllers/MarketController.php#L95
[3] app/Http/Controllers/MarketController.php#L20
[4] app/Http/Middleware/CheckRole.php#L22
[5] app/Http/Middleware/FireUserAuthenticated.php#L15
[6] app/Http/Middleware/EnsureEmailFilled.php#L17
[7] app/Http/Middleware/RejectBannedUser.php#L23
[8] app/Http/Middleware/RedirectToSetup.php#L28
[9] app/Http/Middleware/EnforceEverGreen.php#L23
[10] app/Http/Middleware/DetectLanguagePrefer.php#L30
[11] app/Http/Middleware/ConvertEmptyStringsToNull.php#L23

@xycabcd
Copy link

xycabcd commented May 16, 2024

能否直接将新的官方源加入配置文件或代码?

@xycabcd
Copy link

xycabcd commented May 16, 2024

完整解决方案:
请在.env加入
PLUGINS_REGISTRY=https://d2jw1l0ullrzt6.cloudfront.net/registry_{lang}.json
(这是上面官方人员确认的官方插件源)

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

8 participants