微信云托管官网
每次只要我把run pip install torch那行加进去docker,部署就会失败。log里也没有报错。是装不了torch吗?我已经把内存加到了8G。附上我的dockerfile和log。 FROM tiangolo/uwsgi-nginx-flask:python3.8 COPY ./app /app RUN apt-get update && apt-get install -y libsndfile1 RUN pip install torch -i https://pypi.tuna.tsinghua.edu.cn/simple RUN pip install -r /app/requirements.txt 部署开始于 2024-05-29 15:39:04 AppID: wxab91e5a69ebccc9f 环境名称:prod-5gwn8xqc6c5f9d98 [1/2] 创建版本 进行中 预计需要 1 分钟... - [2024-05-29 15:39:17] Started by user coding [2024-05-29 15:39:17] Running in Durability level: MAX_SURVIVABILITY [2024-05-29 15:39:19] [Pipeline] Start of Pipeline [2024-05-29 15:39:19] [Pipeline] node [2024-05-29 15:39:19] Running on Jenkins in /root/workspace [2024-05-29 15:39:19] [Pipeline] { [2024-05-29 15:39:19] [Pipeline] stage [2024-05-29 15:39:19] [Pipeline] { (检出 ZIP 包) [2024-05-29 15:39:19] Stage "检出 ZIP 包" skipped due to when conditional [2024-05-29 15:39:19] [Pipeline] } [2024-05-29 15:39:19] [Pipeline] // stage [2024-05-29 15:39:19] [Pipeline] stage [2024-05-29 15:39:19] [Pipeline] { (检出代码仓库) [2024-05-29 15:39:19] [Pipeline] sh [2024-05-29 15:39:19] + git clone ****** . [2024-05-29 15:39:19] Cloning into '.'... [2024-05-29 15:39:24] [Pipeline] sh [2024-05-29 15:39:24] + git checkout main [2024-05-29 15:39:24] Already on 'main' [2024-05-29 15:39:24] Your branch is up-to-date with 'origin/main'. [2024-05-29 15:39:24] [Pipeline] } [2024-05-29 15:39:24] [Pipeline] // stage [2024-05-29 15:39:24] [Pipeline] stage [2024-05-29 15:39:24] [Pipeline] { (构建 Docker 镜像) [2024-05-29 15:39:24] [Pipeline] sh [2024-05-29 15:39:24] + docker login -u ****** -p ****** ccr.ccs.tencentyun.com/tcb-******-jung/ca-amqyndmv_letbabytalk:letbabytalk-001-20240529153915 [2024-05-29 15:39:24] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29 15:39:24] WARNING! Your password will be stored unencrypted in /root/.docker/config.json. [2024-05-29 15:39:24] Configure a credential helper to remove this warning. See [2024-05-29 15:39:24] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2024-05-29 15:39:24] [2024-05-29 15:39:24] Login Succeeded [2024-05-29 15:39:24] [Pipeline] sh [2024-05-29 15:39:24] + docker build -f ././/Dockerfile -t ccr.ccs.tencentyun.com/tcb-******-jung/ca-amqyndmv_letbabytalk:letbabytalk-001-20240529153915 ./ [2024-05-29 15:39:24] DEPRECATED: The legacy builder is deprecated and will be removed in a future release. [2024-05-29 15:39:24] Install the buildx component to build images with BuildKit: [2024-05-29 15:39:24] https://docs.docker.com/go/buildx/ [2024-05-29 15:39:24] [2024-05-29 15:39:25] Sending build context to Docker daemon 69.39MB [2024-05-29 15:39:25] Step 1/5 : FROM tiangolo/uwsgi-nginx-flask:python3.8 [2024-05-29 15:39:26] python3.8: Pulling from tiangolo/uwsgi-nginx-flask [2024-05-29 15:39:26] 3d53ef4019fc: Pulling fs layer [2024-05-29 15:39:26] 08f0bf643eb6: Pulling fs layer [2024-05-29 15:39:26] 6b037c2b46ab: Pulling fs layer [2024-05-29 15:39:26] 6043113e1c69: Pulling fs layer [2024-05-29 15:39:26] ac790b3f4e8d: Pulling fs layer [2024-05-29 15:39:26] 91738598eaa6: Pulling fs layer [2024-05-29 15:39:26] b7657d634a59: Pulling fs layer [2024-05-29 15:39:26] cce66fcf2dc0: Pulling fs layer [2024-05-29 15:39:26] 105a4d4a3b88: Pulling fs layer [2024-05-29 15:39:26] 10ad8289dc20: Pulling fs layer [2024-05-29 15:39:26] 012f19665811: Pulling fs layer [2024-05-29 15:39:26] d56991d69c2f: Pulling fs layer [2024-05-29 15:39:26] 78b7fb3ef3d4: Pulling fs layer [2024-05-29 15:39:26] 09378ed982a4: Pulling fs layer [2024-05-29 15:39:26] 00035e178cce: Pulling fs layer [2024-05-29 15:39:26] c0613e538e96: Pulling fs layer [2024-05-29 15:39:26] a2c831ebb700: Pulling fs layer [2024-05-29 15:39:26] ddb618753115: Pulling fs layer [2024-05-29 15:39:26] 73b0b58acef4: Pulling fs layer [2024-05-29 15:39:26] 2a714e3a5b59: Pulling fs layer [2024-05-29 15:39:26] 6fa954f46230: Pulling fs layer [2024-05-29 15:39:26] 31e47ec0e3fa: Pulling fs layer [2024-05-29 15:39:26] b59c0dbff906: Pulling fs layer [2024-05-29 15:39:26] 4f4fb700ef54: Pulling fs layer [2024-05-29 15:39:26] b8a7d8ac7822: Pulling fs layer [2024-05-29 15:39:26] f5020f22ba35: Pulling fs layer [2024-05-29 15:39:26] fd7d46a7ef2b: Pulling fs layer [2024-05-29 15:39:26] d9e33daefa45: Pulling fs layer [2024-05-29 15:39:26] f4031c01c316: Pulling fs layer [2024-05-29 15:39:26] 0e0d564a5af3: Pulling fs layer [2024-05-29 15:39:26] 012f19665811: Waiting [2024-05-29 15:39:26] d56991d69c2f: Waiting [2024-05-29 15:39:26] 78b7fb3ef3d4: Waiting [2024-05-29 15:39:26] 09378ed982a4: Waiting [2024-05-29 15:39:26] 00035e178cce: Waiting [2024-05-29 15:39:26] c0613e538e96: Waiting [2024-05-29 15:39:26] b8a7d8ac7822: Waiting [2024-05-29 15:39:26] a2c831ebb700: Waiting [2024-05-29 15:39:26] 73b0b58acef4: Waiting [2024-05-29 15:39:26] b59c0dbff906: Waiting [2024-05-29 15:39:26] f4031c01c316: Waiting [2024-05-29 15:39:26] 0e0d564a5af3: Waiting [2024-05-29 15:39:26] 2a714e3a5b59: Waiting [2024-05-29 15:39:26] fd7d46a7ef2b: Waiting [2024-05-29 15:39:26] d9e33daefa45: Waiting [2024-05-29 15:39:26] 6fa954f46230: Waiting [2024-05-29 15:39:26] 31e47ec0e3fa: Waiting [2024-05-29 15:39:26] ddb618753115: Waiting [2024-05-29 15:39:26] 105a4d4a3b88: Download complete [2024-05-29 15:39:26] cce66fcf2dc0: Verifying Checksum [2024-05-29 15:39:26] cce66fcf2dc0: Download complete [2024-05-29 15:39:26] 10ad8289dc20: Verifying Checksum [2024-05-29 15:39:26] 10ad8289dc20: Download complete [2024-05-29 15:39:26] ac790b3f4e8d: Verifying Checksum [2024-05-29 15:39:26] ac790b3f4e8d: Download complete [2024-05-29 15:39:26] d56991d69c2f: Verifying Checksum [2024-05-29 15:39:26] d56991d69c2f: Download complete [2024-05-29 15:39:26] 91738598eaa6: Verifying Checksum [2024-05-29 15:39:26] 91738598eaa6: Download complete [2024-05-29 15:39:26] 012f19665811: Download complete [2024-05-29 15:39:26] 78b7fb3ef3d4: Verifying Checksum [2024-05-29 15:39:26] 78b7fb3ef3d4: Download complete [2024-05-29 15:39:26] 08f0bf643eb6: Verifying Checksum [2024-05-29 15:39:26] 08f0bf643eb6: Download complete [2024-05-29 15:39:26] 09378ed982a4: Verifying Checksum [2024-05-29 15:39:26] 09378ed982a4: Download complete [2024-05-29 15:39:26] a2c831ebb700: Verifying Checksum [2024-05-29 15:39:26] a2c831ebb700: Download complete [2024-05-29 15:39:26] ddb618753115: Download complete [2024-05-29 15:39:26] c0613e538e96: Verifying Checksum [2024-05-29 15:39:26] c0613e538e96: Download complete [2024-05-29 15:39:26] 73b0b58acef4: Verifying Checksum [2024-05-29 15:39:26] 73b0b58acef4: Download complete [2024-05-29 15:39:26] 2a714e3a5b59: Download complete [2024-05-29 15:39:27] 6fa954f46230: Download complete [2024-05-29 15:39:27] 00035e178cce: Verifying Checksum [2024-05-29 15:39:27] 00035e178cce: Download complete [2024-05-29 15:39:27] 31e47ec0e3fa: Verifying Checksum [2024-05-29 15:39:27] 31e47ec0e3fa: Download complete [2024-05-29 15:39:27] 4f4fb700ef54: Verifying Checksum [2024-05-29 15:39:27] 4f4fb700ef54: Download complete [2024-05-29 15:39:27] b59c0dbff906: Verifying Checksum [2024-05-29 15:39:27] b8a7d8ac7822: Verifying Checksum [2024-05-29 15:39:27] b8a7d8ac7822: Download complete [2024-05-29 15:39:27] fd7d46a7ef2b: Verifying Checksum [2024-05-29 15:39:27] fd7d46a7ef2b: Download complete [2024-05-29 15:39:27] 6b037c2b46ab: Verifying Checksum [2024-05-29 15:39:27] 6b037c2b46ab: Download complete [2024-05-29 15:39:27] 3d53ef4019fc: Verifying Checksum [2024-05-29 15:39:27] 3d53ef4019fc: Download complete [2024-05-29 15:39:27] d9e33daefa45: Download complete [2024-05-29 15:39:27] 0e0d564a5af3: Verifying Checksum [2024-05-29 15:39:27] 0e0d564a5af3: Download complete [2024-05-29 15:39:27] f4031c01c316: Verifying Checksum [2024-05-29 15:39:27] f4031c01c316: Download complete [2024-05-29 15:39:27] f5020f22ba35: Verifying Checksum [2024-05-29 15:39:27] f5020f22ba35: Download complete [2024-05-29 15:39:29] 6043113e1c69: Verifying Checksum [2024-05-29 15:39:29] 6043113e1c69: Download complete [2024-05-29 15:39:29] 3d53ef4019fc: Pull complete [2024-05-29 15:39:29] 08f0bf643eb6: Pull complete [2024-05-29 15:39:31] 6b037c2b46ab: Pull complete [2024-05-29 15:39:36] 6043113e1c69: Pull complete [2024-05-29 15:39:36] ac790b3f4e8d: Pull complete [2024-05-29 15:39:36] 91738598eaa6: Pull complete [2024-05-29 15:39:36] b7657d634a59: Pull complete [2024-05-29 15:39:37] cce66fcf2dc0: Pull complete [2024-05-29 15:39:37] 105a4d4a3b88: Pull complete [2024-05-29 15:39:37] 10ad8289dc20: Pull complete [2024-05-29 15:39:37] 012f19665811: Pull complete [2024-05-29 15:39:37] d56991d69c2f: Pull complete [2024-05-29 15:39:37] 78b7fb3ef3d4: Pull complete [2024-05-29 15:39:37] 09378ed982a4: Pull complete [2024-05-29 15:39:37] 00035e178cce: Pull complete [2024-05-29 15:39:37] c0613e538e96: Pull complete [2024-05-29 15:39:37] a2c831ebb700: Pull complete [2024-05-29 15:39:37] ddb618753115: Pull complete [2024-05-29 15:39:37] 73b0b58acef4: Pull complete [2024-05-29 15:39:37] 2a714e3a5b59: Pull complete [2024-05-29 15:39:37] 6fa954f46230: Pull complete [2024-05-29 15:39:37] 31e47ec0e3fa: Pull complete [2024-05-29 15:39:37] b59c0dbff906: Pull complete [2024-05-29 15:39:37] 4f4fb700ef54: Pull complete [2024-05-29 15:39:37] b8a7d8ac7822: Pull complete [2024-05-29 15:39:38] f5020f22ba35: Pull complete [2024-05-29 15:39:38] fd7d46a7ef2b: Pull complete [2024-05-29 15:39:38] d9e33daefa45: Pull complete [2024-05-29 15:39:38] f4031c01c316: Pull complete [2024-05-29 15:39:38] 0e0d564a5af3: Pull complete [2024-05-29 15:39:38] Digest: sha256:5d461ffc12ea039b11d4a2f3605f821288342f29c905ed534771114882aff430 [2024-05-29 15:39:38] Status: Downloaded newer image for tiangolo/uwsgi-nginx-flask:python3.8 [2024-05-29 15:39:38] ---> c4c1a30a42b4 [2024-05-29 15:39:38] Step 2/5 : COPY ./app /app [2024-05-29 15:39:38] ---> 1bc394f3a707 [2024-05-29 15:39:38] Step 3/5 : RUN apt-get update && apt-get install -y libsndfile1 [2024-05-29 15:39:38] ---> Running in caabf5176607 [2024-05-29 15:39:38] Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] [2024-05-29 15:39:39] Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB] [2024-05-29 15:39:39] Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] [2024-05-29 15:39:39] Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8068 kB] [2024-05-29 15:39:39] Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [273 kB] [2024-05-29 15:39:39] Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB] [2024-05-29 15:39:40] Fetched 8568 kB in 1s (6588 kB/s) [2024-05-29 15:39:40] Reading package lists... [2024-05-29 15:39:41] Reading package lists... [2024-05-29 15:39:41] Building dependency tree... [2024-05-29 15:39:41] Reading state information... [2024-05-29 15:39:41] The following additional packages will be installed: [2024-05-29 15:39:41] libflac8 libogg0 libopus0 libvorbis0a libvorbisenc2 [2024-05-29 15:39:41] Suggested packages: [2024-05-29 15:39:41] opus-tools [2024-05-29 15:39:41] The following NEW packages will be installed: [2024-05-29 15:39:41] libflac8 libogg0 libopus0 libsndfile1 libvorbis0a libvorbisenc2 [2024-05-29 15:39:41] 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. [2024-05-29 15:39:41] Need to get 691 kB of archives. [2024-05-29 15:39:41] After this operation, 2244 kB of additional disk space will be used. [2024-05-29 15:39:41] Get:1 http://deb.debian.org/debian bullseye/main amd64 libogg0 amd64 1.3.4-0.1 [27.3 kB] [2024-05-29 15:39:41] Get:2 http://deb.debian.org/debian bullseye/main amd64 libflac8 amd64 1.3.3-2+deb11u2 [112 kB] [2024-05-29 15:39:41] Get:3 http://deb.debian.org/debian bullseye/main amd64 libopus0 amd64 1.3.1-0.1 [190 kB] [2024-05-29 15:39:41] Get:4 http://deb.debian.org/debian bullseye/main amd64 libvorbis0a amd64 1.3.7-1 [93.0 kB] [2024-05-29 15:39:41] Get:5 http://deb.debian.org/debian bullseye/main amd64 libvorbisenc2 amd64 1.3.7-1 [80.6 kB] [2024-05-29 15:39:41] Get:6 http://deb.debian.org/debian bullseye/main amd64 libsndfile1 amd64 1.0.31-2 [188 kB] [2024-05-29 15:39:41] debconf: delaying package configuration, since apt-utils is not installed [2024-05-29 15:39:41] Fetched 691 kB in 0s (3356 kB/s) [2024-05-29 15:39:41] Selecting previously unselected package libogg0:amd64. [2024-05-29 15:39:41] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 23765 files and directories currently installed.) [2024-05-29 15:39:41] Preparing to unpack .../0-libogg0_1.3.4-0.1_amd64.deb ... [2024-05-29 15:39:41] Unpacking libogg0:amd64 (1.3.4-0.1) ... [2024-05-29 15:39:41] Selecting previously unselected package libflac8:amd64. [2024-05-29 15:39:41] Preparing to unpack .../1-libflac8_1.3.3-2+deb11u2_amd64.deb ... [2024-05-29 15:39:41] Unpacking libflac8:amd64 (1.3.3-2+deb11u2) ... [2024-05-29 15:39:41] Selecting previously unselected package libopus0:amd64. [2024-05-29 15:39:41] Preparing to unpack .../2-libopus0_1.3.1-0.1_amd64.deb ... [2024-05-29 15:39:41] Unpacking libopus0:amd64 (1.3.1-0.1) ... [2024-05-29 15:39:41] Selecting previously unselected package libvorbis0a:amd64. [2024-05-29 15:39:41] Preparing to unpack .../3-libvorbis0a_1.3.7-1_amd64.deb ... [2024-05-29 15:39:41] Unpacking libvorbis0a:amd64 (1.3.7-1) ... [2024-05-29 15:39:41] Selecting previously unselected package libvorbisenc2:amd64. [2024-05-29 15:39:41] Preparing to unpack .../4-libvorbisenc2_1.3.7-1_amd64.deb ... [2024-05-29 15:39:41] Unpacking libvorbisenc2:amd64 (1.3.7-1) ... [2024-05-29 15:39:41] Selecting previously unselected package libsndfile1:amd64. [2024-05-29 15:39:41] Preparing to unpack .../5-libsndfile1_1.0.31-2_amd64.deb ... [2024-05-29 15:39:41] Unpacking libsndfile1:amd64 (1.0.31-2) ... [2024-05-29 15:39:41] Setting up libogg0:amd64 (1.3.4-0.1) ... [2024-05-29 15:39:41] Setting up libflac8:amd64 (1.3.3-2+deb11u2) ... [2024-05-29 15:39:41] Setting up libopus0:amd64 (1.3.1-0.1) ... [2024-05-29 15:39:42] Setting up libvorbis0a:amd64 (1.3.7-1) ... [2024-05-29 15:39:42] Setting up libvorbisenc2:amd64 (1.3.7-1) ... [2024-05-29 15:39:42] Setting up libsndfile1:amd64 (1.0.31-2) ... [2024-05-29 15:39:42] Processing triggers for libc-bin (2.31-13+deb11u10) ... [2024-05-29 15:39:42] Removing intermediate container caabf5176607 [2024-05-29 15:39:42] ---> f337f8b294b1 [2024-05-29 15:39:42] Step 4/5 : RUN pip install torch -i https://pypi.tuna.tsinghua.edu.cn/simple [2024-05-29 15:39:42] ---> Running in 6dde6e2c1f18 [2024-05-29 15:39:43] Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple [2024-05-29 15:39:44] Collecting torch [2024-05-29 15:39:44] Downloading https://pypi.tuna.tsinghua.edu.cn/packages/01/08/f944e6d04b3610aa3e177a55f2060492eb80d04392f025601c482def6f92/torch-2.3.0-cp38-cp38-manylinux1_x86_64.whl (779.1 MB) [2024-05-29 15:42:50] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 779.1/779.1 MB 1.4 MB/s eta 0:00:00 [2024-05-29 15:42:50] Collecting nvidia-cuda-cupti-cu12==12.1.105 [2024-05-29 15:42:50] Downloading https://pypi.tuna.tsinghua.edu.cn/packages/7e/00/6b218edd739ecfc60524e585ba8e6b00554dd908de2c9c66c1af3e44e18d/nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (14.1 MB) [2024-05-29 15:42:50] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.1/14.1 MB 4.7 MB/s eta 0:00:00 [2024-05-29 15:42:50] Collecting typing-extensions>=4.8.0 [2024-05-29 15:42:50] Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e1/4d/d612de852a0bc64a64418e1cef25fe1914c5b1611e34cc271ed7e36174c8/typing_extensions-4.12.0-py3-none-any.whl (37 kB) [2024-05-29 15:42:50] Collecting filelock [2024-05-29 15:42:50] Downloading https://pypi.tuna.tsinghua.edu.cn/packages/41/24/0b023b6537dfc9bae2c779353998e3e99ac7dfff4222fc6126650e93c3f3/filelock-3.14.0-py3-none-any.whl (12 kB) [2024-05-29 15:42:50] Collecting nvidia-cudnn-cu12==8.9.2.26 [2024-05-29 15:42:50] Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ff/74/a2e2be7fb83aaedec84f391f082cf765dfb635e7caa9b49065f73e4835d8/nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl (731.7 MB) [2024-05-29 15:46:11] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 731.7/731.7 MB 1.2 MB/s eta 0:00:00 [2024-05-29 15:46:11] Collecting nvidia-cuda-nvrtc-cu12==12.1.105 [2024-05-29 15:46:11] Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b6/9f/c64c03f49d6fbc56196664d05dba14e3a561038a81a638eeb47f4d4cfd48/nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (23.7 MB) [2024-05-29 15:46:18] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.7/23.7 MB 3.6 MB/s eta 0:00:00 [2024-05-29 15:46:18] Collecting nvidia-cublas-cu12==12.1.3.1 [2024-05-29 15:46:18] Downloading https://pypi.tuna.tsinghua.edu.cn/packages/37/6d/121efd7382d5b0284239f4ab1fc1590d86d34ed4a4a2fdb13b30ca8e5740/nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl (410.6 MB) [2024-05-29 15:48:39] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 410.6/410.6 MB 1.7 MB/s eta 0:00:00 [2024-05-29 15:48:39] Collecting nvidia-nccl-cu12==2.20.5 [2024-05-29 15:48:39] Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4b/2a/0a131f572aa09f741c30ccd45a8e56316e8be8dfc7bc19bf0ab7cfef7b19/nvidia_nccl_cu12-2.20.5-py3-none-manylinux2014_x86_64.whl (176.2 MB) [2024-05-29 15:49:20] Sending interrupt signal to process [2024-05-29 15:49:20] Aborted by coding [2024-05-29 15:49:21] Sending interrupt signal to process [2024-05-29 15:49:21] Aborted by coding [2024-05-29 15:49:22] Sending interrupt signal to process [2024-05-29 15:49:22] Aborted by coding [2024-05-29 15:49:23] Sending interrupt signal to process [2024-05-29 15:49:23] Aborted by coding [2024-05-29 15:49:24] Sending interrupt signal to process [2024-05-29 15:49:24] Aborted by coding [2024-05-29 15:49:25] Sending interrupt signal to process [2024-05-29 15:49:25] Aborted by coding [2024-05-29 15:49:26] Terminated [2024-05-29 15:49:26] script returned exit code 143 [2024-05-29 15:49:26] [Pipeline] } [2024-05-29 15:49:26] [Pipeline] // stage [2024-05-29 15:49:26] [Pipeline] stage [2024-05-29 15:49:26] [Pipeline] { (推送 Docker 镜像到 TCR) [2024-05-29 15:49:26] Stage "推送 Docker 镜像到 TCR" skipped due to earlier failure(s) [2024-05-29 15:49:26] [Pipeline] } [2024-05-29 15:49:26] [Pipeline] // stage [2024-05-29 15:49:26] [Pipeline] } [2024-05-29 15:49:26] [Pipeline] // node [2024-05-29 15:49:26] [Pipeline] End of Pipeline [2024-05-29 15:49:26] Finished: ABORTED *** 2024-05-29 15:39:17 create_build_image : succ,
我用了云托管本地调试Apache-think模板,VPC上的mysql也启动了,为什么请求不了数据库呢? 就是默认的那个计数器程序,不能正常运行。debug.json里写了数据库信息(就用内网的ip和端口没错吧,开了公网的也没用)。 云托管控制器里的服务设置里,环境变量是 { "TOAL_KEY": "当然这里有字", "TOAL_ROLE": "当然这里有字", "TOAL_MODE": "当然这里有字", "TOAL_VERBOSE": "当然这里有字" } 我不知道为什么不像非本地调试服务一样,这里没有数据库信息,我以为是不是在debug.json里设置了。总之我加上也没用 直接访问控制器地址 http://127.0.0.1:27081/api/count得到 SQLSTATE[HY000] [2006] MySQL server has gone away
[图片]
https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-sdk-api/container/Cloud.callContainer.html timeoutnumber否根据业务自定义超时时间,单位为毫秒,本项取值需要小于 1500 毫秒(服务启动耗时 +请求耗时 < timeout < 1500 毫秒) 这里是15秒吧 ? 那就是15000 而不是1500 。
对象存储我存了一些图片,小程序里加载图片, <image src=File ID .... 这种写法对吗,为什么加载不出来? [图片] [渲染层网络层错误] Failed to load local image resource /pages/main/cloud://koala-cloud-backend-5cubed6d526a.6b6f-koala-cloud-backend-5cubed6d526a-1311903020/2.webp Network 里看到的是 Request URL: http://127.0.0.1:64851/__pageframe__/pages/main/cloud://koala-cloud-backend-5cubed6d526a.6b6f-koala-cloud-backend-5cubed6d526a-1311903020/2.webp 明明是云存储对象的地址,怎么当成本地的了,127.0.0.1 CDN 出问题了? 在云托管理可以预览图片,说明图片没有问题。 [图片]
[图片]
服务异常:环境信息异常,缺少oauth: https://dcxcx-4gdespq0fd817479.ap-shanghai.kits.tcloudbasegateway.com/cms/4oh1m1pst9553a34/v1/projects/requestStorage
[图片]
Error: Base resp abnormal, {"ret":-1,"errmsg":"system error.","wx_req_id":"vfMcPBpre-un4HOa-1716694991"} 我另一个未认证的都可以创建,这个认证的倒还创建不了??
今天开通云托管,还不知道如何运营,有大佬提供帮助的吗?
微信云托管平台服务列表中的wxcomponent-214299最初是官方送的免费限时服务,被删除后,能恢复吗?最初是官方自动布署的https://github.com/WeixinCloud/wxcloudrun-wxcomponentr的这个服务,被删除后,能恢复吗?现在还有免费时长,到9
除了买49元的固定ip,还有什么其他办法?
https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/quickstart/custom/ 为什么没有 TypeScript 版本的 Koa 模板呀,抖音云都有提供呀,怎么还是 js 的,不会用呀!
https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/guide/debug/ 需要把容器端口映射到本地才行,按照你们这个操作永远都启动不了。。云托管既然做成一个付费服务了,就不认真做。拉高门槛。。想赚钱 又不想花力气搞好。美事都被你们想明白了
文档确实有点儿,,,,怎么说呢,估计是他们内部开发走的通就这么写了。没有考虑普通用户的网络情况,知识盲区;属于挖坑,让用户自己填! 很多问题得自己解决!!!并且没有可用得范例!我也是折腾了一下午,才搞通本地调试云托管服务。哭笑不得!
1 安装docker 国内很多源已经无效,安装多次都会报错
2 像你说的,本地调试VPC代理容器一定要先启动!!!
3 多个调试服务时,目录和配置文件那里也有错误!必须要打开服务项目父目录的上一层目录!配置文件在顶层根目录下,运行某个服务调试是再单独配置文件启动的服务名!
https://developers.weixin.qq.com/community/develop/article/doc/0004624ac94e18d9a6c11264061013
主要是为了本地调试,都能启动成功。但是访问都没有响应。 [图片][图片][图片]
正要开发一个小程序,开通云托管,提示我要求我先认证,我觉得是不是搞错了,以前没遇到过这情况,小程序不是发布前才需要认证的,现在不认证开发都不能进行了? 不应该这么限制了,我开发了还不一定上线,确定要上线我再认证不就可以了吗? 不认证不给开通云托管??? 之前开发了几个小程序也没遇到这情况啊,请官方给解释一下。
一直在转圈,自动刷新,但是进不去,不过API正常调用存储,哪位大神解惑一下! [图片]
报错信息如下: 部署失败,[2024-05-17 21:02:58] error: external filter git-lfs smudge -- %f failed 143 [2024-05-17 21:02:58] error: external filter git-lfs smudge -- %f failed [2024-05-17 21:02:58] fatal: wxcloudrun/zh_en_cmodel/model.bin: smudge filter lfs failed [2024-05-17 21:02:58] warning: Clone succeeded, but checkout failed. [2024-05-17 21:02:58] You can inspect what was checked out with 'git status' [2024-05-17 21:02:58] and retry the checkout with 'git checkout -f HEAD' 我在其他服务器训练好了模型,现在想做个API,然后代码、模型文件都push到我的仓库里了,其中模型文件model.bin通过git lfs传的,然后在部署时就报了这样的错。请问这跟我穿的文件480多MB有关吗,是不是有什么大小限制?
<image width="100px" height="100px" src="cloud://koala-cloud-backend-....-sticker.png" /> 图片是我手动上传到云托管对象存储里的。 [图片]
[图片] 如图,不懂这是什么问题。 发工单也发不了,提交就说工单提交失败。 不太明白,我这是小程序账号登录的,怎以和公众号扯上关系了,这是我其中一个小程序,其他的没有这个问题,不知道原因在哪? 是必须交认证费才能部署吗,现在是测试阶段,名字logo什么的都没有想好,也不能做认证啊,不是300块钱的事。
目前本地调试没法通过内网直连云上的数据库
可以开启公网打通:
1、云托管里面的数据库启动公网
2、本地的数据库连接信息均使用公网相关配置