corestack_ mariadb_ version_ change
Change the MariaDB version.
When to use it
Move a row's MariaDB one version forward, now or tonight. Versions only go forward, one step at a time.
Ask for it
Using the Corefinity MCP server, call corestack_mariadb_version_change with site_id 4211, to 11.4. (Change the MariaDB version.) Tell me what it returned.Inputs
applystring
now (the default), or tonight in the row's maintenance window. window: the row's next maintenance window (tonight is kept as its alias). Defaults to now.
nowwindowtonightsite_idintegerRequired
The row: the site or one of its environments. At least 1.
tostringRequired
The next MariaDB version, e.g. 11.4. Up to 8 characters.
Example call
{
"name": "corestack_mariadb_version_change",
"arguments": {
"site_id": 4211,
"to": "11.4"
}
}If it is refused
| Reason | What to do |
|---|---|
invalid_arguments | to is not the next MariaDB version this row is offered: versions move forward, one step at a time. A Shopware or Shopware 5 site runs MariaDB 11.4 and 11.8 only, so 12.3 is refused for it ("Shopware 5 runs MariaDB 11.4 and 11.8 only"). |
feature_off | apply: "tonight" needs the maintenance window queue, which is switched off; leave apply out to make the change now. |
change_pending | A change is already queued for this row's maintenance window; apply or cancel it first (corestack_pending_changes_list). |
busy | Another change is running on this row; wait for it (corestack_site_operation_get) and call again. |
not_available | This row's MariaDB version is not managed here; stop. |
temporarily_unavailable | The site's live status could not be read, or the site is not running normally; try again in a minute. |
removed | The row has been removed. |
managed_elsewhere | Another control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done. |
image_not_offered | The MariaDB version this change needs is not one Corefinity offers right now (withdrawn, or not published yet). Nothing was changed; send it again once Corefinity offers that version. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?