marco-buratto / signage-orchestrator

Signage Orchestrator
https://www.binaryemotions.com
GNU General Public License v3.0
15 stars 5 forks source link

Player can't be found #3

Closed asellers002955 closed 2 months ago

asellers002955 commented 3 months ago

I have set up the player and orchestrator as instructed and followed the DEBUG.md to find this in the syslog: SIGNAGE DJANGO_API - User data incorrect: {'Signage Orchestrator Backend': {'error': "{'address': [ErrorDetail(string='This field may not be blank.', code='blank')]}"}} DJANGO_API - --> Response: <Response status_code=400, "application/json"> DJANGO_API - Bad Request: /api/v1/backend/players/

When i fill out the player connection script, it seems to not take the address of the orchestrator as shown here User data: {'data': {'uuid': 'd--------', 'player_type': 'slideshow', 'name': 'STV1', 'position': '', 'address': '', 'comment': '', 'metrics': 'uptime: 4days', 'ssh_public_key':

I just can't seem to find /api/v1/backend/players/ or i would input the address myself.

I am very new to working with raspberry pi's so I may be completely missing something. Any assistance would be greatly appreciated.

I am using the paid version

asellers002955 commented 2 months ago

changed address="$(echo -n $(ip a | grep 'inet ' | grep -v 'host lo' | tail -1 | grep -oP '(?<=inet ).*(?=/24)'))" from /24 to /23 (didnt know thats how our network was set up) and the orchestrator was able to find the ip address