If the database has changed, your best course of direction is probably to backup your data, and restore it under the most recent version of gramps unless there's aspects of the old software that you miss in the new software. You also may run into some incompatibilities when trying to run older software on a newer OS if some libraries, GTK or other things have changed enough to cause possible problems.
You mentioned that you succeeded in running Mageia5 live distro.
This would probable give you good oportunity to back your data, and then let you restore it under a recent version of gramps.
When you run mageia5, you can go to the home website here:
https://sourceforge.net/projects/gramps/files/What you'll notice is that they have moved their source code to github, so let's look there for 4.1.3 in "releases" here:
https://github.com/gramps-project/gramp ... ses?page=3See if you have success loading 4.1.3 version from here. fetch your database, then back it up so that you can move-up to 5.1.3
Looking at tagpoint:
https://github.com/gramps-project/gramps/tree/v4.1.3 file setup.py it appears it can run under python 2.7 or 3.0 or later. Mageia8 uses python3, so it might be possible, but if you look at the releases list,
https://github.com/gramps-project/gramps/releases there are usually many bugfixes and improvements that would suggest an upgrade is likely the better direction to go.