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

Fog 1.2 under Ubuntu 14.04 LTS install/upgrade DB schema error

Scheduled Pinned Locked Moved
General
4
11
5.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.
  • T
    Tom Elliott @greenfog
    last edited by Jan 26, 2016, 12:33 AM

    @greenfog https://github.com/FOGProject/fogproject/issues/1

    Also make sure the password for mysql is correct.

    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
    • G
      greenfog
      last edited by Jan 29, 2016, 12:18 AM

      thanks for the tip. MySQL password was left blank when I installed it initially and haven’t changed it so I’m not sure how to make the password for mysql correct or synchronized. When I tried to restart Mysql service, I got a failure in service start. I was able to backup and copy the ib_logfiles but when I tried to restart mysql, (unknown job/instance)

      T 1 Reply Last reply Jan 29, 2016, 12:44 AM Reply Quote 0
      • T
        Tom Elliott @greenfog
        last edited by Jan 29, 2016, 12:44 AM

        @greenfog how did you restart MySQL? I notice this on Ubuntu occasionally and the fix for that is to use:

        service mysql stop
        service mysql start
        

        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

        G 1 Reply Last reply Jan 29, 2016, 2:58 AM Reply Quote 0
        • G
          greenfog @Tom Elliott
          last edited by Jan 29, 2016, 2:58 AM

          @Tom-Elliott

          I used the same command as what you typed in and it kept on saying failed after a few seconds

          T 1 Reply Last reply Jan 29, 2016, 2:59 AM Reply Quote 0
          • T
            Tom Elliott @greenfog
            last edited by Jan 29, 2016, 2:59 AM

            @greenfog is the file system full? df -h

            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

            G 2 Replies Last reply Jan 29, 2016, 3:07 AM Reply Quote 0
            • G
              greenfog @Tom Elliott
              last edited by Wayne Workman Jan 29, 2016, 6:52 PM Jan 29, 2016, 3:07 AM

              @Tom-Elliott

              still some space left

              Filesystem			                 Size	Used	Avail	Use%	Mounted on
              /dev/mapper/ubuntu--vg-root	98G	81G	13G	87%	/
              none				4.0K	0	4.0k	0%	/sys/fs/cgroup		
              udev				486M	4.0K	486M	1%	/dev
              tmpfs				100M	1.2M	99M	2%	/run
              none				5.0M	0	5.0M	0%	/run/lock
              none				497M	152K	497M	1%	/run/shm
              none				100M	44K	100M	1%	/run/user
              /dev/sda1			236M	38M	186M	17%	/boot
              

              Mod edited to use code box.

              1 Reply Last reply Reply Quote 0
              • G
                greenfog @Tom Elliott
                last edited by Jan 29, 2016, 3:09 AM

                @Tom-Elliott

                would it be possible to simply re-install MySQL without affecting the images I was able to successfully upload the first time?

                1 Reply Last reply Reply Quote 0
                • D
                  dylan
                  last edited by Feb 16, 2016, 2:26 AM

                  Think I had a similar issue with this the other day on my first restart.

                  I followed this thread - https://community.spiceworks.com/topic/564935-fog-database-error - the 3rd post by the user “aboushard” fixed the issue I was having.

                  Assuming you’ve probably found a way around this by now/given up on it though, but the above worked for me if you’re still having issues with that.

                  G 1 Reply Last reply Feb 16, 2016, 10:52 PM Reply Quote 0
                  • G
                    greenfog @dylan
                    last edited by Feb 16, 2016, 10:52 PM

                    You are a lifesaver and this just made my day. Thank you very much for pointing me to that forum. 🙂
                    @dylan

                    W 1 Reply Last reply Feb 17, 2016, 1:03 AM Reply Quote 0
                    • W
                      Wayne Workman @greenfog
                      last edited by Wayne Workman Feb 16, 2016, 7:03 PM Feb 17, 2016, 1:03 AM

                      @greenfog @dylan This has been in our Wiki for quite a while: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL

                      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 1
                      • 1 / 1
                      • First post
                        Last post

                      150

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project