Updating from 3.4 to 3.5 always executes the dry-run mode ans doesn't actually update the databases. Up to 3.4 the updates worked perfectly.
I also have this problem when trying to update from 3.11.0
to 3.12.0
.
Can you try setting the option --yes
? Otherwise what is the output at the end of the command?
I fixed it myself in the meantime by executing the dry-run sql query directly.
Thanks for letting us know. I'll close this issue for now as we can't reproduce it. If anyone experiences this issue please comment and we'll reopen the issue and try to get more details such as https://github.com/matomo-org/matomo/issues/12909#issuecomment-547697647
I'm also always getting dry runs without running --dry-run
. Is it possible multi_server_environment = 1
is the cause of this?
I'm also not being prompted in the UI to do database upgrade when I should be.
Actually looks like dry run is the default: https://github.com/matomo-org/matomo/blob/0d979018ce23e8e0187dd435cc8de99fcf3c3585/CHANGELOG.md#breaking-changes-18