mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-04-25 04:35:50 +03:00
[GH-ISSUE #224] Latest LXC install fails #71
Labels
No labels
bug
enhancement
enhancement
feature
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxVE-Local#71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bigdaddy5414 on GitHub (Oct 21, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE-Local/issues/224
✅ Have you read and understood the above guidelines?
yes
📝 Provide a clear and concise description of the issue.
The latest lXC update fails to install.
Script errors out on db url not starting with protocol.
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Error: Prisma schema validation - (get-config wasm)
Error code: P1012
error: Error validating datasource
db: the URL must start with the protocolfile:.--> prisma/schema.prisma:7
|
6 | provider = "sqlite"
7 | url = env("DATABASE_URL")
|
Validation Error Count: 1
🔄 Steps to reproduce the issue.
Install of latest LXC script.
❌ Paste the full error output (if available).
✔️ Dependencies installed.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
removed 27 packages, and changed 77 packages in 3s
28 packages are looking for funding
run
npm fundfor details✔️ Setup Node.js 22
✔️ Deployed: ProxmoxVE-Local (0.4.7)
npm warn deprecated @types/bcryptjs@3.0.0: This is a stub types definition. bcryptjs provides its own type definitions, so you do not need this installed.
added 765 packages, and audited 766 packages in 12s
297 packages are looking for funding
run
npm fundfor detailsfound 0 vulnerabilities
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
✔ Generated Prisma Client (v6.17.1) to ./node_modules/@prisma/client in 50ms
Start by importing your Prisma Client (See: https://pris.ly/d/importing-client)
Tip: Need your database queries to be 1000x faster? Accelerate offers you that and more: https://pris.ly/tip-2-accelerate
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Error: Prisma schema validation - (get-config wasm)
Error code: P1012
error: Error validating datasource
db: the URL must start with the protocolfile:.--> prisma/schema.prisma:7
|
6 | provider = "sqlite"
7 | url = env("DATABASE_URL")
|
Validation Error Count: 1
[Context: getConfig]
Prisma CLI Version : 6.17.1
[ERROR] in line 34: exit code 0: while executing command $STD npx prisma migrate deploy
[ERROR] in line 1345: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"
🖼️ Additional context (optional).
No response
@michelroegl-brunner commented on GitHub (Oct 21, 2025):
Yeah, sometimes i am a Idiot. I pushed the wrong .env.example. I have rebuilt the release, please try again.
@bigdaddy5414 commented on GitHub (Oct 21, 2025):
Worked now!