Comments (12)
Oh, possible duplicate of #6, I was about to create this issue at the same time
from ansible-easy-vpn.
I've just switched from base64 to hex for random string generation, that should fix it. Remove the ansible-easy-vpn folder from your VPS and rerun the bootstrap script
from ansible-easy-vpn.
Where is the commit for that? I tried it again and I got the same error
from ansible-easy-vpn.
Oh, I see #9 isn't merged yet. I can try it with that change
from ansible-easy-vpn.
Hm, looks like the same error to me
time="2022-07-23T15:13:11Z" level=info msg="Authelia v4.36.2 is starting"
time="2022-07-23T15:13:11Z" level=info msg="Log severity set to debug"
time="2022-07-23T15:13:11Z" level=info msg="Storage schema is being checked for updates"
time="2022-07-23T15:13:11Z" level=error msg="Failure running the storage provider startup check: the encryption key is not valid against the schema check value" stack="github.com/authelia/authelia/v4/internal/commands/root.go:149 doStartupChecks\ngithub.com/authelia/authelia/v4/internal/commands/root.go:77 cmdRootRun\ngithub.com/spf13/[email protected]/command.go:876 (*Command).execute\ngithub.com/spf13/[email protected]/command.go:990 (*Command).ExecuteC\ngithub.com/spf13/[email protected]/command.go:918 (*Command).Execute\ngithub.com/authelia/authelia/v4/cmd/authelia/main.go:10 main\nruntime/proc.go:250 main\nruntime/asm_amd64.s:1571 goexit"
time="2022-07-23T15:13:11Z" level=fatal msg="The following providers had fatal failures during startup: storage" stack="github.com/authelia/authelia/v4/internal/commands/root.go:177 doStartupChecks\ngithub.com/authelia/authelia/v4/internal/commands/root.go:77 cmdRootRun\ngithub.com/spf13/[email protected]/command.go:876 (*Command).execute\ngithub.com/spf13/[email protected]/command.go:990 (*Command).ExecuteC\ngithub.com/spf13/[email protected]/command.go:918 (*Command).Execute\ngithub.com/authelia/authelia/v4/cmd/authelia/main.go:10 main\nruntime/proc.go:250 main\nruntime/asm_amd64.s:1571 goexit"
from ansible-easy-vpn.
You'd probably need to do the following:
docker stop authelia && docker rm authelia
rm -rf /opt/docker/authelia
rm -rf $HOME/ansible-easy-vpn
wget https://raw.githubusercontent.com/notthebee/ansible-easy-vpn/main/bootstrap.sh -O bootstrap.sh && bash bootstrap.sh
from ansible-easy-vpn.
I wasn't aware of /opt/docker/
I removed it, and now it works, thanks!
from ansible-easy-vpn.
The only problem that's left for me now is that I no longer have the current SSH key, is there a way to copy it after the fact? It didn't show the Almost done!
message at the end for me this time
from ansible-easy-vpn.
Yep, just do the following on your host machine (not on the server):
scp -P 22 root@<server_ip> /tmp/id_ssh_ed25519 ~/.ssh/id_vpn_<username>
Then, test your key:
ssh -p 22 root@<server_ip> -i ~/.ssh/id_vpn_<username>
from ansible-easy-vpn.
Already tried that, /tmp/id_ssh_ed25519
doesn't exist
from ansible-easy-vpn.
Weird. In that case, I would rm -rf /home/<username>/.ssh
and re-run the playbook:
cd $HOME/ansible-easy-vpn
ansible-playbook run.yml
This should re-generate the key and display the "Almost done" message at the end
from ansible-easy-vpn.
That did the trick, thanks
from ansible-easy-vpn.
Related Issues (20)
- 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
- show_2fa command HOT 1
- Domain and dns
- Connectivity and Data communication HOT 2
- Add headscale vpn support instead of Wireguard VPN
- 2FA funcion is not working HOT 3
- Pärast WireGuardiga ühendamist ei saa saitidele ligi (WireGuardi port on standardne). HOT 2
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.