Comments (7)
try running the bootstrap.sh script with sudo -E
from ansible-easy-vpn.
Hi @GuilhermeLuan, I think you downloaded the script in some other folder. So an easy fix would be to move the bootstrap.sh script into the root folder.
Hope it helps! :)
from ansible-easy-vpn.
@notthebee @tomasbal I've tried both and doesn't work :/
from ansible-easy-vpn.
What provider are you running this on?
@tomasbal it wouldn't be enough to just move the bootstrap.sh
script, you'll have to move the ansible-easy-vpn
directory too:
cp -rv ansible-easy-vpn /root/ansible-easy-vpn
from ansible-easy-vpn.
This error happens when you execute the script outside /root/
The script It is set to read from a full path. Also if you have docker already installed it will error out too. Maybe add a requirement check to prevent the script from failing. I know is meant to be ran in a fresh server as root. Would be cool to run in it in a working environment. Awesome work tho!
from ansible-easy-vpn.
@xploz1on Thank you! What exact error are you getting when installing on a system with Docker?
from ansible-easy-vpn.
bash: /root: Is a directory
root@daniel-hans:~# wget https://raw.githubusercontent.com/notthebee/ansible-easy-vpn/main/bootstrap.sh -O bootstrap.sh && bash bootstrap.sh
--2022-07-25 15:04:25-- https://raw.githubusercontent.com/notthebee/ansible-easy-vpn/main/bootstrap.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8047 (7.9K) [text/plain]
Saving to: ‘bootstrap.sh’
bootstrap.sh 100%[=====================================================================================================>] 7.86K --.-KB/s in 0s
2022-07-25 15:04:25 (71.9 MB/s) - ‘bootstrap.sh’ saved [8047/8047]
E: Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/ubuntu/ focal: /etc/apt/keyrings/docker.gpg !=
E: The list of sources could not be read.
I had a different error the first time.
So i went ahead and deleted my docker source list in /etc/source.list.d/. Deleted bootstrap and ran the script again.
With:
TASK [bunkerweb : Make sure the Bunkerweb container is created and running] ******************************************************************************************************************
fatal: [localhost]: FAILED! => changed=false
msg: 'Error starting container 2e44ae972ee8fea8ab58ec8167ac38604cefb93595666a7a2aa677581604a37a: 500 Server Error: Internal Server Error ("driver failed programming external connectivity on endpoint bunkerweb (17be61f324e8826ed618b62132eb57d2467d2c2f3deea74fa2126d71ec2ddedc): Bind for 0.0.0.0:443 failed: port is already allocated")'
I fully understand this is meant for a CLEAN and FRESH server.
to explain a bit more my server has docker with:
- nginx proxy manager
- simple web server.
I will make a new instance and run some tests. Try to add my services after the script.
EDIT:
Maybe close this issue and start a new one to add checks to the install.
from ansible-easy-vpn.
Related Issues (20)
- Error in authelia docker container
- Local ip no domain HOT 2
- private key HOT 1
- E: Could not get lock /var/lib/dpkg/lock-frontend. HOT 1
- Script can't read docker.asc file HOT 4
- Failed to update apt cache: unknown reason' HOT 1
- Possible issue with NATed IP from server during Let's Encrypt run HOT 1
- Rerunning bootstrap.sh as new user makes ansible use old python path (bad interpreter: Permission denied)
- Fail2ban failed on Debian 12 - solved HOT 1
- Domain-based Exceptions for VPN Application HOT 1
- 500 Internal Server Error HOT 2
- Script stops after typing in the domain HOT 2
- root ssh login HOT 4
- add two containerized services, one exposed on the web and one reachable only by vpn HOT 2
- Issue when running on machine with CaddyV2 installed HOT 1
- the 2fa part doesn't work HOT 3
- Domain Error HOT 7
- Create new clients from terminal HOT 1
- Recurring Error
- Internal Server error Without email functionality enabled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-easy-vpn.