Skip to content

Broken dependency on libseccomp in updated MariaDB container and Grafana container #400

@ARodenboog

Description

@ARodenboog

First of all, thanks for working on IOTstack, it has served me well for many months, mainly for retrieving and storing data. I had an issue, but managed to solve it. However, it might be coming to other users as well, so I documented my issue and solution below. I hope this is a good place to post this.

I am running a stack with (among others) MariaDB, Portainer and Grafana, and decided to update the images for these using the update all containers command from the menu (I mainly wanted a more secure Portainer and more Grafana plugin options + some bugs that have been fixed). This broke my MariaDB (the mysql-daemon wouldn't start due to datetime problems , internal container date stays static at 1970-1-1, but mysql-daemon gives an error because it says it has to parse dates above 2038 (which it can't because of 32bit issues). Also the in the Grafana container, the internal date is messed up since the update, says its 1900-1-1. The date on my RPi is just fine, as is the date in NodeRed.

The Docker logs indicate that there might be an issue with libseccomp on the Pi itself and directs me to a faq. First I tried to find some older images for MariaDB manually to see if they would work without updating (because my previous version worked just fine), but after trying 3 different ones (including the original) without success I focused on updating libseccomp. Just running apt update does not get me the version required. After some digging I decided to add the updated libseccomp following this guide, which is similar to option 2 of the faq. This worked for me, although it is not ideal to move ahead of the update chain for the RPi. After the update, all the internal dates are correct, the mariadb-instance can start up and everything is as it was, just with newer versions.

Hope this helps some people, and if this becomes a problem for more people I might look into the internal workings of the IOTstack, and write a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions