Closed marcelser closed 5 years ago
@marcelser Please run makefile again or run sudo FireMotD -I -d
on the latest version and let me know if that resolves your issue.
Released version 10.01 with some extra info which should point users to the install command. I'm closing this, please let me know if you have still problems.
https://github.com/OutsideIT/FireMotD/releases/tag/v10.03.180725 should fix another issue with default template type not overwriting
I can't seem to get FireMotD working on my second Pi. Installed it but if I run FireMotd -t Modern
I get 2018-09-11 19:07:42,289: FireMotD: Info: No FireMotD ExportFile detected. Please generate with "sudo .\FireMotD -S"
Running sudo FireMotD -d -S
I get
2018-09-11 19:08:59,136: FireMotD: Info: FireMotD action save started
2018-09-11 19:08:59,153: FireMotD: Info: Exportfile /usr/share/firemotd/data/FireMotD.json not found. Copying template default
2018-09-11 19:08:59,170: FireMotD: Info: No data template selected. Leaving as-is..
2018-09-11 19:08:59,192: FireMotD: Info: Looping through "/usr/share/firemotd/data/FireMotD.json" based on default template.
2018-09-11 19:08:59,233: FireMotD: Info: Updated ExportFile: /usr/share/firemotd/data/FireMotD.json
2018-09-11 19:08:59,248: FireMotD: Info: FireMotD action save finished
Also tried sudo FireMotD -d -D all -S
I get
2018-09-11 19:14:33,839: FireMotD: Info: FireMotD action save started
2018-09-11 19:14:33,859: FireMotD: Info: Exportfile /usr/share/firemotd/data/FireMotD.json not found. Copying template all
2018-09-11 19:14:33,888: FireMotD: Info: Template type set to all. Overwriting..
2018-09-11 19:14:33,943: FireMotD: Info: Looping through "/usr/share/firemotd/data/FireMotD.json" based on all template.
2018-09-11 19:14:33,988: FireMotD: Info: Exploring HostIp
2018-09-11 19:14:34,083: FireMotD: Info: Exploring Release
jq: error: syntax error, unexpected IDENT, expecting $end (Unix shell quoting issues?) at <top-level>, line 1:
.Release.Value = "PRETTY_NAME="Open Source Media Center""
jq: 1 compile error
2018-09-11 19:14:34,167: FireMotD: Info: Exploring Kernel
2018-09-11 19:14:34,236: FireMotD: Info: Exploring Platform
2018-09-11 19:14:34,358: FireMotD: Info: Exploring InstallDate
2018-09-11 19:14:34,434: FireMotD: Info: Exploring Updates
2018-09-11 19:14:42,225: FireMotD: Info: Exploring Httpd
2018-09-11 19:14:42,300: FireMotD: Info: Exploring Nginx
2018-09-11 19:14:42,375: FireMotD: Info: Exploring Mysql
2018-09-11 19:14:42,470: FireMotD: Info: Exploring Postgres
2018-09-11 19:14:42,543: FireMotD: Info: Exploring Php
2018-09-11 19:14:42,641: FireMotD: Info: Exploring Elasticsearch
2018-09-11 19:14:42,707: FireMotD: Info: Exploring Logstash
2018-09-11 19:14:42,775: FireMotD: Info: Exploring Kibana
2018-09-11 19:14:42,844: FireMotD: Info: Updated ExportFile: /usr/share/firemotd/data/FireMotD.json
2018-09-11 19:14:42,861: FireMotD: Info: FireMotD action save finished
And still the same error if I try FireMotD -t Modern
The issue seems to be in "jq: error: syntax error, unexpected IDENT, expecting $end (Unix shell quoting issues?) at
Not much time to help you out more for now, try the code in ExploreRelease function and output here pls. Also cat /usr/share/firemotd/data/FireMotD.json pls
Issue Type
Bug report
Issue Detail
Expected Behavior FireMotD displays correct information on login
Actual Behavior
after logging it is shown
FireMotD: Info: No FireMotD ExportFile detected. Please generate with “sudo .\FireMotD -S”
Trying to run
sudo .\FireMotD -S
I get:018-07-22 18:30:05,216: 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
How to reproduce Behavior
Just update to newest 9.16.180717. the only way to resolve this issue is to downgrade to previous v8.08.171007 then FireMotD works perfectly fine.