ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.92k stars 1.9k forks source link

CasaOS无法安装。 #2212

Closed xlmyd closed 5 months ago

xlmyd commented 6 months ago

我使用armbian-software命令进行安装casaos,也提示成功了,但是打开给出的网址就无法打开,且再次输入armbian-software命令却显示没有安装过,这是为什么?安装docker就成功了。 图片1 图片2

LSP0123 commented 6 months ago

通过81端口访问试试 casaos卸载命令:casaos-uninstall 试着运行下看看是否有安装成功,安装成功的话应该会显示卸载选项的,直接取消即可 casaos官方安装命令curl -fsSL https://get.casaos.io | sudo bash

ophub commented 6 months ago

https://github.com/ophub/amlogic-s9xxx-armbian/blob/7175fe6c7109a1ea853bfd1632370bd72bc346d2/build-armbian/armbian-files/common-files/usr/share/ophub/armbian-software/command-service.sh#L485-L486

选择309安装就是使用官方的脚本进行安装。

LSP0123 commented 6 months ago

额,我不是在指责脚本或者安装方式 毕竟casaos这玩意到现在都是一堆bug没修

ophub commented 6 months ago

你在哪个版本下安装失败的,我测试下发生了什么问题。 暂时不要使用noble版本,这个预计4月发布正式版,当前docker对noble的支持才刚刚开始,可能在使用docker时会碰到错误。使用其他的3个版本应该都是正常的。

xlmyd commented 6 months ago

我就是noble版本的,我换一个刷机吧

mia0x75 commented 6 months ago

端口不是81,是80,脚本需要改一下。

ophub commented 6 months ago

Snip20240408_1

多谢反馈,我查看了官方的安装脚本,这个端口是可变的,如果80占用的情况下会分配其他的。正确的端口在安装脚本运行完后有提示,我给的提示有错误。 我更新了一下armbian-software脚本,在安装结束后会检查最终的使用端口并正确提示。 使用armbian-sync可以同步更新脚本至最新版。

LSP0123 commented 6 months ago

image 不是显示了是81端口么

ophub commented 6 months ago

我之前是写死了81,看上面的信息,我早上测试之前的脚本官方是用了80。

现在己经更正了。

kokle2023 commented 5 months ago

小白弱弱问下,安装报错:curl: (7) Failed to connect to get.casaos.io port 443 after 5315 ms: Couldn't connect to server grep: /etc/casaos/gateway.ini: No such file or directory 这是啥问题呢?

ophub commented 5 months ago

你的网络问题,没有下载安装成功。

kokle2023 commented 5 months ago

你的网络问题,没有下载安装成功。

谢谢大佬回复。别的应用都正常安装,就是casaos不行。用您的脚本还是官方脚本都不行。需要在哪里设置?

kokle2023 commented 5 months ago

另外弱弱的问下,dtb 和 u-boot部分没有修改。armbian是U盘启动的,网络问题会不会和机顶盒的安卓系统有关系?

ophub commented 5 months ago

有关 我的脚本就是调用官方脚本,安装结果一样,有错误你上网搜索下相关问题。

kokle2023 commented 5 months ago

有关 我的脚本就是调用官方脚本,安装结果一样,有错误你上网搜索下相关问题。

好的~谢谢大佬

xlmyd commented 5 months ago

我重新刷jammy之后成功安装了,多谢提醒。

zhouwei336 commented 2 months ago

curl: (7) Failed to connect to get.casaos.io port 443 after 16 mS: coulan't connect to server

zhouwei336 commented 2 months ago

换了网络也不行呀!问题出在哪里呢?