Closed leigh-johnson closed 1 year ago
Update: now seeing the following error in a v0.6.3 dev build. Looks like we're not creating the organization-level unit.
Error: error in response: status code: 500 Internal Server Error content: {"error_uuid": "21796a14ef0b4d37965f21f96fe2fd83", "error": "null value in column \"organization_id\" violates not-null constraint\nDETAIL: Failing row contains (28, null, {}, null, null, 84, hopeful-salamander-from-hell, null, null, null, null, null, null, f).\n"}
Also maybe I need to apply a PG filter to the nats app name generator :joy: hopeful-salamander-from-hell
:+1: A fix for this will be released with v0.6.3
[2023-02-03T01:39:59Z INFO printnanny_edge_db::cloud] printnanny_edge_db::cloud::Pi with id=1 updated
[2023-02-03T01:39:59Z INFO printnanny_edge_db::nats_app] printnanny_edge_db::nats_app::NatsApp attempting to insert row: NatsApp {
id: 29,
app_name: "raccoon-of-pastoral-weather",
pi_id: 84,
organization_id: 10,
organization_name: "mighty-accomplished-cheetah",
nats_server_uri: "nats://nats.live.printnanny.ai:4222",
nats_ws_uri: "wss://nats.live.printnanny.ai:8443",
mqtt_broker_host: "mqtt.live.printnanny.ai",
mqtt_broker_port: 1883,
}
[2023-02-03T01:39:59Z INFO printnanny_edge_db::nats_app] printnanny_edge_db::nats_app::NatsApp created 1
Describe the bug
Looks like we're failing to start
printnanny-cloud-nats.service
in v0.6.2, with error:To Reproduce
What are the steps to reproduce the issue?
sudo -u printnanny /usr/bin/printnanny -vv nats-cloud-worker
Issue.txt