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

    Two "new fog client" settings?

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    6
    10
    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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      Maybe it’s just me, but I just saw two “use new fog client” thingies in the latest revision.

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

        What? Where?

        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

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

          @Tom-Elliott FOG Configuration -> FOG Settings -> FOG Service

          There were two of them. I was helping @lessndro on Ubuntu 14.04 and put the latest trunk as of a few minutes ago on… he has two of those settings in there.

          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
          • J
            Joe Schmitt Senior Developer
            last edited by

            I’m not seeing it:
            upload-ad596754-6f72-48ce-ac43-6cd11c001123

            And I’m on 3654.

            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.

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

              @Jbob Promise you he has two lol… get in touch with him and look. 🙂

              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
              • L
                lessndro
                last edited by

                Hello,
                i think i have a lot of duplicate options… this is a image i posted on the other topic
                https://forums.fogproject.org/uploads/files/1435136067281-fog1.png

                1 Reply Last reply Reply Quote 0
                • W
                  Wolfbane8653 Developer
                  last edited by Wolfbane8653

                  I HAD this exact issue. Its an issue from the mysql schema updater. I believe Tom has fixed this in a few latest update (since sourceforge is down) but those of you with the issue now will keep these duplicated entries… This is for experts only!

                  This process will be purging all your settings. I know that sucks but it beats going line by line and deleting all these duplicate rows.

                  • Create a duplicate database or backup to be easily referenced
                  mysql -u root -p
                  Create DATABASE fogbck;
                  exit;
                  
                  • dump fog database completely into fogbck (you may need to add password)
                  mysqldump -u root fog | mysql -u root fogbck
                  
                  • Double check the fogbck database to see if everything indeed copy over…

                  • And here comes the scary part…

                  mysql -u root fog
                  drop table globalSettings;
                  
                  • now reinstall fog
                  ./installfog.sh
                  
                  • schema update yada yada yada

                  • and re-tweak your settings(passwords and such). FYI your AD password is stored in fogbck so you can go and look it up there.

                  1 Reply Last reply Reply Quote 0
                  • cmlC
                    cml Moderator
                    last edited by

                    What about something like this?

                    • Showing I have duplicate values.
                    mysql> select * from globalSettings where settingKey="FOG_TFTP_PXE_KERNEL";
                    +-----------+---------------------+------------------------------------------------------------------------------------+--------------+-----------------+
                    | settingID | settingKey          | settingDesc                                                                        | settingValue | settingCategory |
                    +-----------+---------------------+------------------------------------------------------------------------------------+--------------+-----------------+
                    |         6 | FOG_TFTP_PXE_KERNEL | Location of kernel file on the PXE server, this should point to the kernel itself. | bzImage      | TFTP Server     |
                    |       147 | FOG_TFTP_PXE_KERNEL | Location of kernel file on the PXE server, this should point to the kernel itself. | bzImage      | TFTP Server     |
                    +-----------+---------------------+------------------------------------------------------------------------------------+--------------+-----------------+
                    2 rows in set (0.00 sec)
                    
                    
                    • Dropping duplicates.
                    mysql> ALTER IGNORE TABLE globalSettings ADD UNIQUE INDEX (settingKey);
                    Query OK, 133 rows affected (0.01 sec)
                    Records: 133  Duplicates: 2  Warnings: 0
                    
                    mysql> ALTER TABLE globalSettings DROP INDEX SettingKey;
                    Query OK, 131 rows affected (0.00 sec)
                    Records: 131  Duplicates: 0  Warnings: 0
                    
                    • Showing the duplicate is now gone.
                    mysql> select * from globalSettings where settingKey="FOG_TFTP_PXE_KERNEL";
                    +-----------+---------------------+------------------------------------------------------------------------------------+--------------+-----------------+
                    | settingID | settingKey          | settingDesc                                                                        | settingValue | settingCategory |
                    +-----------+---------------------+------------------------------------------------------------------------------------+--------------+-----------------+
                    |         6 | FOG_TFTP_PXE_KERNEL | Location of kernel file on the PXE server, this should point to the kernel itself. | bzImage      | TFTP Server     |
                    +-----------+---------------------+------------------------------------------------------------------------------------+--------------+-----------------+
                    1 row in set (0.00 sec)
                    
                    1 Reply Last reply Reply Quote 2
                    • W
                      Wolfbane8653 Developer
                      last edited by

                      excellent!

                      …but double check your settings afterward.

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        I’m solving this. I added the very code to remove duplicates to the schema. So it is still possible, in the future, to have this same issue. However, for the time being this should be fixed.

                        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
                        • 1 / 1
                        • First post
                          Last post

                        199

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project