After read that forum thread: https://moodle.org/mod/forum/discuss.php?d=351931#p1431781
I got the solution:
1 ) Edit mysql/mariadb config fie
nano /etc/mysql/my.cnf
2) Add:
[mysqld] innodb_strict_mode = OFF
3) restart mysql/mariadb
systemctl restart mariadb
Thanks!