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

Fog Upgrade from 0.3.2 to Fog - 1.0.1 - PHP Errors - CentOS 6.5

Scheduled Pinned Locked Moved
FOG Problems
4
11
3.4k
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.
  • R
    RipAU
    last edited by Jun 3, 2014, 12:39 AM

    Hi Guys,

    Just wondering if the following are a result of me upgrading Fog version 0.32 to 1.0.1
    I am receiving the following errors in httpd errors:

    script ‘/var/www/html/fog/management/ajax/dashboard.bandwidth.php’ not found or unable to stat, referer: [url]http://10.254.14.66/fog/management/index.php[/url] - When logging into the fog webUI - As a consequence the badwidth monitor is blank and doesn’t show data.

    script ‘/var/www/html/fog/management/ajax/host.search.php’ not found or unable to stat, referer: [url]http://10.254.14.66/fog/management/index.php?node=host[/url] - When trying to search for a known Desktop the WebUI says Error in search and shows this in http error logs.

    PHP Fatal error: Call to a member function get() on a non-object in /var/www/html/fog/lib/pages/ImageManagementPage.class.php on line 119, referer: [url]http://10.0.0.1/fog/management/index.php?node=images[/url]

    • When trying to List all existing images in management webUI

    Also when selecting a host and clicking on basic task nothing seems to happen.
    I can’t get it to generate an extra log in httpd error log so I’m not sure if I’m missing something.

    I haven’t done a fresh install and tried importing my old images and hosts yet. Would that be a preferable option?

    Thanks again, Love the project.

    Cheers,

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jun 3, 2014, 1:18 AM

      Is CentOS up to date?

      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
      • R
        RipAU
        last edited by Jun 3, 2014, 1:40 AM

        Hi Tom,

        Yep, I updated it just before I did the upgrade.

        I’m not sure it was something I did as the reference files from the error log i.e. /var/www/html/fog/management/ajax/host.search.php doesn’t exist in the fog directory.

        I ran the installer from the 1.0.1 tarball

        Cheers,
        Adam

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jun 3, 2014, 2:29 AM

          It’s just odd, to me, that it’s throwing those kinds of errors for you. FOG requires the use of 5.3.0 or higher now.

          That said it shouldn’t be trying to load files like that:
          ajax/host.search.php, ajax/dashboard.bandwidth.php are no more and haven’t been.

          This leads me to think there was an issue during install, quite possibly with the installation of the web folders.

          I’m assuming you already updated your schema to that of 1.0.1, but that alone isn’t the main of the changes.

          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
          • R
            RipAU
            last edited by Jun 3, 2014, 3:21 AM

            Yep, I went through the Schema upgrade for 1.0.1 via the web interface and it all seemed to report everything was fine.
            It has the new interface and everything looks nice and fresh. Should I run through the installer again?

            Cheers,

            1 Reply Last reply Reply Quote 0
            • R
              RipAU
              last edited by Jun 3, 2014, 3:37 AM

              just removed the /var/www/html/fog/ directory and re-ran the install script which reinstalled the /var/www/html/fog/ but I still seem to have the same errors.

              As it is a virtual machine I can always roll back and start from my previous 0.32 install.
              and if it is recommended I can do a manual migration as the fog install is quite a few years old now.

              1 Reply Last reply Reply Quote 0
              • J
                Jaymes Driver Developer
                last edited by Jun 3, 2014, 12:40 PM

                [quote=“RipAU, post: 28944, member: 24459”]just removed the /var/www/html/fog/ directory and re-ran the install script which reinstalled the /var/www/html/fog/ but I still seem to have the same errors.

                As it is a virtual machine I can always roll back and start from my previous 0.32 install.
                and if it is recommended I can do a manual migration as the fog install is quite a few years old now.[/quote]

                A manual migration attempt would not hurt!

                I like to keep my old fog server working and set up a new one when I want to use the newest version (That way I have something working to fall back on!) even after I install the new system I leave the old one set up, yet turned off. I realize some people do not have this luxury, but it has saved LOTS of headache I assure you.

                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                1 Reply Last reply Reply Quote 0
                • J
                  Junkhacker Developer
                  last edited by Jun 3, 2014, 2:12 PM

                  in case you decide you need it [url]http://www.fogproject.org/wiki/index.php/Manual_Migration_Upgrade_from_0.32_to1.0[/url]

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  1 Reply Last reply Reply Quote 0
                  • R
                    RipAU
                    last edited by Jun 3, 2014, 10:26 PM

                    Thanks for that, I’ll roll back our current server with VMware and create a fresh install.
                    I couldn’t find much info on it but does the previous version of Fog Service work with 1.0.1 and haven’t had time to check yet.
                    Will do this later this afternoon I hope.

                    Cheers,

                    1 Reply Last reply Reply Quote 0
                    • J
                      Junkhacker Developer
                      last edited by Jun 4, 2014, 12:42 AM

                      the fog service software has not changed. if the ip in the the clients are set to check in with does not change, they will work seamlessly with the new server

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      1 Reply Last reply Reply Quote 0
                      • R
                        RipAU
                        last edited by Jun 4, 2014, 1:27 AM

                        Ahh thanks for that, I have another question but I’ll create a new thread for that 🙂

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

                        295

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project