openhab / openhab-linuxpkg

Repo for Linux packages
Eclipse Public License 2.0
18 stars 33 forks source link

Check for errors in logs when using openhab-cli info #137

Open BClark09 opened 5 years ago

BClark09 commented 5 years ago

Show for example:

Version:     4.0.0 (Build)

User:        openhab (Active Process 15929)
User Groups: openhab tty dialout audio bluetooth

Directories: Folder Name      | Path                       | User:Group
             -----------      | ----                       | ----------
             OPENHAB_HOME     | /usr/share/openhab         | openhab:openhab
             OPENHAB_RUNTIME  | /usr/share/openhab/runtime | openhab:openhab
             OPENHAB_USERDATA | /var/lib/openhab           | openhab:openhab
             OPENHAB_CONF     | /etc/openhab               | openhab:openhab
             OPENHAB_LOGDIR   | /var/log/openhab           | openhab:openhab
             OPENHAB_BACKUPS  | /var/lib/openhab/backups   | openhab:openhab

URLs:        http://0.0.0.0:8080
             https://0.0.0.0:8443

Warning:     There are errors in your logs!
             Please check the contents of them using the commands (use q to exit):
                 journalctl -b -u openhab.service
                 less /var/log/openhab/openhab.log