nymea / nymea-app

A nymea frontend app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snap crashes on startup

bhdouglass opened this issue · comments

App platform: snap (Ubuntu 18.04)
App version: 1.0.177

Here is the output when running the nymea-app command from the terminal: log.txt

Installing the deb from the repo does not have this same issue.
Please let me know if there is any more information that you need!

Hmm... so this is because avahi fails to connect, likely due to apparmor.

I would have thought you maybe need to snap connect nymea-app:avahi-observe however I cannot reproduce your crash even without having it connected explicitly...

As we discussed on telegram, running that connection works, not sure why it doesn't happen automatically.

Ok, this is now fixed properly. Canonical granted us those auto-connect permissions:

nymea:app:

  • avahi-observe
  • bluez

nymea:core:

  • avahi-observe
  • avahi-control
  • bluez
  • networkmanager

See this thread for full details: https://forum.snapcraft.io/t/request-for-auto-connects-for-nymea/15237