2025/09/30 09:38:30 升级应用 [openresty] 任务开始 [START]
2025/09/30 09:42:25 备份应用 [openresty] 成功
2025/09/30 09:42:25 download app [OpenResty] from https://apps-assets.fit2cloud.com/stable/1panel/openresty/1.27.1.2-2-3-focal/openresty-1.27.1.2-2-3-focal.tar.gz
2025/09/30 09:42:30 开始拉取镜像 1panel/openresty:1.27.1.2-2-3-focal
2025/09/30 09:42:32 拉取镜像成功
2025/09/30 09:42:34 开始构建 镜像
2025/09/30 09:42:34 Compose can now delegate builds to bake for better performance.
2025/09/30 09:42:34 To do so, set COMPOSE_BAKE=true.
2025/09/30 09:42:36 #0 building with "default" instance using docker driver
2025/09/30 09:42:36
2025/09/30 09:42:36 #1 [openresty internal] load build definition from Dockerfile
2025/09/30 09:42:36 #1 transferring dockerfile:
2025/09/30 09:42:36 #1 transferring dockerfile: 11.08kB 0.0s done
2025/09/30 09:42:36 #1 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 8)
2025/09/30 09:42:36 #1 DONE 0.1s
2025/09/30 09:42:36
2025/09/30 09:42:36 #2 [openresty internal] load metadata for docker.io/1panel/openresty:1.27.1.2-2-3-focal
2025/09/30 09:42:36 #2 DONE 0.0s
2025/09/30 09:42:36
2025/09/30 09:42:36 #3 [openresty internal] load metadata for docker.io/library/ubuntu:focal
2025/09/30 09:42:37 #3 DONE 1.5s
2025/09/30 09:42:37
2025/09/30 09:42:37 #4 [openresty internal] load .dockerignore
2025/09/30 09:42:37 #4 transferring context: 2B done
2025/09/30 09:42:37 #4 DONE 0.0s
2025/09/30 09:42:38
2025/09/30 09:42:38 #5 [openresty stage-1 1/11] FROM docker.io/library/ubuntu:focal@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214
2025/09/30 09:42:38 #5 resolve docker.io/library/ubuntu:focal@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214 0.0s done
2025/09/30 09:42:38 #5 sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214 6.69kB / 6.69kB done
2025/09/30 09:42:38 #5 sha256:c664f8f86ed5a386b0a340d981b8f81714e21a8b9c73f658c4bea56aa179d54a 424B / 424B done
2025/09/30 09:42:38 #5 sha256:b7bab04fd9aa0c771e5720bf0cc7cbf993fd6946645983d9096126e5af45d713 2.30kB / 2.30kB done
2025/09/30 09:42:38 #5 DONE 0.1s
2025/09/30 09:42:38
2025/09/30 09:42:38 #6 [openresty internal] load build context
2025/09/30 09:42:38 #6 ...
2025/09/30 09:42:38
2025/09/30 09:42:38 #7 [openresty panel-openresty 1/1] FROM docker.io/1panel/openresty:1.27.1.2-2-3-focal
2025/09/30 09:42:38 #7 DONE 0.4s
2025/09/30 09:42:38
2025/09/30 09:42:38 #6 [openresty internal] load build context
2025/09/30 09:42:38 #6 transferring context: 110.60MB 0.8s done
2025/09/30 09:42:38 #6 DONE 0.8s
2025/09/30 09:42:38
2025/09/30 09:42:38 #8 [openresty stage-1 2/11] COPY tmp /tmp
2025/09/30 09:42:39 #8 DONE 0.4s
2025/09/30 09:42:39
2025/09/30 09:42:39 #9 [openresty stage-1 3/11] RUN sed -i "s|http://archive.ubuntu.com/ubuntu/||g" /etc/apt/sources.list && sed -i "s|http://security.ubuntu.com/ubuntu/||g" /etc/apt/sources.list
2025/09/30 09:42:41 #9 DONE 2.6s
2025/09/30 09:42:41
2025/09/30 09:42:41 #10 [openresty stage-1 4/11] RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential ca-certificates curl gettext-base libgd-dev libgeoip-dev libncurses5-dev libperl-dev libreadline-dev libxslt1-dev make perl unzip wget zlib1g-dev git && cd /tmp && bash /tmp/pre.sh && if [ -n "" ]; then eval $(echo ); fi && tar xzf openssl-3.4.1.tar.gz && cd openssl-3.4.1 && echo 'patching OpenSSL 3.x for OpenResty' && patch -p1 < /tmp/openssl-3.4.1-sess_set_get_cb_yield.patch && ./config shared zlib -g --prefix=/usr/local/openresty/openssl3 --libdir=lib -Wl,-rpath,/usr/local/openresty/openssl3/lib enable-camellia enable-seed enable-rfc3779 enable-cms enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method enable-md2 enable-ktls enable-fips && make -j1 && make -j1 install_sw && cd /tmp && echo "86b9cb0aa3bcb7994faa88018292bc704cdbb708e785f7c74352ff6ea7d3175b pcre2-10.44.tar.gz" | shasum -a 256 --check && tar xzf pcre2-10.44.tar.gz && cd /tmp/pcre2-10.44 && CFLAGS="-g -O3" ./configure --prefix=/usr/local/openresty/pcre2 --libdir=/usr/local/openresty/pcre2/lib --enable-jit --enable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-callout-fork --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-percent-zt --disable-rebuild-chartables --enable-shared --disable-static --disable-silent-rules --enable-unicode --disable-valgrind && CFLAGS="-g -O3" make -j1 && CFLAGS="-g -O3" make -j1 install && cd /tmp && tar xzf openresty-1.27.1.2.tar.gz && cd /tmp/openresty-1.27.1.2 && if [ -n "" ]; then eval $(echo ); fi && eval ./configure -j1 --with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre2/include -I/usr/local/openresty/openssl3/include' --with-ld-opt='-L/usr/local/openresty/pcre2/lib -L/usr/local/openresty/openssl3/lib -Wl,-rpath,/usr/local/openresty/pcre2/lib:/usr/local/openresty/openssl3/lib' --with-compat --without-http_rds_json_module --without-http_rds_csv_module --without-lua_rds_parser --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_v3_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-sha1-asm --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --add-module=/usr/local/openresty/modules/ngx_brotli --add-module=/tmp/nginx-rtmp-module --with-http_dav_module --add-module=/tmp/nginx-dav-ext-module --add-module=/tmp/ngx_http_geoip2_module --add-module=/tmp/ngx_http_substitutions_filter_module --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' --with-pcre-jit && make -j1 && make -j1 install && cd /tmp && rm -rf openssl-3.4.1.tar.gz openssl-3.4.1 pcre2-10.44.tar.gz pcre2-10.44 openresty-1.27.1.2.tar.gz openresty-1.27.1.2 && tar xzf luarocks-3.11.1.tar.gz && cd luarocks-3.11.1 && ./configure --prefix=/usr/local/openresty/luajit --with-lua=/usr/local/openresty/luajit --with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1 && make build && make install && cd /tmp && if [ -n "" ]; then eval $(echo ); fi && rm -rf luarocks-3.11.1 luarocks-3.11.1.tar.gz && if [ -n " " ]; then DEBIAN_FRONTEND=noninteractive apt-get remove -y --purge ; fi && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y && mkdir -p /var/run/openresty && ln -sf /dev/stdout /usr/local/openresty/nginx/logs/access.log && ln -sf /dev/stderr /usr/local/openresty/nginx/logs/error.log
2025/09/30 09:42:42 #10 0.778 E: Malformed entry 3 in list file /etc/apt/sources.list (URI parse)
2025/09/30 09:42:42 #10 0.778 E: The list of sources could not be read.
2025/09/30 09:42:42 #10 ERROR: process "/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential ca-certificates curl gettext-base libgd-dev libgeoip-dev libncurses5-dev libperl-dev libreadline-dev libxslt1-dev make perl unzip wget zlib1g-dev git ${RESTY_ADD_PACKAGE_BUILDDEPS} ${RESTY_ADD_PACKAGE_RUNDEPS} && cd /tmp && bash /tmp/pre.sh && if [ -n \"${RESTY_EVAL_PRE_CONFIGURE}\" ]; then eval $(echo ${RESTY_EVAL_PRE_CONFIGURE}); fi && tar xzf openssl-${RESTY_OPENSSL_VERSION}.tar.gz && cd openssl-${RESTY_OPENSSL_VERSION} && echo 'patching OpenSSL 3.x for OpenResty' && patch -p1 < /tmp/openssl-${RESTY_OPENSSL_PATCH_VERSION}-sess_set_get_cb_yield.patch && ./config shared zlib -g --prefix=/usr/local/openresty/openssl3 --libdir=lib -Wl,-rpath,/usr/local/openresty/openssl3/lib ${RESTY_OPENSSL_BUILD_OPTIONS} && make -j${RESTY_J} && make -j${RESTY_J} install_sw && cd /tmp && echo \"${RESTY_PCRE_SHA256} pcre2-${RESTY_PCRE_VERSION}.tar.gz\" | shasum -a 256 --check && tar xzf pcre2-${RESTY_PCRE_VERSION}.tar.gz && cd /tmp/pcre2-${RESTY_PCRE_VERSION} && CFLAGS=\"-g -O3\" ./configure --prefix=/usr/local/openresty/pcre2 --libdir=/usr/local/openresty/pcre2/lib ${RESTY_PCRE_BUILD_OPTIONS} && CFLAGS=\"-g -O3\" make -j${RESTY_J} && CFLAGS=\"-g -O3\" make -j${RESTY_J} install && cd /tmp && tar xzf openresty-${RESTY_VERSION}.tar.gz && cd /tmp/openresty-${RESTY_VERSION} && if [ -n \"${RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE}\" ]; then eval $(echo ${RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE}); fi && eval ./configure -j${RESTY_J} ${_RESTY_CONFIG_DEPS} ${RESTY_CONFIG_OPTIONS} ${RESTY_CONFIG_OPTIONS_MORE} ${RESTY_LUAJIT_OPTIONS} ${RESTY_PCRE_OPTIONS} && make -j${RESTY_J} && make -j${RESTY_J} install && cd /tmp && rm -rf openssl-${RESTY_OPENSSL_VERSION}.tar.gz openssl-${RESTY_OPENSSL_VERSION} pcre2-${RESTY_PCRE_VERSION}.tar.gz pcre2-${RESTY_PCRE_VERSION} openresty-${RESTY_VERSION}.tar.gz openresty-${RESTY_VERSION} && tar xzf luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz && cd luarocks-${RESTY_LUAROCKS_VERSION} && ./configure --prefix=/usr/local/openresty/luajit --with-lua=/usr/local/openresty/luajit --with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1 && make build && make install && cd /tmp && if [ -n \"${RESTY_EVAL_POST_MAKE}\" ]; then eval $(echo ${RESTY_EVAL_POST_MAKE}); fi && rm -rf luarocks-${RESTY_LUAROCKS_VERSION} luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz && if [ -n \"${RESTY_ADD_PACKAGE_BUILDDEPS}\" ]; then DEBIAN_FRONTEND=noninteractive apt-get remove -y --purge ${RESTY_ADD_PACKAGE_BUILDDEPS} ; fi && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y && mkdir -p /var/run/openresty && ln -sf /dev/stdout /usr/local/openresty/nginx/logs/access.log && ln -sf /dev/stderr /usr/local/openresty/nginx/logs/error.log" did not complete successfully: exit code: 100
2025/09/30 09:42:42 ------
2025/09/30 09:42:42 > [openresty stage-1 4/11] RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential ca-certificates curl gettext-base libgd-dev libgeoip-dev libncurses5-dev libperl-dev libreadline-dev libxslt1-dev make perl unzip wget zlib1g-dev git && cd /tmp && bash /tmp/pre.sh && if [ -n "" ]; then eval $(echo ); fi && tar xzf openssl-3.4.1.tar.gz && cd openssl-3.4.1 && echo 'patching OpenSSL 3.x for OpenResty' && patch -p1 < /tmp/openssl-3.4.1-sess_set_get_cb_yield.patch && ./config shared zlib -g --prefix=/usr/local/openresty/openssl3 --libdir=lib -Wl,-rpath,/usr/local/openresty/openssl3/lib enable-camellia enable-seed enable-rfc3779 enable-cms enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method enable-md2 enable-ktls enable-fips && make -j1 && make -j1 install_sw && cd /tmp && echo "86b9cb0aa3bcb7994faa88018292bc704cdbb708e785f7c74352ff6ea7d3175b pcre2-10.44.tar.gz" | shasum -a 256 --check && tar xzf pcre2-10.44.tar.gz && cd /tmp/pcre2-10.44 && CFLAGS="-g -O3" ./configure --prefix=/usr/local/openresty/pcre2 --libdir=/usr/local/openresty/pcre2/lib --enable-jit --enable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-callout-fork --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-percent-zt --disable-rebuild-chartables --enable-shared --disable-static --disable-silent-rules --enable-unicode --disable-valgrind && CFLAGS="-g -O3" make -j1 && CFLAGS="-g -O3" make -j1 install && cd /tmp && tar xzf openresty-1.27.1.2.tar.gz && cd /tmp/openresty-1.27.1.2 && if [ -n "" ]; then eval $(echo ); fi && eval ./configure -j1 --with-pcre --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre2/include -I/usr/local/openresty/openssl3/include' --with-ld-opt='-L/usr/local/openresty/pcre2/lib -L/usr/local/openresty/openssl3/lib -Wl,-rpath,/usr/local/openresty/pcre2/lib:/usr/local/openresty/openssl3/lib' --with-compat --without-http_rds_json_module --without-http_rds_csv_module --without-lua_rds_parser --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_v3_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-sha1-asm --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --add-module=/usr/local/openresty/modules/ngx_brotli --add-module=/tmp/nginx-rtmp-module --with-http_dav_module --add-module=/tmp/nginx-dav-ext-module --add-module=/tmp/ngx_http_geoip2_module --add-module=/tmp/ngx_http_substitutions_filter_module --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' --with-pcre-jit && make -j1 && make -j1 install && cd /tmp && rm -rf openssl-3.4.1.tar.gz openssl-3.4.1 pcre2-10.44.tar.gz pcre2-10.44 openresty-1.27.1.2.tar.gz openresty-1.27.1.2 && tar xzf luarocks-3.11.1.tar.gz && cd luarocks-3.11.1 && ./configure --prefix=/usr/local/openresty/luajit --with-lua=/usr/local/openresty/luajit --with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1 && make build && make install && cd /tmp && if [ -n "" ]; then eval $(echo ); fi && rm -rf luarocks-3.11.1 luarocks-3.11.1.tar.gz && if [ -n " " ]; then DEBIAN_FRONTEND=noninteractive apt-get remove -y --purge ; fi && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y && mkdir -p /var/run/openresty && ln -sf /dev/stdout /usr/local/openresty/nginx/logs/access.log && ln -sf /dev/stderr /usr/local/openresty/nginx/logs/error.log:
2025/09/30 09:42:42 0.778 E: Malformed entry 3 in list file /etc/apt/sources.list (URI parse)
2025/09/30 09:42:42 0.778 E: The list of sources could not be read.
2025/09/30 09:42:42 ------
2025/09/30 09:42:42 failed to solve: process "/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential ca-certificates curl gettext-base libgd-dev libgeoip-dev libncurses5-dev libperl-dev libreadline-dev libxslt1-dev make perl unzip wget zlib1g-dev git ${RESTY_ADD_PACKAGE_BUILDDEPS} ${RESTY_ADD_PACKAGE_RUNDEPS} && cd /tmp && bash /tmp/pre.sh && if [ -n \"${RESTY_EVAL_PRE_CONFIGURE}\" ]; then eval $(echo ${RESTY_EVAL_PRE_CONFIGURE}); fi && tar xzf openssl-${RESTY_OPENSSL_VERSION}.tar.gz && cd openssl-${RESTY_OPENSSL_VERSION} && echo 'patching OpenSSL 3.x for OpenResty' && patch -p1 < /tmp/openssl-${RESTY_OPENSSL_PATCH_VERSION}-sess_set_get_cb_yield.patch && ./config shared zlib -g --prefix=/usr/local/openresty/openssl3 --libdir=lib -Wl,-rpath,/usr/local/openresty/openssl3/lib ${RESTY_OPENSSL_BUILD_OPTIONS} && make -j${RESTY_J} && make -j${RESTY_J} install_sw && cd /tmp && echo \"${RESTY_PCRE_SHA256} pcre2-${RESTY_PCRE_VERSION}.tar.gz\" | shasum -a 256 --check && tar xzf pcre2-${RESTY_PCRE_VERSION}.tar.gz && cd /tmp/pcre2-${RESTY_PCRE_VERSION} && CFLAGS=\"-g -O3\" ./configure --prefix=/usr/local/openresty/pcre2 --libdir=/usr/local/openresty/pcre2/lib ${RESTY_PCRE_BUILD_OPTIONS} && CFLAGS=\"-g -O3\" make -j${RESTY_J} && CFLAGS=\"-g -O3\" make -j${RESTY_J} install && cd /tmp && tar xzf openresty-${RESTY_VERSION}.tar.gz && cd /tmp/openresty-${RESTY_VERSION} && if [ -n \"${RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE}\" ]; then eval $(echo ${RESTY_EVAL_POST_DOWNLOAD_PRE_CONFIGURE}); fi && eval ./configure -j${RESTY_J} ${_RESTY_CONFIG_DEPS} ${RESTY_CONFIG_OPTIONS} ${RESTY_CONFIG_OPTIONS_MORE} ${RESTY_LUAJIT_OPTIONS} ${RESTY_PCRE_OPTIONS} && make -j${RESTY_J} && make -j${RESTY_J} install && cd /tmp && rm -rf openssl-${RESTY_OPENSSL_VERSION}.tar.gz openssl-${RESTY_OPENSSL_VERSION} pcre2-${RESTY_PCRE_VERSION}.tar.gz pcre2-${RESTY_PCRE_VERSION} openresty-${RESTY_VERSION}.tar.gz openresty-${RESTY_VERSION} && tar xzf luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz && cd luarocks-${RESTY_LUAROCKS_VERSION} && ./configure --prefix=/usr/local/openresty/luajit --with-lua=/usr/local/openresty/luajit --with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1 && make build && make install && cd /tmp && if [ -n \"${RESTY_EVAL_POST_MAKE}\" ]; then eval $(echo ${RESTY_EVAL_POST_MAKE}); fi && rm -rf luarocks-${RESTY_LUAROCKS_VERSION} luarocks-${RESTY_LUAROCKS_VERSION}.tar.gz && if [ -n \"${RESTY_ADD_PACKAGE_BUILDDEPS}\" ]; then DEBIAN_FRONTEND=noninteractive apt-get remove -y --purge ${RESTY_ADD_PACKAGE_BUILDDEPS} ; fi && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y && mkdir -p /var/run/openresty && ln -sf /dev/stdout /usr/local/openresty/nginx/logs/access.log && ln -sf /dev/stderr /usr/local/openresty/nginx/logs/error.log" did not complete successfully: exit code: 100
2025/09/30 09:42:42 handle failed, std: , err: exit status 1
2025/09/30 09:42:42 应用升级 [openresty] 失败: handle failed, std: , err: exit status 1
2025/09/30 09:42:42 应用 openresty 回滚
2025/09/30 09:42:42 应用 openresty 回滚 成功
2025/09/30 09:42:43 [TASK-END]
Contact Information
1Panel Version
v2.0.11
Problem Description
openresty当前版本:1.27.1.2-2-2-focal
升级到 1.27.1.2-2-3-focal 版本时,构建过程中发生如下报错:
Steps to Reproduce
openresty 1.27.1.2-2-2-focal升级至1.27.1.2-2-3-focal
The expected correct result
No response
Related log output
Additional Information
No response