[GH-ISSUE #224] Latest LXC install fails #71

Closed
opened 2026-02-26 12:40:05 +03:00 by kerem · 2 comments
Owner

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 protocol file:.
--> 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 fund for 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 fund for details

found 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 protocol file:.
--> 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

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 protocol `file:`. --> 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 fund` for 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 fund` for details found 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 protocol `file:`. --> 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_
kerem 2026-02-26 12:40:05 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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.

<!-- gh-comment-id:3427020235 --> @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.
Author
Owner

@bigdaddy5414 commented on GitHub (Oct 21, 2025):

Worked now!

<!-- gh-comment-id:3427246396 --> @bigdaddy5414 commented on GitHub (Oct 21, 2025): Worked now!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE-Local#71
No description provided.