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

    Prompted to update Database Schema when I try to access Fog Management

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    9
    2.5k
    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 Former User
      last edited by

      Hi All,

      First, I’d like to preface this by saying I’m fairly new to the Ubuntu/Fog scene.

      Yesterday, I downloaded and installed Fog on a Ubuntu 14.04 Desktop virtual machine. The install completed successfully and I could access the management page. Today however, I tried to access the management page and was met with the page that prompts you to “install/update” the database during the initial install. Obviously, clicking this button now displays errors. What do I need to do so I can access the normal management page again? I’m really looking forward to trying Fog out.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        What version of FOG did you install? Did you run an update at some point?

        Please check you error logs (/var/log/apache2/error.log and /var/log/mysql.err)…

        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
        • ?
          A Former User
          last edited by

          [quote=“Uncle Frank, post: 44468, member: 28116”]What version of FOG did you install? Did you run an update at some point?

          Please check you error logs (/var/log/apache2/error.log and /var/log/mysql.err)…[/quote]

          I installed the Fog 1.2.0 and I didn’t update it at all.

          I’m getting the error “Couldn’t fetch mysqli in /var/www/fog/lib/db/mysql.class.php” a lot in the logs.

          1 Reply Last reply Reply Quote 0
          • JunkhackerJ
            Junkhacker Developer
            last edited by

            what has happened between when it worked and now?
            did you reboot? shutdown? change any settings?

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              [quote=“Junkhacker, post: 44474, member: 21583”]what has happened between when it worked and now?[/quote]

              Just a reboot.

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

                And let me guess, Ubuntu?

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

                  I see it now, sorry.

                  Please see this page:

                  [url]https://github.com/fogproject/fogproject/issues/1[/url]

                  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
                  • ?
                    A Former User
                    last edited by

                    [quote=“Tom Elliott, post: 44477, member: 7271”]I see it now, sorry.

                    Please see this page:

                    [url]https://github.com/fogproject/fogproject/issues/1[/url][/quote]

                    This worked! You are awesome! Thank you! Will I need to add the “sleep 30 && start mysql” to the rc.local file as well?

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

                      I’d recommend it. Ubuntu starts services before network is “really” ready. This method is just a workaround, but seems to fix the issues for subsequent restarts as well.

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

                      122

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project