[MDEV-30956] Unable to install MariaDB MSI package on Windows Server 2012 Created: 2023-03-29 Updated: 2023-04-11 Resolved: 2023-04-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Server |
| Affects Version/s: | 10.11.2, 10.5.19, 10.6.12, 10.7.8, 10.8.7, 10.9.5, 10.10.3 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Anton Serbulov | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | Windows, packaging | ||
| Environment: |
Windows Server 2012 |
||
| Attachments: |
|
| Description |
|
Starting MariaDB 10.5 the installation of MSI package on Windows Server 2012 failed with error:
|
| Comments |
| Comment by Oleg Smirnov [ 2023-03-30 ] | ||
|
The description says about 10.5 but the version in the screenshot is 10.11, is it alright? Does it mean we have that message for every version starting from 10.5? | ||
| Comment by Anton Serbulov [ 2023-03-30 ] | ||
|
I have this message for every version since 10.5. | ||
| Comment by Ralf Gebhardt [ 2023-03-31 ] | ||
|
From the 10.5.0 changelog: It would be good to understand if the reason is related to Details from the last of these commits:
The first listed commit in my comment is the following change in the installer:
| ||
| Comment by Ralf Gebhardt [ 2023-03-31 ] | ||
|
skvoboo, are you running Windows Server 2012 or Windows Server 2012 R2? | ||
| Comment by Anton Serbulov [ 2023-03-31 ] | ||
|
I'm running Windows Server 2012 | ||
| Comment by Anton Serbulov [ 2023-03-31 ] | ||
|
Please take a look at the MsiNTProductType property. Windows 8 x64
Windows Server 2012 x64
I think this will help you solve the problem. | ||
| Comment by Ralf Gebhardt [ 2023-03-31 ] | ||
|
skvoboo, do you have access to a Windows Server 2012 R2 installation? It is based on OS version 6.3, see https://learn.microsoft.com/en-us/windows/win32/sysinfo/operating-system-version. VersionNT should be 603 in that case. | ||
| Comment by Anton Serbulov [ 2023-03-31 ] | ||
|
The issue is not actual for Windows Server 2012 R2 | ||
| Comment by Vladislav Vaintroub [ 2023-04-05 ] | ||
|
MariaDB does not support Windows 2012 until October 2023. It was supported until Oct 2018 . And I am surprised that Ralph did not bring this up before. MariaDB supports Windows version in their active lifecycle, which means "mainstream", not "extended" 10.5 was released after that. To my knowledge, 10.5 or any later version was not tested by MariaDB people on that specific OS. Not by CI, neither by QA, neither by developers. It might work on this OS, or it might not. Nobody checked. So whatever the condition says, is strictly speaking, not incorrect. The Engineering policy has had this "Until the product reaches the Mainstream Support End Date.", specifically for Windows, for many-many years now ( current version https://mariadb.com/wp-content/uploads/2023/03/mariadb-engineering-policies-v4-14-1_policy_1166.pdf has it too, of course). Mainstream supported for 2012 and 2012 R2 ended on We should have blocked 2012 R2 too, but the condition for that is trickier, so it did not work | ||
| Comment by Ralf Gebhardt [ 2023-04-11 ] | ||
|
skvoboo, thanks for checking Windows Server 2012 R2 which verified that VersionNT64 is 603 for it and therefor not correctly validated by the installer. As correctly mentioned by wlad, we have to limit the support of Windows platforms to the versions with Mainstream Support due to the available QA resources. An option could be to change the installer to allow an installation on not supported Windows versions, by a checkbox to enable this. But such solutions usually do more harm than they help |