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

Fog Installation failed. (Backing up database.. Failed!)

Scheduled Pinned Locked Moved Solved
FOG Problems
5
6
2.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.
  • S
    Satya
    last edited by Mar 15, 2016, 9:51 PM

    Using: OS - Ubuntu 14.04.4 & Fog Truck (GIT)

    Tried changing no_proxy=“localhost” in bashrc file. And changing in $ipaddress to localhost in installfog.sh file,
    at wget link similar to "http://localhost/$webroot… ". Still facing same issue.
    Error Log:
    http://x.x.x.x/fog//management/export.php?node=schemaupdater
    Connecting to x.x.x.x : x… connected.
    HTTP request sent, awaiting response… 500 Internal Server Error
    ERROR 500: Internal Server Error.

    Is this the issue with proxy server ? Please help !
    Thanks

    W 1 Reply Last reply Mar 15, 2016, 11:48 PM Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Mar 15, 2016, 3:55 PM Mar 15, 2016, 9:54 PM

      Can you please post a screen shot of the exact error. There may be important messages on either side of the error that may help finding the root of the issue.

      If your fog server has direct internet access then the no_proxy setting does not matter here.

      I do remember a current thread about a similar issue when the backup was failing. But i think that was an upgrade not a fresh install.

      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!

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Mar 15, 2016, 10:09 PM

        From what I can read between the lines this is not a proxy settings issue! Please see if you have any messages in /var/log/apache2/error.log and let us know.

        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
        • W
          Wayne Workman @Satya
          last edited by Mar 15, 2016, 11:48 PM

          @Satya said:

          And changing in $ipaddress to localhost in installfog.sh file,

          I think that would cause issues. Have you tried just running the installer as it is without modification?

          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
          • T
            Tom Elliott
            last edited by Mar 16, 2016, 12:47 AM

            Please retry updating and running.

            I’m making many switches to use closures. Closures, in php land, are not allowed to be serialized (which is how the sql/sqldump, and reports are done. Build the class, serialize the object, send the data out.)

            I didn’t know this, but I have double checked things and all appears to be working well. The class handling the dealing out of files really didn’t/doesn’t need to extend a pre existing class as it really only does one (okay maybe two) thing at a time. There was exactly one method that FOGBase passed to the report maker.

            The fix, remove the extend and adjust that one extend needed item to still operate properly.

            TL;DR;
            I didn’t know closures couldn’t be serialized. This caused anything using a serialized form of the relevant object to fail out. It should now be fixed.

            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 1
            • S
              Satya
              last edited by Mar 17, 2016, 2:44 PM

              Hey All, the issue was resolved. Its the problem with php.ini -> time zone not set. After going through same problem & solution in other thread - tried the same. Set the time zone and removed leading ;

              This successfully completed the schema update and installation.

              Thanks for your great help guys!

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

              153

              Online

              12.1k

              Users

              17.3k

              Topics

              155.4k

              Posts
              Copyright © 2012-2024 FOG Project