-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
MariaDB update to 10.11 or higher #125
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
throw me same error, loading an old tag from 2 weeks works |
Same error. With the tag 10.6.13 it works fine |
We are aware of an issue when updating the container image where MariaDB version is updated from Until the announcement is live, you can preview the announcement here https://github.com/linuxserver/cstate/blob/2505217ea6d06b00a1b413d44108c47f0a6cccee/content/issues/2023-05-28-mariadb.md I will update this issue with the permanent link once the announcement is live. |
I get the same error and followed exactly the instructions in the announcement. But after I update the container back to the current tag (mariadb:latest), the error is back. The next command (mariadb-upgrade -u root -p) does not work anymore. I get the error message: If I stay with the tag mariadb:10.6.13, then everything works fine. Does anyone else have any further information for me on how to update MariaDB? |
Its all explained in the @nemchik posted above your comment. Though it's not unlikely some users might have edge cases and further steps might be required. Just not something that has come up in our testing. |
As I said, I followed exactly the procedure listed in the link above. I think I should stay with the current working version for now and refrain from any updates. |
I have followed the instructions and it works perfectly. Thanks |
I upgraded 2 dockers and one went fine following the instructions, the other still gave me the errors even if I tried using the instructions several times. I had to manually stop mariadb in the docker (s6-svc -d /run/services/..) after running the mariadb-check commands and then stopping and upgrading the docker, then it started without errors and I could run the mariadb-upgrade. |
For anyone having issues even after following the instructions in the announcement, please post the following:
Note, the announcement does not explicitly state the need to run the upgrade command on 10.6.13, but the container logs may state that it should be run (and if so, you should!). What we're looking for is any errors in any of the above that could help find a solution to the edge cases. We may not be able to provide a universal fix or set of instructions, but if we are able to help individual users get to a working state we'll do what we can. |
I was getting crazy nothing worked. - However once I understood exactly what were written above this fixed the problem. Why I do not know but it works. I ran the 4 commands on the previous image version, without any problems or errors. Thanks to @Tomte-Fan above. |
Well, I ran all 4 commands and got no error only warnings about what is not supported by each command. The main warning I saw was about the storage and which command didn't support it. Anyway, I ran the s6-svc -d /run/service/svc-mariadb and while there is no real way to stop a container in k3s other than to delete and recreate it so I just redeploy the container with the latest tag. It failed to start and it spit out an error log number. I switched back to 10.6.13-r0-ls97 and it started to run like it did before. The error log had close to the same repeating error as I stated originally. Now what I mean by that is it does not say anything like "mariadbd: Can't lock aria control file '/config/databases/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds". Now this is not a big deal to me since Friendica is more than happy using 10.6.13 and running the 4 MariaDB-check commands has, in fact, helped Friendica to run a little better. I do thank all that gave ideas to fix this problem. |
Thanks, this worked for me, too. |
Is there an existing issue for this?
Current Behavior
After a power outage linuxserver/mariadb had stopped running when my k3s cluster came back online.
Expected Behavior
For linuxserver/mariadb after the my k3s cluster came back online.
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: