2Fauth do not install support for sqlite databases #1283

Closed
opened 2026-02-05 00:10:39 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @ryosoftware on GitHub (Jul 15, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

2fauth

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/2fauth.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

App installer is not installing php8.3-sqlite3 package then no support for sqlite databases even if .env describes a sqlite database connection

🔄 Steps to reproduce the issue.

edit .env file at /opt/2fauth then set connection database is sqlite then exec "php artisan config:clear" to see the error

Paste the full error output (if available).

root@2fauth-scr:/opt/2fauth# php artisan config:clear

In Connection.php line 825:

could not find driver (Connection: sqlite, SQL: PRAGMA foreign_keys = ON;)

In Connector.php line 66:

could not find driver

🖼️ Additional context (optional).

No response

Originally created by @ryosoftware on GitHub (Jul 15, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? 2fauth ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/2fauth.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. App installer is not installing php8.3-sqlite3 package then no support for sqlite databases even if .env describes a sqlite database connection ### 🔄 Steps to reproduce the issue. edit .env file at /opt/2fauth then set connection database is sqlite then exec "php artisan config:clear" to see the error ### ❌ Paste the full error output (if available). root@2fauth-scr:/opt/2fauth# php artisan config:clear In Connection.php line 825: could not find driver (Connection: sqlite, SQL: PRAGMA foreign_keys = ON;) In Connector.php line 66: could not find driver ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 00:10:39 +03:00
Author
Owner

@MickLesk commented on GitHub (Jul 15, 2025):

We roll out the script as MariaDB, if the user wants to make changes to the installation, he has to do it himself. This is definitely not a bug

@MickLesk commented on GitHub (Jul 15, 2025): We roll out the script as MariaDB, if the user wants to make changes to the installation, he has to do it himself. This is definitely not a bug
Author
Owner

@ryosoftware commented on GitHub (Jul 15, 2025):

Really? is too complex to add the following line to the script or at least add your previous message to the script docs or into the .env file?

apt install php8.3-sqlite3

@ryosoftware commented on GitHub (Jul 15, 2025): Really? is too complex to add the following line to the script or at least add your previous message to the script docs or into the .env file? `apt install php8.3-sqlite3`
Author
Owner

@tremor021 commented on GitHub (Jul 15, 2025):

The package you want is not required by the app/script and we don't install packages "just because".

You are free to alter the script to suit your need and run it on your node.

@tremor021 commented on GitHub (Jul 15, 2025): The package you want is not required by the app/script and we don't install packages "just because". You are free to alter the script to suit your need and run it on your node.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1283