• 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

      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

                                122

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project