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

    Fog upgrade 1.1.1 --> 1.1.2 database error

    Scheduled Pinned Locked Moved
    FOG Problems
    15
    24
    14.9k
    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.
    • W
      Will-TGS
      last edited by

      I had the same problem as RipAU; 100+ database errors when attempting v1.1.1 > v1.1.2 upgrade.

      As John Hough found, my [I].fogsettings[/I] file (located at /opt/fog/) was as follows:
      [CODE]ipaddress=“10.0.115.43”;
      interface=“eth0”;
      routeraddress=" option routers 10.0.115.254;“;
      plainrouter=“10.0.115.254”;
      dnsaddress=” option domain-name-servers 10.0.115.4; “;
      dnsbootimage=“10.0.115.4”;
      password=“98180b”;
      osid=“2”;
      osname=“Debian”;
      dodhcp=“n”;
      bldhcp=“0”;
      installtype=“N”;
      snmysqluser=”"
      snmysqlpass=“98180b”;
      snmysqlhost=“”;
      installlang=“0”;
      donate=“0”;
      fogupdateloaded=“1”[/CODE]
      The problems were obvious, particularly [I]routeraddress, dnsaddress, snmysqluser, snmysqlpass[/I] (I never set one?) and some semicolons in the wrong place, so I amended the file to look like:
      [CODE]ipaddress=“10.0.115.43”;
      interface=“eth0”;
      routeraddress=“10.0.115.254”;
      plainrouter=“10.0.115.254”;
      dnsaddress=“10.0.115.4”;
      dnsbootimage=“10.0.115.4”;
      password=“”;
      osid=“2”;
      osname=“Debian”;
      dodhcp=“n”;
      bldhcp=“0”;
      installtype=“N”;
      snmysqluser=“root”
      snmysqlpass=“”;
      snmysqlhost=“localhost”;
      installlang=“0”;
      donate=“0”;
      fogupdateloaded=“1”[/CODE]

      I ran [I]./install.sh[/I] again and the upgrade went OK.

      As Tom Elliot said, he fixed a many installer errors, but not all. Kudos to Tom for keeping FOG development going 🙂

      Will
      Computer Systems Administrator | Townsville, Australia

      1 Reply Last reply Reply Quote 0
      • M
        Matthew Gicking
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • R
          Robbie McHugh
          last edited by

          Simple logical fix, as always thanks for the continued progress guys 🙂

          1 Reply Last reply Reply Quote 0
          • E
            Excel Group
            last edited by

            Can confirm I edited the .fogsettings and Config.class.php files and the database then upgraded perfect fine, just editing the .fogsettings still wasn’t working hence changing the Config too.

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

            169

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project