Skip to content

[Bug]: Config completely broken on 3.1.1 #774

Closed
@GMart

Description

@GMart

What happened?

I am trying to copy a config file from one instance of TA to another. Both are running 3.1.1. I get the config .json file from one and give it to the other, and then click save, it says there are errors. The Device_sources part of the tree has errors.

I have pasted a simple config generated by version 3.1.1. There is some large bug preventing the config from saving. It thinks there needs to be more items under the item, like "max_reconnects", "bus" and others. I don't know what to set these values to.
image

Version

3.1.1

Distribution

CLI

OS

Linux

What browsers are you seeing the problem on?

Firefox, Chrome

If applicable, What Listener Clients are You Using?

No response

TallyArbiter configuration

{
  "security": {
    "jwt_private_key": "H6yE3CZEm6pBR2yZwpkbLm6xzXrJzYrIvhjO1RLWs1EDCSCbCo9AnztWfYmYExr8jEWkt4bVM3GZSmCZlm9n69eRPp4H9oM5y24Kvbu0ayEZVn4pSsBnyrS9jWPDdZmXJz6edCfFPCLy/dKNow9Lbc0xVSxqwx+mcmNa3J3deL4WmGP12I8lU02pIkEVPmZ2AbMdZ2Uwhjl8zc5MglOm1KDs6MO1k/eIQ2Bd/KaIvgPrPUWaXJ5X04ZwMRuAZvltbJDtZPSDD5y/HzlwsLHNVSnap95Xl0ypJFj2jJJ9jGi4KMbcWwThvgYksNqr7e+U1XmpR18suup83UIzeyn13Q=="
  },
  "users": [
    {
      "username": "producer",
      "password": "$2a$10$xoxOcq23kicZcQYwuQQkmexffL4flew0az5P9dP/iUVz8L2Dbfk5C",
      "roles": "producer"
    },
    {
      "username": "admin",
      "password": "$2a$10$T.g5Uaua7.CHAfvt3FGml.cvb0O8cIwujxldGckbTdaRk5LCPio76",
      "roles": "admin"
    }
  ],
  "cloud_destinations": [],
  "cloud_keys": [],
  "device_actions": [],
  "device_sources": [
    {
      "deviceId": "f8211675",
      "sourceIdx": "0",
      "address": "TEST_0",
      "rename": true,
      "sourceId": "91befc40",
      "id": "b553a665"
    }
  ],
  "devices": [
    {
      "name": "Phone",
      "description": "Phone1",
      "enabled": true,
      "id": "f8211675"
    }
  ],
  "sources": [
    {
      "data": {
        "interval": 222,
        "changeMode": "one-at-a-time",
        "addressesNumber": 3
      },
      "name": "Test",
      "sourceTypeId": "TESTMODE",
      "reconnect": true,
      "enabled": true,
      "id": "91befc40",
      "max_reconnects": 5,
      "connected": true
    }
  ],
  "tsl_clients": [],
  "tsl_clients_1secupdate": false,
  "bus_options": [
    {
      "id": "e393251c",
      "label": "Preview",
      "type": "preview",
      "color": "#3fe481",
      "priority": 50,
      "visible": true
    },
    {
      "id": "334e4eda",
      "label": "Program",
      "type": "program",
      "color": "#e43f5a",
      "priority": 200,
      "visible": true
    },
    {
      "id": "12c8d699",
      "label": "Aux 1",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": true
    },
    {
      "id": "0449b0c7",
      "label": "Aux 2",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": true
    },
    {
      "id": "5d94f273",
      "label": "Aux 3",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "77ffb605",
      "label": "Aux 4",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "09d4975d",
      "label": "Aux 5",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "e2c2e192",
      "label": "Aux 6",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "734f7395",
      "label": "Aux 7",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "3011d34a",
      "label": "Aux 8",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    }
  ],
  "externalAddress": "http://0.0.0.0:4455/#/tally",
  "remoteErrorReporting": false,
  "uuid": "5ee0864f"
}

Relevant log output

No response

Error stacktrace (if applicable)

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions