Termix-SSH / Termix-SSH/Support

[BUG] Proxmox guests auto sync not working `Too few parameter values were provided`

Open
#1,196 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug host-metrics platform-docker platform-proxmox platform-web
Dominant language
No language data
Stars
28
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Title

Proxmox guests auto sync not working Too few parameter values were provided

Platform

Website - Chrome

Server Installation Method

Docker

Version

1.7.1

CLI Installation Method

None

CLI Version

No response

Troubleshooting
  • I have examined logs and tried to find the issue
  • I have reviewed opened and closed issues
  • I have tried restarting the application
  • I have checked open issues and ensured this is not a duplicate
The Problem
Image
termix  | [1:08:12 AM] [INFO] [🚀] Proxmox discovery SSH connection established [op:proxmox_discover,user:n_XqXdl-J9XqJHIrdkG6j,host:1]
termix  | [1:08:25 AM] [INFO] [🚀] Proxmox discovery completed [op:proxmox_discover,user:n_XqXdl-J9XqJHIrdkG6j,host:1]
termix  | [1:08:25 AM] [ERROR] [🚀] Scheduled Proxmox sync failed [op:proxmox_auto_sync,user:n_XqXdl-J9XqJHIrdkG6j,host:1]
termix  | RangeError: Too few parameter values were provided
termix  |     at PreparedQuery.values (file:///app/node_modules/drizzle-orm/better-sqlite3/session.js:106:28)
termix  |     at PreparedQuery.all (file:///app/node_modules/drizzle-orm/better-sqlite3/session.js:81:23)
termix  |     at QueryPromise.all (file:///app/node_modules/drizzle-orm/sqlite-core/query-builders/insert.js:165:28)
termix  |     at QueryPromise.execute (file:///app/node_modules/drizzle-orm/sqlite-core/query-builders/insert.js:174:41)
termix  |     at QueryPromise.then (file:///app/node_modules/drizzle-orm/query-promise.js:21:17)
termix  |     at process.processTicksAndRejections (node:internal/process/task_queues:104:5)

If this is not an universal bug everyone has but only me/specific users, at least show in the frontend what is missing/misconfigured.

How to Reproduce

For me its just marking a host as being a proxmox node and activating the auto sync. I configured pretty much nothing else. Manual auto import worked just fine on 1.7.0 which got broken in 1.7.1, see #1195

Additional Context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the scheduled Proxmox auto-sync path and the Drizzle SQLite insert shown in the stack trace; compare the 1.7.0 and 1.7.1 behavior and issue #1195. Reproduce by marking a host as a Proxmox node and enabling auto sync, then verify scheduled sync completes and any missing or misconfigured setting is reported in the frontend.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, javascript, sqlite
Domain
backend, databases, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.