V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
rozstone123
V2EX  ›  问与答

在阿里云上私有化部署 sentry 问题

  •  
  •   rozstone123 · 47 天前 · 1018 次点击
    这是一个创建于 47 天前的主题,其中的信息可能已经有所发展或是发生改变。

    请问运行 install 脚本的时候 apt-get 一直卡住,这种怎么解决呢? 本人前端,不太懂运维方面的技术,问了公司的运维,说是 ping 不到外网,无解,我对此保持怀疑态度,有人能帮我看看么 #5 [sentry-cleanup 1/5] FROM docker.io/library/sentry-self-hosted-local:latest #5 DONE 0.1s

    #6 [sentry-cleanup 2/5] RUN if [ -n "${http_proxy}" ]; then echo "Acquire::http::proxy "${http_proxy}";" >> /etc/apt/apt.conf; fi #6 DONE 0.3s

    #7 [sentry-cleanup 3/5] RUN if [ -n "${https_proxy}" ]; then echo "Acquire::https::proxy "${https_proxy}";" >> /etc/apt/apt.conf; fi #7 DONE 0.5s // 到这一步 apt-get 就卡住了 #8 [sentry-cleanup 4/5] RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/* #8 60.45 Ign:1 http://deb.debian.org/debian bookworm InRelease #8 120.5 Ign:2 http://deb.debian.org/debian bookworm-updates InRelease

    4 条回复    2024-07-23 09:04:36 +08:00
    virusdefender
        1
    virusdefender  
       47 天前
    http://deb.debian.org/ 替换为阿里内网源
    oneisall8955
        2
    oneisall8955  
       47 天前
    网络问题,给 apt 和 docker 设置代理,让服务器能科学上网,或者离线安装所需要的依赖
    perfectlife
        3
    perfectlife  
       47 天前
    建议你让运维处理,这玩意还挺麻烦,构建镜像时候要改好几个地方,不然 build 不成功,另外机器内存大点 16g 的机器跑不了 sentry 了
    LuckyLauncher
        4
    LuckyLauncher  
       46 天前   ❤️ 1
    都和你说了“是 ping 不到外网,无解”
    你还“保持怀疑态度”
    你是真固执啊
    但是你是怎么能上这个论坛的?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2333 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 00:17 · PVG 08:17 · LAX 17:17 · JFK 20:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.