• 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.3k
    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

      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

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @harzuaga
        last edited by Wayne Workman

        @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

          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
          • Tom ElliottT
            Tom Elliott
            last edited by

            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

            george1421G H 2 Replies Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Tom Elliott
              last edited by george1421

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

              Tom ElliottT 2 Replies Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @george1421
                last edited by

                @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

                  @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

                    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
                    • Tom ElliottT
                      Tom Elliott @george1421
                      last edited by Tom Elliott

                      @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

                        Yes i did that of course but no success.

                        Q 1 Reply Last reply Reply Quote 0
                        • Q
                          Quazz Moderator @Herbo
                          last edited by Quazz

                          @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

                            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 Reply Quote 0
                            • Q
                              Quazz Moderator @Herbo
                              last edited by Quazz

                              @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

                                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 Reply Quote 0
                                • M
                                  marcolefo @Kagashe
                                  last edited by

                                  @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

                                    @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

                                    214

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project