-
Notifications
You must be signed in to change notification settings - Fork 572
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
Error running migration" error="failed to run migration from 0.2.0 to 0.3.0: failed to run transaction: failed to execute migration 0.2.0 to 0.3.0: Error 1101 (42000): BLOB, TEXT, GEOMETRY or JSON column 'config' can't have a default value" #1009
Comments
Which version of the mysql/mariadb server are you using? |
mysql version:8.0.36 |
Any update i am also facing same issue
|
Same kind of error on my side, with slightly different error message: Shiori 1.7.2 on windows 11. |
Found the issue causing this, will be fixed in 1.7.3 which I plan to release today. |
Still same issue with 1.7.3. Information I haven't mention is the database is empty when shiori is started and the error raise. |
I've run the test suite locally using MySQL 8.0.40 which executes the entire migration set per test and didn't get any errors. That was the way I reproduced it originally, and now it should work for MySQL 8.0.13+. Are you getting the same error or a new one? |
Yes exactly the same error: Shiori 1.7.3 on windows 11. |
Are you sure you are running MySQL 8.0.30? Your error log says "MariaDB". |
Hum, you're right. The documentation of my host was unclear, sorry. However, I was able to switch to a MySQL database, but it was only on version 5.5.40, which looks quite old. I don't know what is the minimum version required for Shiori ? By the way, I've tried to run Shiori, just to see, and I get the same error: |
Yeah, for MySQL you need to run 8.0.13+. Unsure about the parity with MariaDB, but I just ran the test suite with 10.5.27 (the oldest supported release) and it completed successfully. |
OK thanks, sorry again for the trouble. |
Don't worry, I'm going to update the CI to fire up every database engine on the oldest supported release so we catch this things beforehand. 👍 |
Data
Shiori version 1.7.1 (build 2315f0d)
Describe the bug / actual behavior
databases: mysql
version:8.0.36
os:ubuntu
Expected behavior
start Shiori
The text was updated successfully, but these errors were encountered: