Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module check during setup fails with PDO missing if only pdo-sqlite is installed #633

Closed
alexlehm opened this issue Apr 7, 2023 · 3 comments
Labels
Bug Something isn't working Won't fix This will not be worked on

Comments

@alexlehm
Copy link

alexlehm commented Apr 7, 2023

Bug Description

I am currently trying to get started with linkace with sqlite (for a first test, i know it is not recommended) and I set up the php modules with apt, however the modules check at the start of setup says that PDO is missing

I have installed pdo-sqlite, so it is definitely available, however it is not detected. After installing mysql and pgsql the check lists PDO as available.

maybe you could change the check to mention which PDO modules are missing, it found it a bit confusing at first since I thought I had a install issue

How to reproduce

start with a "plain" ubuntu with php8.1 installed (i am using ubuntu 22)

unpack linkace and create the preliminary requirements for the permissions and the modules including php-pdo-sqlite

run host/linkace/public/

the page lists PDO as missing

Expected behavior

I would expect it to say PDO available but postgres missing (or mysql) and that should be a soft error

Logs

No response

Screenshots

image

LinkAce version

linkace-v1.11.4

Setup Method

PHP

Operating System

Linux (Ubuntu, CentOS,...)

Client details

Client is Firefox, OS is Ubuntu 22.04.2 LTS

@alexlehm alexlehm added the Bug Something isn't working label Apr 7, 2023
@alexlehm
Copy link
Author

alexlehm commented Apr 7, 2023

After trying a few things, I got it working, but I still think a more detailed error would be better (like PDO-mysql is missing)

@Kovah
Copy link
Owner

Kovah commented Apr 10, 2023

The thing is that if you are using anything else other than MySQL, the web setup is not suitable at the moment. I would like to leave it like that until the web setup is really compatible with all databases.

@alexlehm
Copy link
Author

alexlehm commented Apr 10, 2023

Fine, that makes sense

@Kovah Kovah added the Won't fix This will not be worked on label Nov 1, 2023
@Kovah Kovah closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Won't fix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants