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

    Create New Snapin Page Fails To Load

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    13
    2.0k
    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.
    • M
      Motech09
      last edited by

      This is probably simple and something I did but I set up a server with Ubuntu 16.04/Fog Trunk and all seems fine with the exception of the Create New Snapin page failing to load. Is this page linked differently than the rest? And is there a config for this that I can check?

      Only difference between this install and my previous is that I partitioned the drive and put the /HOME onto its own partition to store the images.

      Thanks in advance,

      Motech09

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

        What version of FOG are you running?

        As you are installing on 16.04, did you follow the guide?

        Normally if there’s a failure as you’re describing, there will be an accompanying apache error log. Can you provide these log files?

        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

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

          @Tom-Elliott

          Do you know off the top of your head where the apache logs are located?

          Wayne WorkmanW M 2 Replies Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Motech09
            last edited by

            @Motech09 said in Create New Snapin Page Fails To Load:

            @Tom-Elliott

            Do you know off the top of your head where the apache logs are located?

            In Ubuntu-world it’s normally:
            /var/log/apache2/error_log or something like that. Also if your web interface is functional, you can go to FOG Configuration -> Log Viewer -> Apache error logs and see them that way 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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • M
              Motech09 @Motech09
              last edited by

              @Motech09

              [Thu Aug 04 12:57:49.084428 2016] [:error] [pid 6863] [client 10.225.27.67:39841] PHP Fatal error: Uncaught Exception: Type: 8, File: /var/www/fog/lib/fog/fogmanagercontroller.class.php, Line: 80, Message: Undefined variable: whereArray, Host: 10.225.27.128, Username: istech in /var/www/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/fog/lib/fog/storagenode.class.php(80): FOGFTP->connect()\n#1 /var/www/fog/lib/fog/fogcontroller.class.php(245): StorageNode->loadSnapinfiles()\n#2 /var/www/fog/lib/fog/fogcontroller.class.php(48): FOGController->loadItem(‘snapinfiles’)\n#3 /var/www/fog/lib/fog/storagenode.class.php(41): FOGController->get(‘snapinfiles’)\n#4 /var/www/fog/lib/pages/snapinmanagementpage.class.php(110): StorageNode->get(‘snapinfiles’)\n#5 [internal function]: SnapinManagementPage->{closure}(Object(StorageNode))\n#6 /var/www/fog/lib/pages/snapinmanagementpage.class.php(112): array_map(Object(Closure), Array)\n#7 /var/www/fog/lib/fog/fogpagemanager.class.php(72): SnapinManagementPage->add()\n#8 /var/www/fog/management/index.php(23): FOGPageManager->render()\n#9 {main}\n thrown in /var/www/fog/lib/fog/fogftp.class.php on line 52, referer: http://10.225.27.115/fog/management/index.php?node=snapin

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

                @Motech09 Did you alter /opt/fog/.fogsettings with the new images path?

                Did you adjust the storage node page with the new paths?

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

                  Again, I must ask, What version of FOG are you running? We need the exact version please.

                  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

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

                    @Tom-Elliott

                    Sorry, getting side tracked at work:

                    Running Version 1.3.0-RC-4
                    SVN Revision: 5941

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

                      @Motech09 Can you try updating to RC-6? And because you’re using snapins (obviously), once installed edit the file:

                      /var/www/fog/status/getsnapinhash.php

                      Right after the <?php line add:

                      require '../commons/base.inc.php';

                      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

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Motech09 @Quazz
                        last edited by

                        @Quazz

                        Quazz,

                        That was it. I should have caught that but I forgot about settings on the storage node page.

                        Thanks!

                        Thanks guys.

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

                          @Tom-Elliott

                          Tom, I got it working now, thanks.

                          But I’m glad you brought up updating the RC. Don’t you use the below to update?

                          cd /root/fogproject
                          git pull
                          cd bin
                          ./installfog.sh

                          If this is still accurate, I’ve tried it a few times and it has failed with the below:

                          fatal: Not a git repository (or any of the parent directories): .git

                          Any clue on that?

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

                            @Motech09 Just delete that directory - be careful with that.

                            And just re-clone the repo.
                            Follow instructions in here:
                            https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                            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/

                            M 1 Reply Last reply Reply Quote 1
                            • M
                              Motech09 @Wayne Workman
                              last edited by

                              @Wayne-Workman

                              That worked.

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

                              157

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project