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

FOG 1.5.2 Canges in FOG-Settings will not be stored and AD-Settings are wiped out

Scheduled Pinned Locked Moved
FOG Problems
3
20
1.2k
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.
  • B
    BB-IKT @Quazz
    last edited by Jun 13, 2018, 11:46 AM

    @quazz I changed the pm.max_children entry in /etc/php/7.1/fpm/pool.d/www.conf to 50
    new PHP-Log:
    0_1528889085857_FOG-PHP71-fpm_2.txt

    I also changed permissions to 755, so now I can see the apache-log-files in the GUI!! (but I do not know how this permissions could change, nobody has ever changed them??)

    Here the mysql log:
    0_1528889995333_sql-log.txt

    and actual Apache log:
    0_1528890400238_FOG-APACHE2_2.txt

    T Q 2 Replies Last reply Jun 13, 2018, 12:18 PM Reply Quote 0
    • T
      Tom Elliott @BB-IKT
      last edited by Jun 13, 2018, 12:18 PM

      @bb-ikt logrotate changes them. On a cycle the permissions are reset to whatever it’s configured for. When this rotation occurs, it resets the file ownership and permissions.

      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

      B 1 Reply Last reply Jun 13, 2018, 1:28 PM Reply Quote 0
      • Q
        Quazz Moderator @BB-IKT
        last edited by Jun 13, 2018, 1:15 PM

        @bb-ikt It looks like some of your tables in the database have crashed.

        sudo mysqlcheck -r fog
        

        should hopefully repair them

        B 1 Reply Last reply Jun 13, 2018, 2:39 PM Reply Quote 0
        • B
          BB-IKT @Tom Elliott
          last edited by Jun 13, 2018, 1:28 PM

          @tom-elliott Hy Tom! I understand! Will the new logfile again have the “wrong” permission when logrotate starts? Where can I set with which permissions the new logfile will be created?

          But back to the main problem:

          My problem is not the wrong permissions on the logfiles, but that settings in the fog settings are not saved.
          For this I have new findings:
          If I enter something in the fog settings under “Active Directory”, these entries are saved. But if I change something in the “FOG System Settings” afterwards (for example the menu timeout from 5 to 3) the entries in “Active Directory” will be deleted! That is reproducible.

          1 Reply Last reply Reply Quote 0
          • B
            BB-IKT @Quazz
            last edited by Jun 13, 2018, 2:39 PM

            @quazz I do the “sudo mysqlcheck -r fog”
            With this reply:
            0_1528900646611_check-database.txt

            but it did not solve the problem unfortunately! 😞

            Q 1 Reply Last reply Jun 13, 2018, 2:47 PM Reply Quote 0
            • Q
              Quazz Moderator @BB-IKT
              last edited by Jun 13, 2018, 2:47 PM

              @bb-ikt Repairing them was important for many reasons not just for this specific problem.

              On the FOG WebUI there should be a second PHP-FPM log file (www-error log), does that contain anything useful?

              B 1 Reply Last reply Jun 13, 2018, 3:00 PM Reply Quote 0
              • B
                BB-IKT @Quazz
                last edited by Jun 13, 2018, 3:00 PM

                @quazz hmmm., sorry, no such log, neither in the Web-Gui, nor in the /var/log/ and subdirectories…

                T 1 Reply Last reply Jun 13, 2018, 4:01 PM Reply Quote 0
                • T
                  Tom Elliott @BB-IKT
                  last edited by Jun 13, 2018, 4:01 PM

                  @bb-ikt what os is the fog server

                  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

                  B 1 Reply Last reply Jun 13, 2018, 6:15 PM Reply Quote 0
                  • B
                    BB-IKT @Tom Elliott
                    last edited by BB-IKT Jun 13, 2018, 12:18 PM Jun 13, 2018, 6:15 PM

                    @tom-elliott Ubuntu 16.04.4 LTS and Fog Server 1.5.4

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott @BB-IKT
                      last edited by Jun 14, 2018, 6:08 AM

                      @bb-ikt the fog settings currently requires you to press the update button for the category you’re working in. Pressing enter will give a success but won’t actually update anything. It doesn’t not support multiple section updating currently either, meaning if you edit multiple categories and choose update only the section containing that update would be stored. This is inconvienent but was intended to help prevent accidentally zeroing out data as those items are relatively important.

                      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

                      B 1 Reply Last reply Jun 14, 2018, 7:02 AM Reply Quote 0
                      • B
                        BB-IKT @Tom Elliott
                        last edited by Jun 14, 2018, 7:02 AM

                        @tom-elliott Hello Tom! I know that. But you misunderstand me!
                        What I do is the following:
                        I change an entry under “Active Directory” and press “Update” in this section -> Feedback: “successfully saved”.
                        If I then go to any other menu item in the FOG (e.g., Dashboard) and back to the “FOG Settings” to “Active Directory”, the changes made will still be there!
                        If I now change another item in the settings (for example, PXE MENU TIMEOUT and change the value 5 to 3) and press Update under this section, appears again “successfully saved”.
                        But if I switch to the dashboard and go back to the FOG settings under “Achtive Directory”, the entries made there have disappeared and also the change in the section above it (in PXE MENU TIMEOUT is again stored 5 instead of 3!)!
                        Printscreens:
                        First Change in Active Directory:
                        0_1528959423881_1-first_change.jpg

                        Press update:
                        0_1528959483221_2-success.jpg

                        Going to dashboard and back to FOG-Settings changing “PXE MENU TIMEOUT from 5 to 3” and press update:
                        0_1528959526220_3-second_change.jpg

                        Going to dashboard and back to Fog-Settings, all changes are gone!!:
                        0_1528959638221_4-go_to_dashboard_and_back_to_settings.jpg

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

                        203

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project