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

1.1.2 Update/Install Failed!

Scheduled Pinned Locked Moved
FOG Problems
2
3
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.
  • A
    Alain Fournier
    last edited by Jul 2, 2014, 6:22 PM

    i upgraded to the latest version but accidentally pressed enter when asked to access the management portal to update the database schema. so when i try to do this after, i got that error which i did not fully cipy because it’S way too long.

    so how to fix that ?

    [SIZE=6][B][FONT=Ubuntu][CENTER][SIZE=32px][COLOR=#666666]Database Schema Installer / Updater[/COLOR][/SIZE][/CENTER][/FONT][/B][/SIZE]

    [FONT=Ubuntu][COLOR=#555555]Update/Install Failed!
    [SIZE=5][B][CENTER][SIZE=18px][COLOR=#4c68a0]The following errors occured[/COLOR][/SIZE][/CENTER][/B][/SIZE]

    [B]Update ID:[/B] 1 - 0
    [B]Database Error:[/B]

    [B]Database SQL:[/B]
    CREATE DATABASE fog

    [B]Update ID:[/B] 1 - 1
    [B]Database Error:[/B]

    [B]Database SQL:[/B]
    CREATE TABLE fog.groupMembers (
    gmID int(11) NOT NULL auto_increment,
    gmHostID int(11) NOT NULL,
    gmGroupID int(11) NOT NULL,
    PRIMARY KEY (gmID),
    KEY new_index (gmHostID),
    KEY new_index1 (gmGroupID)
    ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC

    [B]Update ID:[/B] 1 - 2
    [B]Database Error:[/B]

    [B]Database SQL:[/B]
    CREATE TABLE fog.groups (
    groupID int(11) NOT NULL auto_increment,
    groupName varchar(50) NOT NULL,
    groupDesc longtext NOT NULL,
    groupDateTime datetime NOT NULL,
    groupCreateBy varchar(50) NOT NULL,
    groupBuilding int(11) NOT NULL,
    PRIMARY KEY (groupID),
    KEY new_index (groupName)
    ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1

    [B]Update ID:[/B] 1 - 3
    [B]Database Error:[/B]

    [B]Database SQL:[/B]
    CREATE TABLE fog.history (
    hID int(11) NOT NULL auto_increment,
    hText longtext NOT NULL,
    hUser varchar(200) NOT NULL,
    hTime datetime NOT NULL,
    hIP varchar(50) NOT NULL,
    PRIMARY KEY (hID)
    ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1

    [B]Update ID:[/B] 1 - 4
    [B]Database Error:[/B]

    [B]Database SQL:[/B]
    CREATE TABLE fog.hosts (
    hostID int(11) NOT NULL auto_increment,
    hostName varchar(16) NOT NULL,
    hostDesc longtext NOT NULL,
    hostIP varchar(25) NOT NULL,
    hostImage int(11) NOT NULL,
    hostBuilding int(11) NOT NULL,
    hostCreateDate datetime NOT NULL,
    hostCreateBy varchar(50) NOT NULL,
    hostMAC varchar(20) NOT NULL,
    hostOS int(10) unsigned NOT NULL,
    PRIMARY KEY (hostID),
    KEY new_index (hostName),
    KEY new_index1 (hostIP),
    KEY new_index2 (hostMAC),
    KEY new_index3 (hostOS)
    ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1

    [B]Update ID:[/B] 1 - 5
    [B]Database Error:[/B]

    [B]Database SQL:[/B]
    CREATE TABLE fog.images (
    imageID int(11) NOT NULL auto_increment,
    imageName varchar(40) NOT NULL,
    imageDesc longtext NOT NULL,
    imagePath longtext NOT NULL,
    imageDateTime datetime NOT NULL,
    imageCreateBy varchar(50) NOT NULL,
    imageBuilding int(11) NOT NULL,
    imageSize varchar(200) NOT NULL,
    PRIMARY KEY (imageID),
    KEY new_index (imageName),
    KEY new_index1 (imageBuilding)
    ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1

    [/COLOR][/FONT]

    1 Reply Last reply Reply Quote 0
    • R
      RLane
      last edited by Jul 2, 2014, 7:45 PM

      Refer to the following link:

      [url]http://fogproject.org/forum/threads/fog-upgrade-1-1-1-1-1-2-database-error.10956/#post-31804[/url]

      1 Reply Last reply Reply Quote 0
      • A
        Alain Fournier
        last edited by Jul 3, 2014, 12:51 PM

        Worked! You guys rocks! thanks !!

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

        187

        Online

        12.1k

        Users

        17.3k

        Topics

        155.4k

        Posts
        Copyright © 2012-2024 FOG Project