Issues after upgrading from 1.4.3 to 1.4.4
-
Server
- FOG Version: 1.4.4
- OS: Ubuntu Server 16
Client
- Service Version:
- OS:
Description
We did a clean installation of FOG 1.4.4 on Ubuntu-16.04.2-server, everything seems working great with the exception that FOG is not recognizing any of the plugins, like “location” or “wolbroadcast”. Is there anything I am missing or a fix patch for that?
I noticed the “location” table is missing from the fog-mysql database. If I create the “location” table, would that fixed the problem?
Please advice, TIA.
Harry -
@harzuaga So I just spun up my Ubuntu 16.04 FOG VM, and I enabled FOG’s plugin system, and then successfully installed the Location plugin without issue and exactly as I would expect the process to go.
Where in this process does this go off the rails for you?
Also, review this for how to install the location plugin properly:
https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin -
Thank you for getting back. Wayne, the problem isn’t installing the plugin, the problem is when I try to add a new location, nothing happen, isn’t adding any new the location through the web GUI.
I took a quick look into fog database using MySQL Browser, and I noticed the “location” table was missing. So that is telling that for some reason Fog is not allowing the plugins to create new tables on the database.
Any thoughts?
-
Confirmed the issue and pushed up a fix.
For the time being please do:
wget -O /var/www/fog/lib/fog/plugin.class.php https://raw.githubusercontent.com/FOGProject/fogproject/6717f382177e714c1bd22eb11627133cfd4e0ebe/packages/web/lib/fog/plugin.class.php
This will fix it so when you install the plugin, the table actually gets generated.
-
@Tom-Elliott said in Issues after upgrading from 1.4.3 to 1.4.4:
This will fix it so when you install the plugin, the table actually gets generated.
I assume that the OP will need to uninstall and reinstall the plugin to get the plugin installed correctly and the required tables created (??)
-
@george1421 Correct.
-
@Tom-Elliott Thank you Tom, I will run this on Monday, and I’ll let you know if I ran into any problem.
-
Is there any news on this subject. I tryed the fix but the tables still dont get created.
-
@george1421 said in Issues after upgrading from 1.4.3 to 1.4.4:
I assume that the OP will need to uninstall and reinstall the plugin to get the plugin installed correctly and the required tables created (??) -
Yes i did that of course but no success.
-
@herbo Did you run the command given that installs the patched file first?
-
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 -
@herbo Anything in the apache error logs (might be called PHP error log or similar now)?
-
I also have this issue after a clean install, tried the script to patch the new file in but doesn’t seem to have worked anything else i can try?
-
@kagashe I had the same issue but the patch worked in my case.
Just I have uninstalled the plugin before applying the patch.
Just to be sure that you have the good file in place, can you do this ?
cd ~ wget https://raw.githubusercontent.com/FOGProject/fogproject/6717f382177e714c1bd22eb11627133cfd4e0ebe/packages/web/lib/fog/plugin.class.php diff ~/plugin.class.php /var/www/fog/lib/fog/plugin.class.php
-
@marcolefo said in Issues after upgrading from 1.4.3 to 1.4.4:
Just to be sure that you have the good file in place, can you do this ?
Sure!