flant / ovpn-admin

Simple web UI to manage OpenVPN users.
Apache License 2.0
1.39k stars 261 forks source link

Install Docker versione Error https://github.com/pashcovich/openvpn-user/releases/download/v1.0.4/openvpn-user-linux-${TARGETARCH}.tar.gz #253

Closed BZ-ramzi closed 8 months ago

BZ-ramzi commented 11 months ago

root@v21v:~/ovpn-admin# ./start.sh Creating network "openvpn-master_default" with the default driver Building openvpn Step 1/6 : FROM alpine:3.16 3.16: Pulling from library/alpine 659d66d51139: Pull complete Digest: sha256:a8cbb8c69ee71561f4b69c066bad07f7e510caaa523da26fbfc606b10bd7934b Status: Downloaded newer image for alpine:3.16 ---> 187eae39ad94 Step 2/6 : ARG TARGETARCH ---> Running in 22fda394bed6 Removing intermediate container 22fda394bed6 ---> c73b4d26e1b3 Step 3/6 : RUN apk add --update bash openvpn easy-rsa iptables && ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && wget https://github.com/pashcovich/openvpn-user/releases/download/v1.0.4/openvpn-user-linux-${TARGETARCH}.tar.gz -O - | tar xz -C /usr/local/bin && rm -rf /tmp/ /var/tmp/ /var/cache/apk/ /var/cache/distfiles/ ---> Running in ece33bd82f7e fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz (1/19) Upgrading libcrypto1.1 (1.1.1v-r0 -> 1.1.1w-r0) (2/19) Upgrading libssl1.1 (1.1.1v-r0 -> 1.1.1w-r0) (3/19) Installing ncurses-terminfo-base (6.3_p20220521-r1) (4/19) Installing ncurses-libs (6.3_p20220521-r1) (5/19) Installing readline (8.1.2-r0) (6/19) Installing bash (5.1.16-r2) Executing bash-5.1.16-r2.post-install (7/19) Installing openssl (1.1.1w-r0) (8/19) Installing easy-rsa (3.0.8-r0) (9/19) Installing libmnl (1.0.5-r0) (10/19) Installing libnftnl (1.2.3-r0) (11/19) Installing iptables (1.8.8-r1) (12/19) Installing libcap (2.64-r1) (13/19) Installing libbz2 (1.0.8-r1) (14/19) Installing fts (1.2.7-r1) (15/19) Installing xz-libs (5.2.5-r1) (16/19) Installing libelf (0.186-r0) (17/19) Installing iproute2-minimal (5.17.0-r0) (18/19) Installing lzo (2.10-r3) (19/19) Installing openvpn (2.5.6-r1) Executing openvpn-2.5.6-r1.pre-install Executing busybox-1.35.0-r17.trigger OK: 14 MiB in 31 packages Connecting to github.com (140.82.121.3:443) wget: server returned error: HTTP/1.1 404 Not Found tar: invalid magic tar: short read ERROR: Service 'openvpn' failed to build: The command '/bin/sh -c apk add --update bash openvpn easy-rsa iptables && ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && wget https://github.com/pashcovich/openvpn-user/releases/download/v1.0.4/openvpn-user-linux-${TARGETARCH}.tar.gz -O - | tar xz -C /usr/local/bin && rm -rf /tmp/ /var/tmp/ /var/cache/apk/ /var/cache/distfiles/' returned a non-zero code: 1 root@v21v:~/ovpn-admin#

pastors-top commented 10 months ago

https://github.com/flant/ovpn-admin/pull/257

sprait commented 10 months ago

Hi, changes from #257 will be unnecessary if you are using the actual version of docker compose. I have updated the compose command in start.sh, so this should no longer be an issue.