vanblog icon indicating copy to clipboard operation
vanblog copied to clipboard

[问题反馈]: 脚本一键安装时无法下载compose模板文件

Open xmmmmmovo opened this issue 3 years ago • 10 comments

问题描述 | Describe the bug

docker可以安装,无法下载模板文件。可以正常连接外网,无法连接此网址,怀疑是被屏蔽了。服务器在NA。

Snipaste_2023-01-02_07-51-05

复现网址 | Website URL

No response

版本 | Version

lastest

部署方式? | How do you deploy vanblog?

Docker 部署(文档默认)

xmmmmmovo avatar Jan 02 '23 07:01 xmmmmmovo

您手动运行一下 wget -t 2 --no-check-certificate https://vanblog.mereith.com/docker-compose-template.yml 试试看?我这边是没问题的

Mereithhh avatar Jan 03 '23 02:01 Mereithhh

如果还是不行的话,我会尝试换一个可达性更好的网址放这个

Mereithhh avatar Jan 03 '23 02:01 Mereithhh

也不行,之前查issue貌似只有我有这个问题,不排除是我这里奇葩网络的bug(但是这台机器是新开的机器,概率上可能性比较低)。 现在我用docker-compose部署也成功了,如果只有我一个人有这个问题那也不需要很快解决的样子,辛苦作者了。 image

xmmmmmovo avatar Jan 03 '23 03:01 xmmmmmovo

好的,我后面会换一个可达性更好的地址的,有后续问题随时反馈。

Mereithhh avatar Jan 03 '23 05:01 Mereithhh

Cycle 51

Starting from master 3802b53 (after #561):

In scope: 一键安装 / config 下载 docker-compose-template.yml 仅依赖 vanblog.mereith.com,部分网络不可达导致失败;改为多源回退下载。

Will link the PR when it opens.

Mereithhh avatar Sep 07 '26 06:09 Mereithhh

Cycle 51 — PR up (draft)

Focused slice(compose 模板多源回退): https://github.com/Mereithhh/vanblog/pull/562

Fixes #115. Waiting on CI.

Mereithhh avatar Sep 07 '26 07:09 Mereithhh

Cycle 51 — ready

PR undrafted, CI green on 4feb382: https://github.com/Mereithhh/vanblog/pull/562

Fixes #115 (compose 模板多源回退). Awaiting squash-merge.

Mereithhh avatar Sep 07 '26 07:09 Mereithhh

Cycle 51 — hold-merge fix ready

Head d76fef26: restored install_vanblog success-path before_show_menu. CI green again (GitGuardian + server-test + admin-e2e + alpine-sharp-install).

https://github.com/Mereithhh/vanblog/pull/562 — still undrafted, awaiting squash-merge.

Mereithhh avatar Sep 07 '26 07:09 Mereithhh

已合入 master(squash #562 → c1a3f9f)。

一键安装 / config 下载 docker-compose 模板时,若 vanblog.mereith.com 不可达,会依次回退 GitHub raw 与 jsDelivr;update_script 同样。文档站脚本也下不来时可用 README / FAQ 里的 GitHub raw 命令。菜单安装成功仍会回主菜单。

测试:vanblog-download-fallback.test.sh(含菜单/CLI 回菜单断言)已进 server-test。未打 release tag(最新仍是 v0.54.0)。

Mereithhh avatar Sep 07 '26 07:09 Mereithhh

Shipped (Cycle 51)

Squash-merged to master as c1a3f9f via https://github.com/Mereithhh/vanblog/pull/562.

Fix: 一键安装 / config 下载编排文件改为多源回退(vanblog.mereith.com → GitHub raw → jsDelivr);脚本自更新同理;菜单安装成功仍回主菜单。VANBLOG_SCRIPT_VERSION v0.3.6。

Tests: scripts/tests/vanblog-download-fallback.test.sh(server-test)。

No v* / test* / doc* tags from this cycle.

Mereithhh avatar Sep 07 '26 07:09 Mereithhh