• 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.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.
    • Tom ElliottT
      Tom Elliott @greenfog
      last edited by

      @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

        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)

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @greenfog
          last edited by

          @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 Reply Quote 0
          • G
            greenfog @Tom Elliott
            last edited by

            @Tom-Elliott

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

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @greenfog
              last edited by

              @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 Reply Quote 0
              • G
                greenfog @Tom Elliott
                last edited by Wayne Workman

                @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

                  @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

                    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 Reply Quote 0
                    • G
                      greenfog @dylan
                      last edited by

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

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @greenfog
                        last edited by Wayne Workman

                        @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

                        199

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project