thomasnordquist / MQTT-Explorer

An all-round MQTT client that provides a structured topic overview
https://mqtt-explorer.com
Other
3.08k stars 291 forks source link

Mqtt Explorer doesn't start on Ubunt 20.04 #439

Open mygitus opened 4 years ago

mygitus commented 4 years ago

Installed the app from Ubuntu Software (Ubuntu 20.04). On opening the app from the application launcher, nothing happens. Please forgive me if I am missing something really obvious... I also had the same issue on Ubuntu 18.04.

lazystone commented 4 years ago

Works for me on KDE Neon(based on ubuntu 20.04) - I used application image 0.4.0-beta1

ingwinlu commented 4 years ago

same issue for me ubuntu 20.04 and on gnome. mqtt-explorer does not start, running in console does not show any output but instead the process ends right away.

EDIT: running strace mqtt-explorer shows write(2, "need to run as root or suid", 27need to run as root or suid) = 27 however running via sudo also fails due to /run permissions.

thomasnordquist commented 4 years ago

Thx for the report I'll check it out. You did install it via snap?

ingwinlu commented 4 years ago

yes via snap:

➜  ~ snap info mqtt-explorer
name:      mqtt-explorer
summary:   A comprehensive and easy to use MQTT Client
publisher: Thomas Nordquist (thomasnordquist)
store-url: https://snapcraft.io/mqtt-explorer
license:   unset
description: |
  Explore your message queues, delete retained topics, see what is happening on your broker.

  - Visualize topics and topic activity
  - Delete retained topics
  - Search/filter topics
  - Delete topic recursively
  - Publish topics
  - Plot numeric topics
  - Keep a history of each topic

  See the whole picture of your message queue. The perfect tool to integrate new services, IoT
  devices in your network. This application subscribes to all topics on your MQTT-Server and
  displays your message queue hierarchy, allowing you to drill-down to the topics that are of
  interest.
commands:
  - mqtt-explorer
snap-id:      I4xRvFAz5Sy6ETH2a2xTUi3vCMCd7KYB
tracking:     latest/stable
refresh-date: today at 16:23 CEST
channels:
  latest/stable:    0.3.5 2019-07-17 (29) 59MB -
  latest/candidate: ↑                          
  latest/beta:      0.3.5 2019-07-17 (29) 59MB -
  latest/edge:      ↑                          
installed:          0.3.5            (29) 59MB -
➜  ~ 
Denao2 commented 4 years ago

I am having a similar issue. mqtt-explorer will run once but then no more. Removing the snap and reinstalling then works again for a single run.