• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Issues after upgrading from 1.4.3 to 1.4.4

Scheduled Pinned Locked Moved Solved
Bug Reports
9
16
4.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    harzuaga
    last edited by Jun 29, 2017, 2:47 PM

    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

    W 1 Reply Last reply Jul 1, 2017, 4:43 AM Reply Quote 0
    • W
      Wayne Workman @harzuaga
      last edited by Wayne Workman Jun 30, 2017, 10:46 PM Jul 1, 2017, 4:43 AM

      @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

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • H
        harzuaga
        last edited by Jul 1, 2017, 6:47 AM

        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?

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jul 1, 2017, 5:23 PM

          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.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          G H 2 Replies Last reply Jul 1, 2017, 8:28 PM Reply Quote 0
          • G
            george1421 Moderator @Tom Elliott
            last edited by george1421 Jul 1, 2017, 2:29 PM Jul 1, 2017, 8:28 PM

            @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 (??)

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            T 2 Replies Last reply Jul 1, 2017, 9:50 PM Reply Quote 0
            • T
              Tom Elliott @george1421
              last edited by Jul 1, 2017, 9:50 PM

              @george1421 Correct.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • H
                harzuaga @Tom Elliott
                last edited by Jul 2, 2017, 12:35 AM

                @Tom-Elliott Thank you Tom, I will run this on Monday, and I’ll let you know if I ran into any problem.

                1 Reply Last reply Reply Quote 0
                • H
                  Herbo
                  last edited by Sep 20, 2017, 3:26 PM

                  Is there any news on this subject. I tryed the fix but the tables still dont get created.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott @george1421
                    last edited by Tom Elliott Sep 20, 2017, 10:49 AM Sep 20, 2017, 4:49 PM

                    @Herbo

                    @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 (??)

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • H
                      Herbo
                      last edited by Sep 21, 2017, 9:23 AM

                      Yes i did that of course but no success.

                      Q 1 Reply Last reply Sep 21, 2017, 3:23 PM Reply Quote 0
                      • Q
                        Quazz Moderator @Herbo
                        last edited by Quazz Sep 21, 2017, 9:23 AM Sep 21, 2017, 3:23 PM

                        @herbo Did you run the command given that installs the patched file first?

                        1 Reply Last reply Reply Quote 0
                        • H
                          Herbo
                          last edited by Herbo Sep 21, 2017, 9:54 AM Sep 21, 2017, 3:54 PM

                          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

                          Q 1 Reply Last reply Sep 21, 2017, 3:58 PM Reply Quote 0
                          • Q
                            Quazz Moderator @Herbo
                            last edited by Quazz Sep 21, 2017, 9:59 AM Sep 21, 2017, 3:58 PM

                            @herbo Anything in the apache error logs (might be called PHP error log or similar now)?

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kagashe
                              last edited by Jan 25, 2018, 10:05 AM

                              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?

                              M 1 Reply Last reply Feb 14, 2018, 1:36 PM Reply Quote 0
                              • M
                                marcolefo @Kagashe
                                last edited by Feb 14, 2018, 1:36 PM

                                @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
                                

                                FOG : 1.5.10.1655
                                OS : Debian GNU/Linux 12

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Feb 14, 2018, 2:26 PM

                                  @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!

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post

                                  155

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.3k

                                  Posts
                                  Copyright © 2012-2024 FOG Project