First i ran the command :
wget -O /var/www/fog/lib/fog/plugin.class.php https://raw.githubusercontent.com/FOGProject/fogproject/6717f382177e714c1bd22eb11627133cfd4e0ebe/packages/web/lib/fog/plugin.class.php
(The filesize changed so I assume the update worked)
Then i deinstalled the plugin.
I can successfully reinstall the plugin but it still fails to create the tables.
I tried it a couple of times with LDAP, WOL and my custom plugin but none of them create the tables.
SERVER
FOG Version: 1.4.4
OS: Debian 9