machinebox / issues

Machine Box issues, bugs and feature requests
2 stars 0 forks source link

MB_KEY: Invalid MB_KEY #58

Closed steemsjo closed 3 years ago

steemsjo commented 3 years ago

So, setting everything up, I keep getting this error no matter what I tried.

Portainer log

2021-09-09T08:47:45.793962801Z [ERROR]    MB_KEY: Invalid MB_KEY
2021-09-09T08:47:45.936484383Z          T2021-09-09T08:48:47.213496003Z 2021/09/09 08:48:47 Number of MB_WORKERS is set to 4
2021-09-09T08:48:47.225769056Z [INFO]     facebox v1
2021-09-09T08:48:47.225824271Z :-(
2021-09-09T08:48:47.225832967Z  Ohh you're so close, but Machine Box requires your Box Key in order to work.
2021-09-09T08:48:47.225884219Z 
2021-09-09T08:48:47.225893193Z  Head over to https://machinebox.io/account to get your key, and use it
2021-09-09T08:48:47.225899719Z  as the value for the MB_KEY environment variable.
2021-09-09T08:48:47.225939135Z 
2021-09-09T08:48:47.225946170Z  If you get stuck, read our guide: https://machinebox.io/docs/setup/box-key
2021-09-09T08:48:47.225952596Z 
2021-09-09T08:48:47.225958368Z  See you on https://machinebox.io/account :)

docker_compose.yml

facebox:
    image: machinebox/facebox_noavx #running on 2x AMD Opteron 6378
    container_name: facebox
    restart: unless-stopped
    ports:
      - '8090:8080'
    environment:
      - MB_KEY="my_key_taken_from_account_page" #https://developer.veritone.com/machinebox/overview
steemsjo commented 3 years ago

Solved it, the key does not need any wrapping in quotes like '...' or "...", just the bare key as given by the website.