• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Aug 2, 2016, 9:29 PM

    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
    • T
      Tom Elliott
      last edited by Tom Elliott Aug 2, 2016, 3:36 PM Aug 2, 2016, 9:34 PM

      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 Aug 4, 2016, 5:38 PM Reply Quote 0
      • M
        Motech09 @Tom Elliott
        last edited by Aug 4, 2016, 5:38 PM

        @Tom-Elliott

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

        W M 2 Replies Last reply Aug 5, 2016, 2:22 AM Reply Quote 0
        • W
          Wayne Workman @Motech09
          last edited by Aug 5, 2016, 2:22 AM

          @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 Aug 5, 2016, 1:44 PM

            @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 Aug 5, 2016, 2:01 PM Reply Quote 0
            • Q
              Quazz Moderator @Motech09
              last edited by Aug 5, 2016, 2:01 PM

              @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 Aug 5, 2016, 4:15 PM Reply Quote 1
              • T
                Tom Elliott
                last edited by Aug 5, 2016, 3:54 PM

                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 Aug 5, 2016, 4:05 PM Reply Quote 0
                • M
                  Motech09 @Tom Elliott
                  last edited by Aug 5, 2016, 4:05 PM

                  @Tom-Elliott

                  Sorry, getting side tracked at work:

                  Running Version 1.3.0-RC-4
                  SVN Revision: 5941

                  T 1 Reply Last reply Aug 5, 2016, 4:06 PM Reply Quote 0
                  • T
                    Tom Elliott @Motech09
                    last edited by Aug 5, 2016, 4:06 PM

                    @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 Aug 5, 2016, 4:19 PM Reply Quote 0
                    • M
                      Motech09 @Quazz
                      last edited by Aug 5, 2016, 4:15 PM

                      @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 Aug 5, 2016, 4:19 PM

                        @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?

                        W 1 Reply Last reply Aug 7, 2016, 3:33 AM Reply Quote 0
                        • W
                          Wayne Workman @Motech09
                          last edited by Aug 7, 2016, 3:33 AM

                          @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 Aug 10, 2016, 5:52 PM Reply Quote 1
                          • M
                            Motech09 @Wayne Workman
                            last edited by Aug 10, 2016, 5:52 PM

                            @Wayne-Workman

                            That worked.

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

                            151

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project