Custom application in Dashboard in Cockpit

  • I took your code and I put it on a VM
  • think to remove # in read file
  • then I found an error

you have a nethserver-omada.json with bad json syntax

[root@ns7loc9 ~]# cat /usr/share/cockpit/nethserver/applications//nethserver-omada.json | jq
parse error: Expected another key-value pair at line 13, column 3

once corrected

[root@ns7loc9 ~]# cat /usr/share/cockpit/nethserver/applications//nethserver-omada.json | jq
{
  "id": "nethserver-omada",
  "name": "TP-Link Omada Webinterface",
  "summary": "TP-Link Omada Controller Webinterface",
  "description": "TP-Link Omada Controller Webinterface",
  "url": "",
  "provides": [
    "nethserver-omada"
  ],
  "release": {
    "version": "1.0"
  },
  "author": {
    "name": "R. Jeckel"
  },
  "infoapi": {
    "path": "nethserver-omada/read"
  },
  "icon": "logo.png",
  "external": true
}

change

  "author": {
    "name": "R. Jeckel",
  },

to

  "author": {
    "name": "R. Jeckel"
  },

WEB development could be really strict sometime :’(

2 Likes