-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
mysql syntax error on upgrade to 3.12 #15100
Comments
@JugurthaK How exactly are you trying to do the update? Did you click the auto update button in UI or did you execute a |
I'm using a deployment system, so I downloaded the new archive, unzip it, creating my own config.ini.php then running a script (called install.php) to install everything. |
what exactly is the install.php script doing? maybe you could paste it's content. |
https://gist.github.com/JugurthaK/2cfe4b74c26e6880ae515ae807e0890d There is the install.php script. As you can see on line 273, its already doing a . |
But besides copying the files only a |
So, you advice me to only do a ./console core:update, or should I download the new archive before ? |
you need to download the archive before and replace all files with the contents of it. The only file you need to keep from the old install is your config.ini.php. Afterwards you can run a |
The |
See https://matomo.org/docs/update for more information on how to update Matomo |
Hello guys,
Tried to upgrade Matomo from 3.11 to 3.12,
Seems there is something wrong with the defined charset on some plugins, here is the error code I have when I run install.php :
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'DEFAULT CHARSET=utf8' at line 4
Its happening during the installation of LanguagesManager, but even if I disable it, its still happening with Dashboard then with ScheduledReports etc.. They're some plugins who aren't involved. But these (LanguagesManager, Dashboard, ScheduledReports, PrivacyManager, SegmentEditor) returning the same error.
Btw I dont know if the
'
charcode is generated by my logs console, or is interpreted by mysql..I've dumped the database, and on table
piwik_plugin_setting
theDEFAULT CHARSET=utf8
do not contain any'
char..Its my first issue on Github, sorry if there is not enough informations, I'm available if you need more.
And I'm french, sorry for my bad english.
Best regards,
The text was updated successfully, but these errors were encountered: