[GH-ISSUE #2905] amneziavpn-bin 5.0.0.5-1 no system service after build Error 103 #1321

Closed
opened 2026-10-13 20:40:12 +00:00 by bsakaguchi · 10 comments
Owner

Originally created by @bestperson-free on GitHub (Jul 30, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2905

After building from the repository https://aur.archlinux.org/packages/amneziavpn-bin, I encountered Error 103. The package is completely inoperable, only the shell runs. Rolling back to the previous version helps, as there's no clear solution.
Rollback
git clone https://aur.archlinux.org/amneziavpn-bin.git && cd amneziavpn-bin && git reset --hard fa910b33bd && makepkg -sic

Originally created by @bestperson-free on GitHub (Jul 30, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2905 After building from the repository https://aur.archlinux.org/packages/amneziavpn-bin, I encountered Error 103. The package is completely inoperable, only the shell runs. Rolling back to the previous version helps, as there's no clear solution. Rollback `git clone https://aur.archlinux.org/amneziavpn-bin.git && cd amneziavpn-bin && git reset --hard fa910b33bd && makepkg -sic`
Author
Owner

@lufog commented on GitHub (Jul 30, 2026):

Hi, I maintain the AUR package. It's impossible for a service file to be missing from a package. Otherwise, makepkg will simply fail, and the package won't build. The service file is located at /usr/lib/systemd/system/AmneziaVPN.service.

Please check if the AmneziaVPN.service is running using the command:

systemctl status AmneziaVPN.service

If you see something like:

○ AmneziaVPN.service - AmneziaVPN Service
     Loaded: loaded (/usr/lib/systemd/system/AmneziaVPN.service; disabled; preset: disabled)
     Active: inactive (dead)

Try to enable/start it manually.

sudo systemctl enable --now AmneziaVPN.service

And restart your computer; this will help avoid situations where the service is running, but nothing happens when you click "Connect" button.


The package's installation script behaves as follows:

Post install:

  • The script enables and starts AmneziaVPN.service.

Post upgrade:

  • The script restarts AmneziaVPN.service if it was active. This means that if the user manually disabled/stopped the service, it will not start.

Pre remove:

  • The script disables and stops AmneziaVPN.service.
<!-- gh-comment-id:5134075415 --> @lufog commented on GitHub (Jul 30, 2026): Hi, I maintain the AUR package. It's impossible for a service file to be missing from a package. Otherwise, `makepkg` will simply fail, and the package won't build. The service file is located at `/usr/lib/systemd/system/AmneziaVPN.service`. Please check if the `AmneziaVPN.service` is running using the command: ``` systemctl status AmneziaVPN.service ``` If you see something like: ``` ○ AmneziaVPN.service - AmneziaVPN Service Loaded: loaded (/usr/lib/systemd/system/AmneziaVPN.service; disabled; preset: disabled) Active: inactive (dead) ``` Try to enable/start it manually. ``` sudo systemctl enable --now AmneziaVPN.service ``` And restart your computer; this will help avoid situations where the service is running, but nothing happens when you click "Connect" button. --- The package's [installation script](https://aur.archlinux.org/cgit/aur.git/tree/amneziavpn.install?h=amneziavpn-bin) behaves as follows: Post install: * The script enables and starts `AmneziaVPN.service`. Post upgrade: * The script restarts `AmneziaVPN.service` if it was active. This means that **if the user manually disabled/stopped the service, it will not start**. Pre remove: * The script disables and stops `AmneziaVPN.service`.
Author
Owner

@bestperson-free commented on GitHub (Jul 30, 2026):

  1. I completely removed Amnezia including the /opt/AmneziaVPN/ folder sudo rm -r /opt/AmneziaVPN/
  2. Reassembled successfully
  3. Got the same result
 ls /usr/lib/systemd/system/
 accounts-daemon.service                      network-online.target                    systemd-journald-dev-log.socket
 acpid.service                                network-pre.target                       systemd-journald.service
 alsa-card-wait@.service                      network.target                           systemd-journald@.service
 alsa-restore.service                         nfs-client.target                        systemd-journald.socket
 alsa-state.service                           nfsdcld.service                          systemd-journald@.socket
 AmneziaVPN.service             
  1. The service won't start. Manually starting it and restarting the computer doesn't help, the error is the same.
❯ systemctl status AmneziaVPN.service
● AmneziaVPN.service - AmneziaVPN Service
     Loaded: loaded (/etc/systemd/system/AmneziaVPN.service; enabled; preset: disabled)
     Active: activating (auto-restart) (Result: exit-code) since Thu 2026-07-30 21:51:23 MSK; 1s ago
 Invocation: 388aed288bed448d8d72721fd7418167
    Process: 106510 ExecStart=/opt/AmneziaVPN/service/AmneziaVPN-service.sh (code=exited, status=203/EXEC)
   Main PID: 106510 (code=exited, status=203/EXEC)
   Mem peak: 2M
        CPU: 7ms

июл 30 21:51:24 myhome systemd[1]: AmneziaVPN.service: Scheduled restart job, restart counter is at 116.
июл 30 21:51:24 myhome systemd[1]: Started AmneziaVPN Service.
❯ sudo systemctl enable --now AmneziaVPN.service
[sudo] password for angel:
❯ systemctl status AmneziaVPN.service
● AmneziaVPN.service - AmneziaVPN Service
     Loaded: loaded (/etc/systemd/system/AmneziaVPN.service; enabled; preset: disabled)
     Active: activating (auto-restart) (Result: exit-code) since Thu 2026-07-30 21:51:56 MSK; 364ms ago
 Invocation: f4d0f917bd474ba6bd24833370d5685c
    Process: 106734 ExecStart=/opt/AmneziaVPN/service/AmneziaVPN-service.sh (code=exited, status=203/EXEC)
   Main PID: 106734 (code=exited, status=203/EXEC)
   Mem peak: 2.2M
        CPU: 7ms
❯ sudo systemctl start AmneziaVPN.service
❯ systemctl status AmneziaVPN.service
● AmneziaVPN.service - AmneziaVPN Service
     Loaded: loaded (/etc/systemd/system/AmneziaVPN.service; enabled; preset: disabled)
     Active: activating (auto-restart) (Result: exit-code) since Thu 2026-07-30 21:52:20 MSK; 1s ago
 Invocation: ce693eecccb347f3b967d9a30c2c4927
    Process: 106813 ExecStart=/opt/AmneziaVPN/service/AmneziaVPN-service.sh (code=exited, status=203/EXEC)
   Main PID: 106813 (code=exited, status=203/EXEC)
   Mem peak: 2M
        CPU: 8ms

Only rolling back to the previous version helps.

<!-- gh-comment-id:5135073904 --> @bestperson-free commented on GitHub (Jul 30, 2026): 1. I completely removed Amnezia including the /opt/AmneziaVPN/ folder sudo rm -r /opt/AmneziaVPN/ 2. Reassembled successfully 3. Got the same result ``` ls /usr/lib/systemd/system/ accounts-daemon.service network-online.target systemd-journald-dev-log.socket acpid.service network-pre.target systemd-journald.service alsa-card-wait@.service network.target systemd-journald@.service alsa-restore.service nfs-client.target systemd-journald.socket alsa-state.service nfsdcld.service systemd-journald@.socket AmneziaVPN.service ``` 4. The service won't start. Manually starting it and restarting the computer doesn't help, the error is the same. ``` ❯ systemctl status AmneziaVPN.service ● AmneziaVPN.service - AmneziaVPN Service Loaded: loaded (/etc/systemd/system/AmneziaVPN.service; enabled; preset: disabled) Active: activating (auto-restart) (Result: exit-code) since Thu 2026-07-30 21:51:23 MSK; 1s ago Invocation: 388aed288bed448d8d72721fd7418167 Process: 106510 ExecStart=/opt/AmneziaVPN/service/AmneziaVPN-service.sh (code=exited, status=203/EXEC) Main PID: 106510 (code=exited, status=203/EXEC) Mem peak: 2M CPU: 7ms июл 30 21:51:24 myhome systemd[1]: AmneziaVPN.service: Scheduled restart job, restart counter is at 116. июл 30 21:51:24 myhome systemd[1]: Started AmneziaVPN Service. ❯ sudo systemctl enable --now AmneziaVPN.service [sudo] password for angel: ❯ systemctl status AmneziaVPN.service ● AmneziaVPN.service - AmneziaVPN Service Loaded: loaded (/etc/systemd/system/AmneziaVPN.service; enabled; preset: disabled) Active: activating (auto-restart) (Result: exit-code) since Thu 2026-07-30 21:51:56 MSK; 364ms ago Invocation: f4d0f917bd474ba6bd24833370d5685c Process: 106734 ExecStart=/opt/AmneziaVPN/service/AmneziaVPN-service.sh (code=exited, status=203/EXEC) Main PID: 106734 (code=exited, status=203/EXEC) Mem peak: 2.2M CPU: 7ms ❯ sudo systemctl start AmneziaVPN.service ❯ systemctl status AmneziaVPN.service ● AmneziaVPN.service - AmneziaVPN Service Loaded: loaded (/etc/systemd/system/AmneziaVPN.service; enabled; preset: disabled) Active: activating (auto-restart) (Result: exit-code) since Thu 2026-07-30 21:52:20 MSK; 1s ago Invocation: ce693eecccb347f3b967d9a30c2c4927 Process: 106813 ExecStart=/opt/AmneziaVPN/service/AmneziaVPN-service.sh (code=exited, status=203/EXEC) Main PID: 106813 (code=exited, status=203/EXEC) Mem peak: 2M CPU: 8ms ``` Only rolling back to the previous version helps.
Author
Owner

@bestperson-free commented on GitHub (Jul 30, 2026):

As I see, there was a service in the opt folder in version 4, but it is not in version 5.

V4...
ls /home/user/Downloads/AmneziaVPN/
AmneziaVPN.desktop  AmneziaVPN.service  components.xml       installer.dat       maintenancetool      maintenancetool.ini  post_install.sh
AmneziaVPN.png      client              InstallationLog.txt  installerResources  maintenancetool.dat  network.xml          post_uninstall.sh
V5
❯ ls /opt/AmneziaVPN/
bin  lib  plugins  qml  translations
    ~     

The system service is looking for the file but can't find it.

❯ systemctl status AmneziaVPN.service ● AmneziaVPN.service - AmneziaVPN Service Loaded: loaded (/etc/systemd/system/AmneziaVPN.service; enabled; preset: disabled) Active: activating (auto-restart) (Result: exit-code) since Thu 2026-07-30 22:08:20 MSK; 914ms ago Invocation: ede32878304b40ca986cd2bdc099b025 Process: 4882 ExecStart=/opt/AmneziaVPN/service/AmneziaVPN-service.sh (code=exited, status=203/EXEC) Main PID: 4882 (code=exited, status=203/EXEC) Mem peak: 2M CPU: 7ms    ~ 

When launched this way, it asks for root rights, but does not start


❯ ls /opt/AmneziaVPN/bin/
AmneziaVPN          libicuuc.so.73               libQt6Network.so.6         libQt6QmlWorkerScript.so.6       libQt6Widgets.so.6
AmneziaVPN-service  libicuuc.so.73.2             libQt6Network.so.6.10.1    libQt6QmlWorkerScript.so.6.10.1  libQt6Widgets.so.6.10.1
amneziawg-go        libQt6Core5Compat.so.6       libQt6OpenGL.so.6          libQt6QuickControls2.so.6        openvpn
geoip.dat           libQt6Core5Compat.so.6.10.1  libQt6OpenGL.so.6.10.1     libQt6QuickControls2.so.6.10.1   qt.conf
geosite.dat         libQt6Core.so.6              libQt6QmlMeta.so.6         libQt6Quick.so.6                 tun2socks
libcrypto.so.3      libQt6Core.so.6.10.1         libQt6QmlMeta.so.6.10.1    libQt6Quick.so.6.10.1            update-resolv-conf.sh
libicudata.so.73    libQt6DBus.so.6              libQt6QmlModels.so.6       libQt6QuickTemplates2.so.6
libicudata.so.73.2  libQt6DBus.so.6.10.1         libQt6QmlModels.so.6.10.1  libQt6QuickTemplates2.so.6.10.1
libicui18n.so.73    libQt6Gui.so.6               libQt6Qml.so.6             libQt6RemoteObjects.so.6
libicui18n.so.73.2  libQt6Gui.so.6.10.1          libQt6Qml.so.6.10.1        libQt6RemoteObjects.so.6.10.1
❯ /opt/AmneziaVPN/bin/AmneziaVPN
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
QSystemTrayIcon::setVisible: No Icon set
Logger::setServiceLogsEnabled(): Logs transitioned to be  disabled
Updated website URL: "https://storage.googleapis.com/amnezia/amnezia.org"
Started AmneziaVPN version 5.0.0.5 4d28f81
Manjaro Linux (x86_64)
"Trying to connect to VPN, server id is 4ee9f919-9de6-4bda-9f65-e1d0e0427304, container is amnezia-awg, route mode is" amnezia::route_mode_ns::VpnAllExceptSites
"Site split tunneling is enabled, route mode is 2"
"App split tunneling is disabled, route mode is 0"
[2026-07-30 19:11:02.314Z] [DEBUG] Amnezia LocalSocketController : Initializing
[2026-07-30 19:11:02.314Z] [DEBUG] Amnezia LocalSocketController : Connecting to: /tmp/amneziavpn.socket
[2026-07-30 19:11:02.314Z] [DEBUG] Amnezia LocalSocketController : Daemon connected
[2026-07-30 19:11:02.314Z] [DEBUG] Amnezia LocalSocketController : Check status
[2026-07-30 19:11:02.319Z] [DEBUG] Amnezia LocalSocketController : Reading
[2026-07-30 19:11:02.320Z] [DEBUG] Amnezia LocalSocketController : Parse command: status
[2026-07-30 19:11:02.323Z] [DEBUG] Amnezia LocalSocketController : Reading
[2026-07-30 19:11:02.323Z] [DEBUG] Amnezia LocalSocketController : Parse command: disconnected
VpnProtocol::setConnectionState "Отключено"
Connection state: 'Отключено'
VpnConnection::onConnectionStateChanged: Successfully flushed DNS
VpnConnection::onConnectionStateChanged: Successfully cleared saved routes
"Trying to connect to VPN, server id is 4ee9f919-9de6-4bda-9f65-e1d0e0427304, container is amnezia-awg, route mode is" amnezia::route_mode_ns::VpnAllExceptSites
[2026-07-30 19:11:13.204Z] [DEBUG] Amnezia LocalSocketController : Deactivating
VpnProtocol::setConnectionState "Отключено"
[2026-07-30 19:11:13.204Z] [DEBUG] Amnezia LocalSocketController : Deactivating
VpnProtocol::setConnectionState "Отключено"
"Site split tunneling is enabled, route mode is 2"
"App split tunneling is disabled, route mode is 0"
[2026-07-30 19:11:13.405Z] [DEBUG] Amnezia LocalSocketController : Initializing
[2026-07-30 19:11:13.405Z] [DEBUG] Amnezia LocalSocketController : Connecting to: /tmp/amneziavpn.socket
[2026-07-30 19:11:13.405Z] [DEBUG] Amnezia LocalSocketController : Daemon connected
[2026-07-30 19:11:13.405Z] [DEBUG] Amnezia LocalSocketController : Check status
[2026-07-30 19:11:13.406Z] [DEBUG] Amnezia LocalSocketController : Reading
[2026-07-30 19:11:13.406Z] [DEBUG] Amnezia LocalSocketController : Parse command: status
[2026-07-30 19:11:13.409Z] [DEBUG] Amnezia LocalSocketController : Reading
[2026-07-30 19:11:13.409Z] [DEBUG] Amnezia LocalSocketController : Parse command: disconnected
VpnProtocol::setConnectionState "Отключено"
Connection state: 'Отключено'
VpnConnection::onConnectionStateChanged: Successfully flushed DNS
VpnConnection::onConnectionStateChanged: Successfully cleared saved routes
"Trying to connect to VPN, server id is 4ee9f919-9de6-4bda-9f65-e1d0e0427304, container is amnezia-awg, route mode is" amnezia::route_mode_ns::VpnAllExceptSites
[2026-07-30 19:11:22.066Z] [DEBUG] Amnezia LocalSocketController : Deactivating
VpnProtocol::setConnectionState "Отключено"
[2026-07-30 19:11:22.066Z] [DEBUG] Amnezia LocalSocketController : Deactivating
VpnProtocol::setConnectionState "Отключено"
"Site split tunneling is enabled, route mode is 2"
"App split tunneling is disabled, route mode is 0"
[2026-07-30 19:11:22.266Z] [DEBUG] Amnezia LocalSocketController : Initializing
[2026-07-30 19:11:22.267Z] [DEBUG] Amnezia LocalSocketController : Connecting to: /tmp/amneziavpn.socket
[2026-07-30 19:11:22.267Z] [DEBUG] Amnezia LocalSocketController : Daemon connected
[2026-07-30 19:11:22.267Z] [DEBUG] Amnezia LocalSocketController : Check status
[2026-07-30 19:11:22.267Z] [DEBUG] Amnezia LocalSocketController : Reading
[2026-07-30 19:11:22.267Z] [DEBUG] Amnezia LocalSocketController : Parse command: status
[2026-07-30 19:11:22.270Z] [DEBUG] Amnezia LocalSocketController : Reading
[2026-07-30 19:11:22.270Z] [DEBUG] Amnezia LocalSocketController : Parse command: disconnected
VpnProtocol::setConnectionState "Отключено"
Connection state: 'Отключено'
VpnConnection::onConnectionStateChanged: Successfully flushed DNS
VpnConnection::onConnectionStateChanged: Successfully cleared saved routes
"Trying to connect to VPN, server id is e01273ca-1305-4017-b611-5de0737378e5, container is amnezia-awg2, route mode is" amnezia::route_mode_ns::VpnAllExceptSites
[2026-07-30 19:11:34.591Z] [DEBUG] Amnezia LocalSocketController : Deactivating
VpnProtocol::setConnectionState "Отключено"
[2026-07-30 19:11:34.592Z] [DEBUG] Amnezia LocalSocketController : Deactivating
VpnProtocol::setConnectionState "Отключено"
"Site split tunneling is enabled, route mode is 2"
"App split tunneling is disabled, route mode is 0"
[2026-07-30 19:11:34.792Z] [DEBUG] Amnezia LocalSocketController : Initializing
[2026-07-30 19:11:34.792Z] [DEBUG] Amnezia LocalSocketController : Connecting to: /tmp/amneziavpn.socket
[2026-07-30 19:11:34.792Z] [DEBUG] Amnezia LocalSocketController : Daemon connected
[2026-07-30 19:11:34.792Z] [DEBUG] Amnezia LocalSocketController : Check status
[2026-07-30 19:11:34.793Z] [DEBUG] Amnezia LocalSocketController : Reading
[2026-07-30 19:11:34.793Z] [DEBUG] Amnezia LocalSocketController : Parse command: status
[2026-07-30 19:11:34.796Z] [DEBUG] Amnezia LocalSocketController : Reading
[2026-07-30 19:11:34.796Z] [DEBUG] Amnezia LocalSocketController : Parse command: disconnected
VpnProtocol::setConnectionState "Отключено"
Connection state: 'Отключено'
VpnConnection::onConnectionStateChanged: Successfully flushed DNS
VpnConnection::onConnectionStateChanged: Successfully cleared saved routes

<!-- gh-comment-id:5135122583 --> @bestperson-free commented on GitHub (Jul 30, 2026): As I see, there was a service in the opt folder in version 4, but it is not in version 5. ``` V4... ls /home/user/Downloads/AmneziaVPN/ AmneziaVPN.desktop AmneziaVPN.service components.xml installer.dat maintenancetool maintenancetool.ini post_install.sh AmneziaVPN.png client InstallationLog.txt installerResources maintenancetool.dat network.xml post_uninstall.sh ``` ``` V5 ❯ ls /opt/AmneziaVPN/ bin lib plugins qml translations    ~  ``` The system service is looking for the file but can't find it. `❯ systemctl status AmneziaVPN.service ● AmneziaVPN.service - AmneziaVPN Service Loaded: loaded (/etc/systemd/system/AmneziaVPN.service; enabled; preset: disabled) Active: activating (auto-restart) (Result: exit-code) since Thu 2026-07-30 22:08:20 MSK; 914ms ago Invocation: ede32878304b40ca986cd2bdc099b025 Process: 4882 ExecStart=/opt/AmneziaVPN/service/AmneziaVPN-service.sh (code=exited, status=203/EXEC) Main PID: 4882 (code=exited, status=203/EXEC) Mem peak: 2M CPU: 7ms    ~  ` When launched this way, it asks for root rights, but does not start ``` ❯ ls /opt/AmneziaVPN/bin/ AmneziaVPN libicuuc.so.73 libQt6Network.so.6 libQt6QmlWorkerScript.so.6 libQt6Widgets.so.6 AmneziaVPN-service libicuuc.so.73.2 libQt6Network.so.6.10.1 libQt6QmlWorkerScript.so.6.10.1 libQt6Widgets.so.6.10.1 amneziawg-go libQt6Core5Compat.so.6 libQt6OpenGL.so.6 libQt6QuickControls2.so.6 openvpn geoip.dat libQt6Core5Compat.so.6.10.1 libQt6OpenGL.so.6.10.1 libQt6QuickControls2.so.6.10.1 qt.conf geosite.dat libQt6Core.so.6 libQt6QmlMeta.so.6 libQt6Quick.so.6 tun2socks libcrypto.so.3 libQt6Core.so.6.10.1 libQt6QmlMeta.so.6.10.1 libQt6Quick.so.6.10.1 update-resolv-conf.sh libicudata.so.73 libQt6DBus.so.6 libQt6QmlModels.so.6 libQt6QuickTemplates2.so.6 libicudata.so.73.2 libQt6DBus.so.6.10.1 libQt6QmlModels.so.6.10.1 libQt6QuickTemplates2.so.6.10.1 libicui18n.so.73 libQt6Gui.so.6 libQt6Qml.so.6 libQt6RemoteObjects.so.6 libicui18n.so.73.2 libQt6Gui.so.6.10.1 libQt6Qml.so.6.10.1 libQt6RemoteObjects.so.6.10.1 ❯ /opt/AmneziaVPN/bin/AmneziaVPN qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" QSystemTrayIcon::setVisible: No Icon set Logger::setServiceLogsEnabled(): Logs transitioned to be disabled Updated website URL: "https://storage.googleapis.com/amnezia/amnezia.org" Started AmneziaVPN version 5.0.0.5 4d28f81 Manjaro Linux (x86_64) "Trying to connect to VPN, server id is 4ee9f919-9de6-4bda-9f65-e1d0e0427304, container is amnezia-awg, route mode is" amnezia::route_mode_ns::VpnAllExceptSites "Site split tunneling is enabled, route mode is 2" "App split tunneling is disabled, route mode is 0" [2026-07-30 19:11:02.314Z] [DEBUG] Amnezia LocalSocketController : Initializing [2026-07-30 19:11:02.314Z] [DEBUG] Amnezia LocalSocketController : Connecting to: /tmp/amneziavpn.socket [2026-07-30 19:11:02.314Z] [DEBUG] Amnezia LocalSocketController : Daemon connected [2026-07-30 19:11:02.314Z] [DEBUG] Amnezia LocalSocketController : Check status [2026-07-30 19:11:02.319Z] [DEBUG] Amnezia LocalSocketController : Reading [2026-07-30 19:11:02.320Z] [DEBUG] Amnezia LocalSocketController : Parse command: status [2026-07-30 19:11:02.323Z] [DEBUG] Amnezia LocalSocketController : Reading [2026-07-30 19:11:02.323Z] [DEBUG] Amnezia LocalSocketController : Parse command: disconnected VpnProtocol::setConnectionState "Отключено" Connection state: 'Отключено' VpnConnection::onConnectionStateChanged: Successfully flushed DNS VpnConnection::onConnectionStateChanged: Successfully cleared saved routes "Trying to connect to VPN, server id is 4ee9f919-9de6-4bda-9f65-e1d0e0427304, container is amnezia-awg, route mode is" amnezia::route_mode_ns::VpnAllExceptSites [2026-07-30 19:11:13.204Z] [DEBUG] Amnezia LocalSocketController : Deactivating VpnProtocol::setConnectionState "Отключено" [2026-07-30 19:11:13.204Z] [DEBUG] Amnezia LocalSocketController : Deactivating VpnProtocol::setConnectionState "Отключено" "Site split tunneling is enabled, route mode is 2" "App split tunneling is disabled, route mode is 0" [2026-07-30 19:11:13.405Z] [DEBUG] Amnezia LocalSocketController : Initializing [2026-07-30 19:11:13.405Z] [DEBUG] Amnezia LocalSocketController : Connecting to: /tmp/amneziavpn.socket [2026-07-30 19:11:13.405Z] [DEBUG] Amnezia LocalSocketController : Daemon connected [2026-07-30 19:11:13.405Z] [DEBUG] Amnezia LocalSocketController : Check status [2026-07-30 19:11:13.406Z] [DEBUG] Amnezia LocalSocketController : Reading [2026-07-30 19:11:13.406Z] [DEBUG] Amnezia LocalSocketController : Parse command: status [2026-07-30 19:11:13.409Z] [DEBUG] Amnezia LocalSocketController : Reading [2026-07-30 19:11:13.409Z] [DEBUG] Amnezia LocalSocketController : Parse command: disconnected VpnProtocol::setConnectionState "Отключено" Connection state: 'Отключено' VpnConnection::onConnectionStateChanged: Successfully flushed DNS VpnConnection::onConnectionStateChanged: Successfully cleared saved routes "Trying to connect to VPN, server id is 4ee9f919-9de6-4bda-9f65-e1d0e0427304, container is amnezia-awg, route mode is" amnezia::route_mode_ns::VpnAllExceptSites [2026-07-30 19:11:22.066Z] [DEBUG] Amnezia LocalSocketController : Deactivating VpnProtocol::setConnectionState "Отключено" [2026-07-30 19:11:22.066Z] [DEBUG] Amnezia LocalSocketController : Deactivating VpnProtocol::setConnectionState "Отключено" "Site split tunneling is enabled, route mode is 2" "App split tunneling is disabled, route mode is 0" [2026-07-30 19:11:22.266Z] [DEBUG] Amnezia LocalSocketController : Initializing [2026-07-30 19:11:22.267Z] [DEBUG] Amnezia LocalSocketController : Connecting to: /tmp/amneziavpn.socket [2026-07-30 19:11:22.267Z] [DEBUG] Amnezia LocalSocketController : Daemon connected [2026-07-30 19:11:22.267Z] [DEBUG] Amnezia LocalSocketController : Check status [2026-07-30 19:11:22.267Z] [DEBUG] Amnezia LocalSocketController : Reading [2026-07-30 19:11:22.267Z] [DEBUG] Amnezia LocalSocketController : Parse command: status [2026-07-30 19:11:22.270Z] [DEBUG] Amnezia LocalSocketController : Reading [2026-07-30 19:11:22.270Z] [DEBUG] Amnezia LocalSocketController : Parse command: disconnected VpnProtocol::setConnectionState "Отключено" Connection state: 'Отключено' VpnConnection::onConnectionStateChanged: Successfully flushed DNS VpnConnection::onConnectionStateChanged: Successfully cleared saved routes "Trying to connect to VPN, server id is e01273ca-1305-4017-b611-5de0737378e5, container is amnezia-awg2, route mode is" amnezia::route_mode_ns::VpnAllExceptSites [2026-07-30 19:11:34.591Z] [DEBUG] Amnezia LocalSocketController : Deactivating VpnProtocol::setConnectionState "Отключено" [2026-07-30 19:11:34.592Z] [DEBUG] Amnezia LocalSocketController : Deactivating VpnProtocol::setConnectionState "Отключено" "Site split tunneling is enabled, route mode is 2" "App split tunneling is disabled, route mode is 0" [2026-07-30 19:11:34.792Z] [DEBUG] Amnezia LocalSocketController : Initializing [2026-07-30 19:11:34.792Z] [DEBUG] Amnezia LocalSocketController : Connecting to: /tmp/amneziavpn.socket [2026-07-30 19:11:34.792Z] [DEBUG] Amnezia LocalSocketController : Daemon connected [2026-07-30 19:11:34.792Z] [DEBUG] Amnezia LocalSocketController : Check status [2026-07-30 19:11:34.793Z] [DEBUG] Amnezia LocalSocketController : Reading [2026-07-30 19:11:34.793Z] [DEBUG] Amnezia LocalSocketController : Parse command: status [2026-07-30 19:11:34.796Z] [DEBUG] Amnezia LocalSocketController : Reading [2026-07-30 19:11:34.796Z] [DEBUG] Amnezia LocalSocketController : Parse command: disconnected VpnProtocol::setConnectionState "Отключено" Connection state: 'Отключено' VpnConnection::onConnectionStateChanged: Successfully flushed DNS VpnConnection::onConnectionStateChanged: Successfully cleared saved routes ```
Author
Owner

@bestperson-free commented on GitHub (Jul 30, 2026):

So if I run as root

❯ sudo /opt/AmneziaVPN/bin/AmneziaVPN-service
[sudo] password for user: 
Started as system service
[2026-07-30 19:15:31.042Z] [DEBUG] Amnezia Daemon : Daemon created
[2026-07-30 19:15:31.042Z] [DEBUG] Amnezia LinuxDaemon : Daemon created
[2026-07-30 19:15:31.042Z] [DEBUG] Amnezia WireguardUtilsLinux : WireguardUtilsLinux created.
[2026-07-30 19:15:31.042Z] [DEBUG] Amnezia DnsUtilsLinux : DnsUtilsLinux created.
[2026-07-30 19:15:31.045Z] [DEBUG] Amnezia IPUtilsLinux : IPUtilsLinux created.
[2026-07-30 19:15:31.046Z] [DEBUG] Amnezia DaemonLocalServer : Server path: /var/run/amneziavpn/daemon.socket
[2026-07-30 19:15:31.046Z] [DEBUG] Amnezia NetworkWatcher : Initialize NetworkWatcher
[2026-07-30 19:15:31.047Z] [DEBUG] Amnezia LinuxNetworkWatcher : initialize
[2026-07-30 19:15:31.047Z] [DEBUG] Amnezia NetworkWatcher : Starting NetworkWatcher for sleep/wake monitoring
[2026-07-30 19:15:31.047Z] [DEBUG] Amnezia NetworkWatcher : About to call m_impl->start()
[2026-07-30 19:15:31.047Z] [DEBUG] Amnezia LinuxNetworkWatcher : actived
[2026-07-30 19:15:31.047Z] [DEBUG] Amnezia NetworkWatcher : m_impl->start() completed successfully
[2026-07-30 19:15:31.047Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Checking devices
[2026-07-30 19:15:33.039Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : initialize
[2026-07-30 19:15:33.039Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Retrieving the list of wifi network devices from NetworkManager
[2026-07-30 19:15:33.047Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Found a wifi device: /org/freedesktop/NetworkManager/Devices/2
[2026-07-30 19:15:33.048Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Checking devices
[2026-07-30 19:15:33.541Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed for interface org.freedesktop.NetworkManager.Device.Statistics
[2026-07-30 19:15:33.541Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not changed. Ignoring the changes
[2026-07-30 19:15:34.040Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed for interface org.freedesktop.NetworkManager.Device.Statistics

After that I launch the client, and it connects. But this doesn't happen automatically, and doing it manually every time would be suicide)

<!-- gh-comment-id:5135271274 --> @bestperson-free commented on GitHub (Jul 30, 2026): So if I run as root ``` ❯ sudo /opt/AmneziaVPN/bin/AmneziaVPN-service [sudo] password for user: Started as system service [2026-07-30 19:15:31.042Z] [DEBUG] Amnezia Daemon : Daemon created [2026-07-30 19:15:31.042Z] [DEBUG] Amnezia LinuxDaemon : Daemon created [2026-07-30 19:15:31.042Z] [DEBUG] Amnezia WireguardUtilsLinux : WireguardUtilsLinux created. [2026-07-30 19:15:31.042Z] [DEBUG] Amnezia DnsUtilsLinux : DnsUtilsLinux created. [2026-07-30 19:15:31.045Z] [DEBUG] Amnezia IPUtilsLinux : IPUtilsLinux created. [2026-07-30 19:15:31.046Z] [DEBUG] Amnezia DaemonLocalServer : Server path: /var/run/amneziavpn/daemon.socket [2026-07-30 19:15:31.046Z] [DEBUG] Amnezia NetworkWatcher : Initialize NetworkWatcher [2026-07-30 19:15:31.047Z] [DEBUG] Amnezia LinuxNetworkWatcher : initialize [2026-07-30 19:15:31.047Z] [DEBUG] Amnezia NetworkWatcher : Starting NetworkWatcher for sleep/wake monitoring [2026-07-30 19:15:31.047Z] [DEBUG] Amnezia NetworkWatcher : About to call m_impl->start() [2026-07-30 19:15:31.047Z] [DEBUG] Amnezia LinuxNetworkWatcher : actived [2026-07-30 19:15:31.047Z] [DEBUG] Amnezia NetworkWatcher : m_impl->start() completed successfully [2026-07-30 19:15:31.047Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Checking devices [2026-07-30 19:15:33.039Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : initialize [2026-07-30 19:15:33.039Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Retrieving the list of wifi network devices from NetworkManager [2026-07-30 19:15:33.047Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Found a wifi device: /org/freedesktop/NetworkManager/Devices/2 [2026-07-30 19:15:33.048Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Checking devices [2026-07-30 19:15:33.541Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed for interface org.freedesktop.NetworkManager.Device.Statistics [2026-07-30 19:15:33.541Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not changed. Ignoring the changes [2026-07-30 19:15:34.040Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed for interface org.freedesktop.NetworkManager.Device.Statistics ``` After that I launch the client, and it connects. But this doesn't happen automatically, and doing it manually every time would be suicide)
Author
Owner

@bestperson-free commented on GitHub (Jul 30, 2026):

The result in my case is this: the file https://github.com/amnezia-vpn/amnezia-client/releases/download/5.0.0.5/AmneziaVPN_5.0.0.5_linux_x64.run is downloaded, launched, installed, after which everything starts correctly.

We see

systemctl status AmneziaVPN.service
● AmneziaVPN.service - AmneziaVPN Service
     Loaded: loaded (/etc/systemd/system/AmneziaVPN.service; enabled; preset: disabled)
     Active: active (running) since Thu 2026-07-30 22:28:35 MSK; 3min 28s ago
 Invocation: a79b8d8f318c4c42a0576dc226a2ad48
   Main PID: 11876 (AmneziaVPN-serv)
      Tasks: 25 (limit: 13467)
     Memory: 43.8M (peak: 44.8M)
        CPU: 6.881s
     CGroup: /system.slice/AmneziaVPN.service
             ├─11876 /opt/AmneziaVPN/bin/AmneziaVPN-service
             └─12957 /opt/AmneziaVPN/bin/amneziawg-go -f amn0

июл 30 22:32:01 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:01.530Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed f>
июл 30 22:32:01 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:01.530Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not>
июл 30 22:32:02 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:02.030Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed f>
июл 30 22:32:02 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:02.030Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not>
июл 30 22:32:02 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:02.530Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed f>
июл 30 22:32:02 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:02.530Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not>
июл 30 22:32:03 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:03.031Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed f>
июл 30 22:32:03 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:03.031Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not>
июл 30 22:32:03 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:03.040Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed f>
июл 30 22:32:03 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:03.040Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not>
❯ ls /opt/AmneziaVPN
AmneziaVPN.desktop  bin                  installer.dat       maintenancetool      network.xml      post_uninstall.sh
AmneziaVPN.png      components.xml       installerResources  maintenancetool.dat  plugins          qml
AmneziaVPN.service  InstallationLog.txt  lib                 maintenancetool.ini  post_install.sh  translations
    ~                                                   

As we can see, the files are now correctly located in the folder and present; this doesn't happen during the build, as we saw above. I can't say for sure, but something's wrong with the build.

<!-- gh-comment-id:5135412501 --> @bestperson-free commented on GitHub (Jul 30, 2026): The result in my case is this: the file https://github.com/amnezia-vpn/amnezia-client/releases/download/5.0.0.5/AmneziaVPN_5.0.0.5_linux_x64.run is downloaded, launched, installed, after which everything starts correctly. We see ``` systemctl status AmneziaVPN.service ● AmneziaVPN.service - AmneziaVPN Service Loaded: loaded (/etc/systemd/system/AmneziaVPN.service; enabled; preset: disabled) Active: active (running) since Thu 2026-07-30 22:28:35 MSK; 3min 28s ago Invocation: a79b8d8f318c4c42a0576dc226a2ad48 Main PID: 11876 (AmneziaVPN-serv) Tasks: 25 (limit: 13467) Memory: 43.8M (peak: 44.8M) CPU: 6.881s CGroup: /system.slice/AmneziaVPN.service ├─11876 /opt/AmneziaVPN/bin/AmneziaVPN-service └─12957 /opt/AmneziaVPN/bin/amneziawg-go -f amn0 июл 30 22:32:01 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:01.530Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed f> июл 30 22:32:01 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:01.530Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not> июл 30 22:32:02 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:02.030Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed f> июл 30 22:32:02 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:02.030Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not> июл 30 22:32:02 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:02.530Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed f> июл 30 22:32:02 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:02.530Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not> июл 30 22:32:03 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:03.031Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed f> июл 30 22:32:03 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:03.031Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not> июл 30 22:32:03 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:03.040Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed f> июл 30 22:32:03 myhome AmneziaVPN-service[11876]: [2026-07-30 19:32:03.040Z] [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not> ❯ ls /opt/AmneziaVPN AmneziaVPN.desktop bin installer.dat maintenancetool network.xml post_uninstall.sh AmneziaVPN.png components.xml installerResources maintenancetool.dat plugins qml AmneziaVPN.service InstallationLog.txt lib maintenancetool.ini post_install.sh translations    ~  ``` As we can see, the files are now correctly located in the folder and present; this doesn't happen during the build, as we saw above. I can't say for sure, but something's wrong with the build.
Author
Owner

@lufog commented on GitHub (Jul 30, 2026):

I completely removed Amnezia including the /opt/AmneziaVPN/ folder sudo rm -r /opt/AmneziaVPN/

But why?

If you installed a package from the AUR, remove it using pacman.

sudo pacman -Rnsc amneziavpn-bin 

If you installed it using the official installer, remove it by running maintenancetool.

/opt/AmneziaVPN/maintenancetool

I think the problem is that you incorrectly removed the official installation, before installing AUR version, and now remnants like /etc/systemd/system/AmneziaVPN.service conflicting with AUR's /usr/lib/systemd/system/AmneziaVPN.service.

<!-- gh-comment-id:5136927120 --> @lufog commented on GitHub (Jul 30, 2026): > I completely removed Amnezia including the /opt/AmneziaVPN/ folder sudo rm -r /opt/AmneziaVPN/ But why? If you installed a package from the AUR, remove it using `pacman`. ``` sudo pacman -Rnsc amneziavpn-bin ``` If you installed it using the official installer, remove it by running `maintenancetool`. ``` /opt/AmneziaVPN/maintenancetool ``` I think the problem is that you incorrectly removed the official installation, before installing AUR version, and now remnants like `/etc/systemd/system/AmneziaVPN.service` conflicting with AUR's `/usr/lib/systemd/system/AmneziaVPN.service`.
Author
Owner

@bestperson-free commented on GitHub (Jul 30, 2026):

I wrote it wrong, of course I deleted the package in Pamac, and then the folder. I saw other comments on the page http://aur.archlinux.org/packages/amneziavpn-bin about the service not starting. I checked three times, and the installation behaved the same way. Now I installed the binary file and everything is fine.

<!-- gh-comment-id:5136964363 --> @bestperson-free commented on GitHub (Jul 30, 2026): I wrote it wrong, of course I deleted the package in Pamac, and then the folder. I saw other comments on the page http://aur.archlinux.org/packages/amneziavpn-bin about the service not starting. I checked three times, and the installation behaved the same way. Now I installed the binary file and everything is fine.
Author
Owner

@lufog commented on GitHub (Jul 30, 2026):

Reread the last sentence. If you now correctly uninstall the official version using maintenancetool and then install the AUR version, it will also work. Well, or just stick with the version installed by the official installer.

I'm currently using version 5.0.0.5 from AUR and it works great.

<!-- gh-comment-id:5137005705 --> @lufog commented on GitHub (Jul 30, 2026): Reread the last sentence. If you now **correctly** uninstall the official version using `maintenancetool` and then install the AUR version, it will also work. Well, or just stick with the version installed by the official installer. I'm currently using version 5.0.0.5 from AUR and it works great.
Author
Owner

@bestperson-free commented on GitHub (Jul 30, 2026):

Yes, after running /opt/AmneziaVPN/maintenancetool it started correctly, but here we need to understand why all the previous updates didn't pose any difficulties. This thread can be closed — your support is excellent, everything is great now.

<!-- gh-comment-id:5137066684 --> @bestperson-free commented on GitHub (Jul 30, 2026): Yes, after running /opt/AmneziaVPN/maintenancetool it started correctly, but here we need to understand why all the previous updates didn't pose any difficulties. This thread can be closed — your support is excellent, everything is great now.
Author
Owner

@lufog commented on GitHub (Jul 30, 2026):

Everything broke in version 5.x because the program's file structure changed. The service file left over from an improper uninstall of the official 4.x version overrode the one installed by the AUR package. This is expected behavior, as configurations in /etc/systemd always take precedence over configurations in /usr/lib/systemd.

<!-- gh-comment-id:5137106348 --> @lufog commented on GitHub (Jul 30, 2026): Everything broke in version 5.x because the program's file structure changed. The service file left over from an improper uninstall of the official 4.x version overrode the one installed by the AUR package. This is expected behavior, as configurations in `/etc/systemd` always take precedence over configurations in `/usr/lib/systemd`.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#1321
No description provided.