ivpn / desktop-app

Official IVPN Desktop app
https://www.ivpn.net/apps/
GNU General Public License v3.0
347 stars 48 forks source link

Broken Fedora Silverblue package #389

Open flexagoon opened 2 months ago

flexagoon commented 2 months ago

Bug report

Describe your environment

Describe the problem

Steps to reproduce:

  1. Follow installation instructions here

Observed Results:

The CLI app is installed, but doesn't work:

❯ ivpn
ERROR: Unable to connect to service: please, ensure IVPN daemon is running (connection-info not exists)
Please, restart 'ivpn-service'

❯ systemctl restart ivpn-service

❯ ivpn
ERROR: Unable to connect to service: please, ensure IVPN daemon is running (connection-info not exists)
Please, restart 'ivpn-service'

The GUI app does not appear in the app launcher at all, and its files seem to not be installed correctly:

❯ rpm -ql ivpn-ui
/opt/ivpn/ui/IVPN.desktop
/opt/ivpn/ui/bin/LICENSE.electron.txt
/opt/ivpn/ui/bin/LICENSES.chromium.html
# ... other files starting with /opt/ivpn

❯ rpm -ql ivpn
/opt/ivpn/dnscrypt-proxy/dnscrypt-proxy
/opt/ivpn/etc/ca.crt
/opt/ivpn/etc/client.down
# ...

❯ locate IVPN.desktop
/sysroot/ostree/deploy/default/deploy/682a3b364f879c63ea651843e6c680b47d812405a566aecf3e6242e2fc6efdb7.0/usr/share/applications/IVPN.desktop
/sysroot/ostree/deploy/default/deploy/94866e7d00c7e0c78013dfc373fd8c91230aa3517391f39336a9f97fdc3b89a4.0/usr/share/applications/IVPN.desktop
/usr/share/applications/IVPN.desktop

❯ ls -l /usr/share/applications/IVPN.desktop
lrwxrwxrwx. 4 root root 25 Jul  1 23:28 /usr/share/applications/IVPN.desktop -> /opt/ivpn/ui/IVPN.desktop

❯ ls /opt/ivpn
ls: cannot access '/opt/ivpn': No such file or directory

It seems like files in /opt/ivpn don't get installed correctly.

Expected Results:

The app should be properly installed

stenya commented 2 months ago

@flexagoon

Just to confirm, did you execute the commands to reboot the system, enable, and start the service? The order is important.

# reboot system
systemctl reboot

# enable IVPN service to start automatically
sudo systemctl enable ivpn-service

# start IVPN stervice
sudo systemctl start ivpn-service
flexagoon commented 2 months ago

@stenya yes, I did all of that. As my provided commands show, the issue is that files aren't getting installed into /opt

(btw, there's systemctl enable --now, which is the same as systemctl enable && systemctl start)

stenya commented 2 months ago

Hi @flexagoon

We just checked the installation process on the official Fedora Silverblue 40 (not custom) and found no issues.

I’m afraid the issue might be with your custom build or local configuration.

We test our applications on the official distribution version. Unfortunately, we cannot support all custom builds for different Linux distributions. cc @gorkapernas

flexagoon commented 1 month ago

@stenya it seems like the issue doesn't happen when layering ivpn on top of an already installed system, but it does happen when ivpn is installed during the image build process