Updating to 3.2.0 from 3.1.2: An exception occurred in the driver: could not find driver #1712
-
How Shlink is set up
SummaryI was running version 3.1.0 so I wanted to upgrade to the latest. I decided to follow a sequential upgrade path as I saw in the docs this is suggested instead of skipping version. I'm trying to run the update with php 8.1 installed:
I'm received with the following output:
These are the modules I have installed:
I would appreciate any insight on how to troubleshoot 😄 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hmm. That is weird 🤔 Based on the stack trace, Shlink is trying to use SQLite instead of MariaDB, and failing because you probably don't have the driver. The question is why is it not using the proper driver. Can you share your generated configuration here? It's the Please, share both the one before trying to migrate, and after trying to migrate. Make sure you redact credentials and sensitive info. |
Beta Was this translation helpful? Give feedback.
-
I know what it is. It's a bug that was introduced in Shlink 3.2.0, but it's fixed on 3.2.1. Skip 3.2.0 and go directly to that version https://github.com/shlinkio/shlink/blob/develop/CHANGELOG.md#321---2022-08-08 After that, try to always pick the most recent patch on every release, as they include fixes that could have been potentially introduced in those feature releases. So after 3.2.1 go to 3.3.2, then 3.4.0 and finally 3.5.2 |
Beta Was this translation helpful? Give feedback.
I know what it is. It's a bug that was introduced in Shlink 3.2.0, but it's fixed on 3.2.1. Skip 3.2.0 and go directly to that version https://github.com/shlinkio/shlink/blob/develop/CHANGELOG.md#321---2022-08-08
After that, try to always pick the most recent patch on every release, as they include fixes that could have been potentially introduced in those feature releases.
So after 3.2.1 go to 3.3.2, then 3.4.0 and finally 3.5.2