amnezia-vpn / amnezia-client

Amnezia VPN Client (Desktop+Mobile)
https://amnezia.org
GNU General Public License v3.0
5.79k stars 360 forks source link

Bug: Can't deploy anything on client v3.x #280

Closed dadyarri closed 1 year ago

dadyarri commented 1 year ago

Server: Ubuntu 22.04 (minimized) Client: v3.0.8 (Win, Android)

When trying to install ovpn+cloak, progressbar finishes, but after it nothing happened (stuck on screen of installation). But the same messages are written endlessly to the logs:

2023-08-10 20:17:09 debug ServerController::Run script
2023-08-10 20:17:09 debug pm_apt="/usr/bin/apt-get";\
if [[ -f "$pm_apt" ]]; then pm=$pm_apt; else exit; fi;\
if [[ ! -f "/usr/bin/sudo" ]]; then $pm update -y -q; $pm install -y -q sudo; fi;\
sudo fuser /var/lib/dpkg/lock-frontend
2023-08-10 20:17:09 debug SSH chanel opened
2023-08-10 20:17:09 debug ServerController::runScript finished
michaelkhabarov commented 1 year ago

Same issue with Debian 11 server and 3.0.8 client on Mac

dadyarri commented 1 year ago

Problem not only with onlyvpn_cloak scripts, but with dns too. Freezes with same error. Probably somewhere in preparation steps

dadyarri commented 1 year ago

Seems like problem is somewhere here:

https://github.com/amnezia-vpn/amnezia-client/blob/34a228adbe74c0c0deed1d874f19f640fbfa0e72/client/server_scripts/check_server_is_busy.sh#L3-L4

But fuser is installed and manually this script executes successfully. May be this script excecutes not on host directly, but in some container?

pokamest commented 1 year ago

Please check fixes in https://github.com/amnezia-vpn/amnezia-client/actions/runs/5847886029

dadyarri commented 1 year ago

Configured server on Win v3.0.9 successfully, connected successfully Tested on Android v3.0.8, connected successfully

AriesAlex commented 1 year ago

for me installing fsuser via psmisc helped sudo apt install -y psmisc