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