Issue of the topic: First time installation of openHAB (after reviewing the excellent video’s of BK Hobby on YouTube. Moving from Domoticz to openHAB. During installation I got the message:
Sadly there was a problem setting up the selected option. Please report this problem in the openHAB
community forum or as a openHABian GitHub issue.
I searched the forum for similar posts. I saw one that was solved, but the solution was abacadabra for me. I am new to openHAB, not to Linux.
I am very sorry to post so little details about the error…
Here are the messages
$ systemctl enable grafana-server.service
Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable grafana-server
Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service â /usr/lib/systemd/system/grafana-server.service.
$ systemctl start grafana-server.service
OK
Updating Grafana admin password…curl: (7) Failed to connect to localhost port 3000: Connection refused
FAILED Connection Grafana to InfluxDB…curl: (7) Failed to connect to localhost port 3000: Connection refused
Adding openHAB dashboard tile for Grafana… 2019-12-27_16:33:10_CET
The Influxdb users and database were NOT created, except grafana user.
Proof:
[09:24:19] openhabian@openhab:~$ influx -username admin -password ******* -host localhost
Connected to http://localhost:8086 version 1.7.9
InfluxDB shell version: 1.7.9
> CREATE DATABASE openhab_db
> CREATE USER admin WITH PASSWORD ‘’ WITH ALL PRIVILEGES
> CREATE USER openhab WITH PASSWORD '’
> CREATE USER grafana WITH PASSWORD ‘*******’
ERR: user already exists
Warning: It is possible this error is due to not setting a database.
Please set a database with the command “use ”.
> GRANT ALL ON openhab_db TO openhab
> GRANT READ ON openhab_db TO grafana
> exit
[09:27:20] openhabian@openhab:~$
Also password of grafana admin was the default password (admin) instead of what I stated in the openhabian-config menu
The creation of the users in InfluxDB and Grafana is done automatically when using the openhabian-config. But somehow 2 users and the main database were not created.
OpenHAB is reinstalled, and I am following the steps BK Hobby explained in his youtube tutorials.
Great resource. This speeds up the adaption of the product. Great work !!!
My Windows workstation is not in the default WORKGROUP group, but in WWG.
I did modify the smb.conf file, but no luck so far.
Here’s the global section of smb.cfg:
[global]
workgroup = WWG
wins support = yes
dns proxy = no
The log.nmbd tells me
[19:13:50] openhabian@openhab:/var/log/samba$ tail log.nmbd
[2019/12/28 19:13:46.578504, 0] …/source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
*****
Samba name server OPENHAB is now a local master browser for workgroup WWG on subnet 192.168.2.143
*****
[2019/12/28 19:13:46.578927, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WWG<1b> for the workgroup WWG.
Unable to sync browse lists in this workgroup.
and the log.smbd
[2019/12/28 19:13:11.804059, 0] ../lib/util/become_daemon.c:138(daemon_ready)
daemon_ready: STATUS=daemon 'smbd' finished starting up and ready to serve connections