From 62362f369cf35fa52c2687565d280c9aabb6b5b3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 6 Sep 2024 10:44:28 +0000 Subject: [PATCH] chore: update installation data --- scripts/self-hosted/db.sql | 2 +- scripts/self-hosted/install-server.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/self-hosted/db.sql b/scripts/self-hosted/db.sql index 1d22667..f411996 100644 --- a/scripts/self-hosted/db.sql +++ b/scripts/self-hosted/db.sql @@ -1240,7 +1240,7 @@ COPY public.node_tasks (id, team_id, task_group_id, type, meta, payload, status, -- COPY public.nodes (id, team_id, name, agent_token, last_seen_at, created_at, updated_at, data, swarm_id) FROM stdin; -1 1 default CiDxqmiTyJMV6qIhEI8mozcmHg9easnbYfvCPppdht \N 2024-09-01 00:00:00 2024-09-01 00:00:00 \N 1 +1 1 default fake_agent_token \N 2024-09-01 00:00:00 2024-09-01 00:00:00 \N 1 \. diff --git a/scripts/self-hosted/install-server.sh b/scripts/self-hosted/install-server.sh index df4b26e..18e95b9 100755 --- a/scripts/self-hosted/install-server.sh +++ b/scripts/self-hosted/install-server.sh @@ -259,7 +259,6 @@ sql_dump_file="db.sql" sql_dump_file_tmp="db.sql.tmp" sed -e "s|self_hosted_password|$password_hash|g" \ - -e "s|fake_agent_token|$random_token|g" \ "$sql_dump_file" > "$sql_dump_file_tmp" # Replace the original file with the updated one