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

    Rev 6799 can't add or modify snapin, blank page

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    22
    6.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.
    • J
      jayphizzle
      last edited by

      I have a similar problem. Clicking at “Create New Snapin” brings a sever error 500.
      Apache log show the following error:

      [Fri Mar 18 14:53:59.605058 2016] [:error] [pid 17646] [client 10.xx.xx.xx:52947] PHP Fatal error:  Call to a member function chdir() on null in /var/www/html/fog/lib/fog/fogbase.class.php on line 73, referer: http://10.xx.xx.xx/fog/management/index.php?node=snapin
      

      I did not created any snapins so i can not test if “List All Snapins” brings a error 500 too.
      (Without snapins “List All Snapins” is working so far)

      Running latest Version 6811.
      What i noticed since a few updates: When i follow the instructions during the update i get no possibility to update the db schema.
      I only get the normal log screen. Is this correct?

       * You still need to install/update your database schema.
       * This can be done by opening a web browser and going to:
      
         http://10.xx.xx.xx/fog/management
      
       * Press [Enter] key when database is updated/installed.
      
      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @jayphizzle
        last edited by

        @jayphizzle It will only show a database update screen if there’s a database update to be performed. The warning you see there is just to ensure that you check the browser. You can just add the -y argument to the installer and it will do everything without prompting you (including updating db if there is a db update.)

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

          Please update again and let me know if things are any better. I moved the ftpfilesonly function to the snapin management page. When it’s called it should have it’s proper variables set then.

          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

          T 1 Reply Last reply Reply Quote 0
          • T
            theWizard @Tom Elliott
            last edited by

            @Tom-Elliott
            Confirmed i can now access the snapins to edit, thank you very much 😄

            J 1 Reply Last reply Reply Quote 0
            • J
              jayphizzle @theWizard
              last edited by

              @theWizard said:

              @Tom-Elliott
              Confirmed i can now access the snapins to edit, thank you very much 😄

              👍 It is working for me too!

              Thx @tom-elliot for another quick fix!

              C 1 Reply Last reply Reply Quote 0
              • C
                Claude Girard @jayphizzle
                last edited by

                Yes it’s ok for me too.

                But I don’t know if you wanted that, now when I create or modify a snapin, I have no more choice box, for choosing what file present on server I want to use.
                I can only upload.
                so I can’t create a snapin from another one without downloading file, then reuploading it

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

                  @Claude-Girard Does the file actually exist on the node master that it’s uploaded too?

                  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

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    Claude Girard @Tom Elliott
                    last edited by

                    @Tom-Elliott Yes. It exist.
                    On this screen capture is what I can see.
                    And when I create or update the snapin, if I download the file on my computer, and choose it for re-upload, on my server group owner for this file become “fog”, before it was “www-data”

                    0_1458317759282_Capture d’écran_2016-03-18_17-07-45.png

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

                      I may have made a bit of regression into this issue. I only state this because I’m trying to maintain the list and make the functions that handle it work properly.

                      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

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

                        Fairly sure this is still fixed, and with the added benefit of properly getting the snapins from all nodes within.

                        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

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          Claude Girard @Tom Elliott
                          last edited by

                          @Tom-Elliott said:

                          Fairly sure this is still fixed, and with the added benefit of properly getting the snapins from all nodes within.

                          Sorry but Rev 6885, again blank page in create snapin and edit snapin.

                          Apache error log (same error in crating or in editing snapin):

                          [Mon Mar 21 08:33:21.445380 2016] [:error] [pid 2066] [client 172.20.40.1:39732] PHP Fatal error: Call to a member function chdir() on null in /var/www/html/fog/lib/fog/fogbase.class.php on line 74, referer: http://crim-fog.pu-pm.univ-fcomte.fr/fog/management/index.php?node=snapin&sub=list

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

                            @Claude-Girard Should be fixed in latest.

                            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

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              Claude Girard @Tom Elliott
                              last edited by

                              @Tom-Elliott
                              Yes solved
                              Thank you

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

                              189

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.3k

                              Posts
                              Copyright © 2012-2024 FOG Project