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

    Updated Ubuntu and now cannot get to fog gui

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    10
    996
    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.
    • I
      IdahoTech
      last edited by

      Hello Everyone,

      I did a sudo apt-get upgrade and let ubuntu do its thing but didn’t upgrade to the latest still on the same before issuing the command.

      Now after restarting the server I try to go to the web gui and get

      Database connection unavailable

      What changed and how do I fix this so I can get back into my fog installation???

      Help? Kind of a noob when it comes to linux but can limp along with it if get a little help.

      Thanks for any help out there…

      "[I]I'd Like to know why [U]well-educated idiots[/U] keep apologizing for [U]lazy and complaining[/U] people who think the world [U]owes them a liv…

      1 Reply Last reply Reply Quote 0
      • D
        Daniel Miller
        last edited by

        Was there a security update to mariadb in all that mess? May want to have a read through Ubuntu is FOG’s enemy.

        1 Reply Last reply Reply Quote 0
        • I
          IdahoTech
          last edited by

          I do not know, there a way to view what was updated? I started it then had a call to take care of and when back it was done and rebooted it…

          "[I]I'd Like to know why [U]well-educated idiots[/U] keep apologizing for [U]lazy and complaining[/U] people who think the world [U]owes them a liv…

          D 1 Reply Last reply Reply Quote 0
          • D
            Daniel Miller @IdahoTech
            last edited by

            @IdahoTech apt logs should be in /var/log/apt/history.log and /var/log/apt/term.log

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

              @IdahoTech First check the DB actually runs: systemctl status mysql

              Post output here.

              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
              • I
                IdahoTech
                last edited by

                From what I can see it is running…not sure how to post the output here other than retyping it.

                I do not see any errors or anything of that sort. Is there something specific that I should look for in the output?

                "[I]I'd Like to know why [U]well-educated idiots[/U] keep apologizing for [U]lazy and complaining[/U] people who think the world [U]owes them a liv…

                1 Reply Last reply Reply Quote 0
                • M
                  madeyem
                  last edited by

                  Sounds like it could be the problem described here:

                  https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy?page=1

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    IdahoTech
                    last edited by

                    When I try to run mysql -u root -p and I set it up with no password it doesn’t work. Then when I try the password for the adminuser I have that is tied to root it doesn’t work either…before it did…does it reset the password or something?

                    "[I]I'd Like to know why [U]well-educated idiots[/U] keep apologizing for [U]lazy and complaining[/U] people who think the world [U]owes them a liv…

                    1 Reply Last reply Reply Quote 0
                    • I
                      IdahoTech @madeyem
                      last edited by

                      @madeyem THANK YOU !! That saved my bacon! So let me ask this to all who answered do you have a password on your sql? Seems to be a problem with ‘no password’ mysql installations…

                      Again Thank you for this…it is now working.

                      "[I]I'd Like to know why [U]well-educated idiots[/U] keep apologizing for [U]lazy and complaining[/U] people who think the world [U]owes them a liv…

                      george1421G 1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @IdahoTech
                        last edited by

                        @IdahoTech said in Updated Ubuntu and now cannot get to fog gui:

                        So let me ask this to all who answered do you have a password on your sql? Seems to be a problem with ‘no password’ mysql installations…

                        Just as an FYI, this issue is being addressed in the soon to be released FOG version 1.5.8. In 1.5.8 there will be tighter controls on the database side. The downside is that the FOG admin will need to remember the root password for mysql since it won’t be recorded anywhere in FOG. FOG shouldn’t need the root user’s password for mysql except the first time FOG is installed, it need’s root’s password to setup the FOG database. After that there is a foguser created that interacts with the FOG database even during upgrades.

                        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!

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

                        267

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project