Giter Site home page Giter Site logo

Comments (4)

d3vilh avatar d3vilh commented on July 24, 2024

Hi @Alex-Giaquinto,
Thanks for the reporting.
Vars export should be done before the first start of the container (otherwise it will not create user correctly).

For you solution will be following:
Stop application. Drop database file:

kalimera@kaliserver:~/openvpn-server/db $ rm data.db
rm: remove write-protected regular file 'data.db'? yes

this will clear all UI users configuration.

Then run export again:

export OPENVPN_ADMIN_USERNAME=admin
export OPENVPN_ADMIN_PASSWORD=MyPassword

Double check that environment is updated properly

echo $OPENVPN_ADMIN_USERNAME
echo $OPENVPN_ADMIN_PASSWORD

The output will be:
admin
MyPassword

Then start application again. It will create all the users and hash your password into DB.
For security reasons you have to unset these vars after success login, so it will be removed from the local server environment:

unset OPENVPN_ADMIN_USERNAME
unset OPENVPN_ADMIN_PASSWORD

This username and password export needs to be done only once, on the first application run, when application creates DB and users for access.

from openvpn-ui.

Alex-Giaquinto avatar Alex-Giaquinto commented on July 24, 2024

Hey! @d3vilh sorry for the late reply. Thanks for the detailed response! So I did all of this and I am still unable to get in. Anything I can show you that might help?

from openvpn-ui.

d3vilh avatar d3vilh commented on July 24, 2024

Anything I can show you that might help?

Hi @Alex-Giaquinto, sorry for the late reply! My main job has been super demanding lately 🙃

Yes, if you could share your session log, like commands you execute one by one with output it would be very nice (hide passwords) and running application log.
This would help with debugging.

I also did short update for Standalone installation procedure.

from openvpn-ui.

d3vilh avatar d3vilh commented on July 24, 2024

Pin this one and closing.

from openvpn-ui.

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.