Is it possible to run those scripts with docker installation, like here?
Upgrading from 3.0.8 to 3.1 fails , "Foreign key constraint is incorrectly formed - Get Help / CMS Installation - Xibo Community