[12:51:26] openhabian@OpenHABianPi2:~$ sudo openhabian-config
[sudo] password for openhabian:
2018-07-18_12:51:36_CEST [openHABian] Checking for root privileges… OK
2018-07-18_12:51:36_CEST [openHABian] Loading configuration file ‘/etc/openhabian.conf’… OK
2018-07-18_12:53:01_CEST [openHABian] openHABian configuration tool version: [master]v1.4.1-411(ecf59c4)
2018-07-18_12:53:01_CEST [openHABian] Checking for changes in origin… OK
2018-07-18_12:53:16_CEST [openHABian] Downloading and setting up FireMotD…
$ apt update
Hit:1 https://deb.nodesource.com/node_8.x stretch InRelease
Ign:2 https://dl.bintray.com/openhab/apt-repo2 stable InRelease
Hit:3 https://dl.bintray.com/openhab/apt-repo2 stable Release
Hit:5 Index of /raspbian stretch InRelease
Hit:6 Index of /debian stretch InRelease
Ign:7 http://repos.azulsystems.com/debian stable InRelease
Hit:8 http://repos.azulsystems.com/debian stable Release
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
$ apt -y install bc sysstat jq moreutils
Reading package lists… Done
Building dependency tree
Reading state information… Done
bc is already the newest version (1.06.95-9).
jq is already the newest version (1.5+dfsg-1.3).
moreutils is already the newest version (0.60-1).
sysstat is already the newest version (11.4.3-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ bash /opt/FireMotD/FireMotD -S
2018-07-18 12:53:47,624: FireMotD: Error: Template basic does not exist. Try 'basic' or 'all'.
jq: error: Could not open file /usr/share/firemotd/data/FireMotD.json: No such file or directory
OK
2018-07-18_12:53:50_CEST [openHABian] Checking for default openHABian username:password combination… FAILED
2018-07-18_12:53:51_CEST [openHABian] We hope you got what you came for! See you again soon
my fault … my companies proxy server is blocking the picture uri
Please try:
sudo FiremotD -S
For explanation:
sudo ./FiremotD tries to find the file FireMotD in the current directory ( = ./ )
sudo FireMotD is looking for the file in different directories (use “echo $PATH” for details)
by the way:
when installing openhabian a routine is installing among other things FireMotD.
A couple of weeks ago IMHO there was a failure in the current FireMotD release.
the actual release [v10.03.180723] fixed the problems. you can get it by:
sudo openhabian-config
Please choose “10 | Apply Improvements” and in the next screen “15 | FireMotD”.
This will pull the latest release and blast your problems away.
$ bash /opt/FireMotD/FireMotD -S
2018-09-19 15:09:09,709: FireMotD: Error: Template folder doesn’t exist. Upgrading from an older version? Please run make again or run the install function “FireMotD -I -v”.
OK
2018-09-19_15:09:15_CEST [openHABian] Checking for default openHABian username:password combination… OK
2018-09-19_15:09:15_CEST [openHABian] We hope you got what you came for! See you again soon
Thanks for everybodies input.
It worked for me too, but still needed to redo some things before it was actually solved.
In the end think this was my sequence of relevant commands (cd~ really relevant?):
sudo mv /opt/FireMotD{,.old}
cd ~
wget https://github.com/OutsideIT/FireMotD/archive/v8.08.171007.zip
unzip v8.08.171007.zip
mkdir /opt/FireMotD
cp -pR FireMotD-8.08.171007/* /opt/FireMotD
cd ~
sudo bash /opt/FireMotD/FireMotD -S
sudo reboot now
Because the problem is solved now I hope all is correct