JSON trouble

Trying to install openhabian on a intel nuc running ubuntu server I get this error in regards to jq (JSON)

Its a fresh install of both linux and openhabian. openhabian seems to be running fine, but gives out occational errors of this type.


jq: error: Invalid escape at line 1, column 4 (while parsing '"\x"') at <top-level>, line 1:
.Platform.Value = "\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff/DN2820FYK, BIOS FYBYT10H.86A.0055.2016.0919.1948 09/19/2016                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
jq: 66 compile errors

==> /var/log/openhab2/openhab.log <==

2018-01-18 08:57:03.732 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://10.0.0.2:8080

2018-01-18 08:57:03.747 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://10.0.0.2:8443

2018-01-18 08:57:17.970 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard

2018-01-18 08:57:18.243 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://10.0.0.2:8080

2018-01-18 08:57:18.248 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://10.0.0.2:8443

2018-01-18 08:57:20.023 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007

2018-01-18 09:01:16.369 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard

2018-01-18 09:01:16.428 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://10.0.0.2:8080

2018-01-18 09:01:16.430 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://10.0.0.2:8443

2018-01-18 09:03:02.916 [INFO ] [er.internal.HomeBuilderDashboardTile] - Started Home Builder at /homebuilder

2018-01-18 09:03:03.229 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app

2018-01-18 09:03:03.301 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel

2018-01-18 09:03:03.339 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui

2018-01-18 09:13:20.756 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI

2018-01-18 09:13:31.395 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI

2018-01-18 09:13:31.411 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel

2018-01-18 09:13:31.421 [INFO ] [er.internal.HomeBuilderDashboardTile] - Stopped Home Builder

2018-01-18 09:13:31.447 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard

==> /var/log/openhab2/events.log <==

2018-01-18 09:02:57.820 [thome.event.ExtensionEvent] - Extension 'package-standard' has been installed.

2018-01-18 09:03:03.367 [thome.event.ExtensionEvent] - Extension 'ui-homebuilder' has been installed.

2018-01-18 09:03:03.374 [thome.event.ExtensionEvent] - Extension 'ui-basic' has been installed.

2018-01-18 09:03:03.378 [thome.event.ExtensionEvent] - Extension 'ui-habpanel' has been installed.

2018-01-18 09:03:03.379 [thome.event.ExtensionEvent] - Extension 'ui-paper' has been installed.

==> /var/log/openhab2/openhab.log <==

2018-01-18 09:23:47.243 [INFO ] [er.internal.HomeBuilderDashboardTile] - Started Home Builder at /homebuilder

2018-01-18 09:23:48.319 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://10.0.0.2:8080

2018-01-18 09:23:48.326 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://10.0.0.2:8443

2018-01-18 09:23:59.291 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007

2018-01-18 09:24:02.668 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app

2018-01-18 09:24:02.779 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui

2018-01-18 09:24:02.900 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel

Where’s this one coming from? the openhab.log seems fine.
What did you already change in the configuration of openHAB?

thanks for replying, and sorry if im unclear. Not that much linux experience so I must say i feel im on a bit steep learning curve. This error seems to appear whenever jq tries to compile something. ive attached an example.

[10:42:24] tommy@varmeservice:~$ sudo apt-get install jq
Leser pakkelister ... Ferdig
Skaper oversikt over avhengighetsforhold
Leser tilstandsinformasjon ... Ferdig
Følgende NYE pakker vil bli installert:
  jq
0 oppgraderte, 1 nylig installerte, 0 å fjerne og 0 ikke oppgradert.
Må hente 144 kB med arkiver.
Etter denne operasjonen vil 357 kB ekstra diskplass bli brukt.
Hent:1 http://no.archive.ubuntu.com/ubuntu xenial/universe amd64 jq amd64 1.5+dfsg-1 [144 kB]
Hentet 144 kB på 0s (811 kB/s)
Velger den tidligere bortvalgte pakka «jq».
(Leser database ... 108749 filer og kataloger er for øyeblikket installerte.)
Preparing to unpack .../jq_1.5+dfsg-1_amd64.deb ...
Unpacking jq (1.5+dfsg-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setter opp jq (1.5+dfsg-1) ...
Updating FireMotD available updates count ... jq: error: Invalid escape at line 1, column 4 (while parsing '"\x"') at <top-level>, line 1:
.Platform.Value = "\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff/DN2820FYK, BIOS FYBYT10H.86A.0055.2016.0919.1948 09/19/2016

ok. I’ve never seen this one… Why do you need the “jq” package?

it was installed with openhab. It is JSON. It started giving me theese errors when i ran trugh the steps in “openhabian-config” script.
I think this problem is with the “\xffffffff” filelds, seems like they should be filles with information. I cant seem to find any info on thios online either.
Oh, well. Maybe I’ll start over with a fresh install of ubuntu server

If you don’t have done anything in the config yet, that would be the best way to go, I guess.