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

    Update Database Schema 1.1.2 - 1.2.0

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    5
    1.7k
    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.
    • L
      Luke Bedding
      last edited by

      This was my first FOG upgrade and I ran into a couple of issues. I did not setup the system initially so I do not know the MYSQL password. Is there any way I can retrieve or reset it? How do I update the database schema?

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

        the password for mysql is stored in [FONT=arial][COLOR=#262626]/var/www/fog/lib/fog/Config.class.php[/COLOR][/FONT]
        [FONT=arial][COLOR=#262626]if it is not correct, the mysql root password can be changed from the linux command line, after which you will need to update Config.class.php to match[/COLOR][/FONT]

        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
        • L
          Luke Bedding
          last edited by

          [quote=“Junkhacker, post: 36317, member: 21583”]the password for mysql is stored in [FONT=arial][COLOR=#262626]/var/www/fog/lib/fog/Config.class.php[/COLOR][/FONT]
          [FONT=arial][COLOR=#262626]if it is not correct, the mysql root password can be changed from the linux command line, after which you will need to update Config.class.php to match[/COLOR][/FONT][/quote]

          I have verified that the mySQL password is correct. How to I update the database schema?

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

            Have you actually made sure the mysql service is running?

            [code]ps -ef|grep mysql[/code]

            Does your root system have enough space?

            [code]df -h /[/code]

            Are you sure the mysql server is actually running? Meaning, have you ensured you’re not getting ibdata errors and such?

            If you have any questions about that try the steps here:
            [url]https://github.com/mastacontrola/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
            • L
              Luke Bedding
              last edited by

              Hello Tom,

              I have resolved the issue. I has performed the upgrade too quickly and I missed the prompt to upgrade the database at [B][url]http://10.0.0.3/fog/management[/url] [/B]When I went to the link, there was the magic button to upgrade the database.

              I apologise for wasting your time for my mistake. Thank you for your help.

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

              154

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project