End-of-central-directory signature not found
Closed this issue · 2 comments
Deleted user commented
Maybe I'm missing something but when I follow the instructions I repeatedly get the following error message:
vpn_1 | 2021-08-17 13:07:30 INFO: Download and extract ovpn files
vpn_1 | [/app/ovpn/config/ovpn.zip]
vpn_1 | End-of-central-directory signature not found. Either this file is not
vpn_1 | a zipfile, or it constitutes one disk of a multi-part archive. In the
vpn_1 | latter case the central directory and zipfile comment will be found on
vpn_1 | the last disk(s) of this archive.
vpn_1 | unzip: cannot find zipfile directory in one of /app/ovpn/config/ovpn.zip or
vpn_1 | /app/ovpn/config/ovpn.zip.zip, and cannot find /app/ovpn/config/ovpn.zip.ZIP, period.
The example docker compose file hasn't been modified except for the username and password for NordVPN.
Joentje commented
Can you post your docker-compose file?
Deleted user commented
The command from README.md was used, not a docker-compose file. /app/ovpn/config/ was available in both scenarios.
After resetting the system (Ubuntu 20.04) and re-downloading the repository everything works fine.
"Unfortunately" I can no longer re-produce the problem.
docker run -d \
--cap-add=NET_ADMIN \
--name=vpn \
--dns=103.86.96.100 \
--dns=103.86.99.100 \
--restart=always \
-e "USERNAME=<nordvpn_username>" \
-e "PASSWORD=<nordvpn_password>" \
-e "LOCAL_NETWORK=192.168.1.0/24" \
-v /etc/localtime:/etc/localtime:ro \
-v ovpn-data:/app/ovpn/config \
-p 8118:8118 \
jeroenslot/nordvpn-proxy:latest