V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
rozstone123
V2EX  ›  问与答

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

  •  
  •   rozstone123 · Jul 22, 2024 · 1671 views
    This topic created in 650 days ago, the information mentioned may be changed or developed.

    请问运行 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 replies    2024-07-23 09:04:36 +08:00
    virusdefender
        1
    virusdefender  
       Jul 22, 2024
    http://deb.debian.org/ 替换为阿里内网源
    itechify
        2
    itechify  
    PRO
       Jul 22, 2024
    网络问题,给 apt 和 docker 设置代理,让服务器能科学上网,或者离线安装所需要的依赖
    perfectlife
        3
    perfectlife  
       Jul 23, 2024
    建议你让运维处理,这玩意还挺麻烦,构建镜像时候要改好几个地方,不然 build 不成功,另外机器内存大点 16g 的机器跑不了 sentry 了
    LuckyLauncher
        4
    LuckyLauncher  
       Jul 23, 2024   ❤️ 1
    都和你说了“是 ping 不到外网,无解”
    你还“保持怀疑态度”
    你是真固执啊
    但是你是怎么能上这个论坛的?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2478 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 07:16 · PVG 15:16 · LAX 00:16 · JFK 03:16
    ♥ Do have faith in what you're doing.