Code Monkey home page Code Monkey logo

Comments (7)

notthebee avatar notthebee commented on July 24, 2024

try running the bootstrap.sh script with sudo -E

from ansible-easy-vpn.

tomasbal avatar tomasbal commented on July 24, 2024

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.

GuilhermeLuan avatar GuilhermeLuan commented on July 24, 2024

@notthebee @tomasbal I've tried both and doesn't work :/

from ansible-easy-vpn.

notthebee avatar notthebee commented on July 24, 2024

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.

xploz1on avatar xploz1on commented on July 24, 2024

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.

notthebee avatar notthebee commented on July 24, 2024

@xploz1on Thank you! What exact error are you getting when installing on a system with Docker?

from ansible-easy-vpn.

xploz1on avatar xploz1on commented on July 24, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.