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

Your database connection appears to be invalid

Scheduled Pinned Locked Moved Solved
FOG Problems
8
23
7.1k
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.
  • W
    Wayne Workman @dbakerwardog
    last edited by Wayne Workman Jan 20, 2017, 1:32 PM Jan 20, 2017, 7:31 PM

    @dbakerwardog

    cd /opt/fog
    vim .fogsettings  #or nano
    

    locate the line that begins with packages and ver and veradds and remove those lines, save, then re-run the fog installer.

    Reference:
    https://wiki.fogproject.org/wiki/index.php?title=.fogsettings
    and:
    https://wiki.fogproject.org/wiki/index.php?title=Vi

    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/

    S E 2 Replies Last reply Jan 20, 2017, 8:15 PM Reply Quote 2
    • S
      shanerlevy @Wayne Workman
      last edited by Jan 20, 2017, 8:15 PM

      @Wayne-Workman This seemed to have fixed my issue, thank you very much.

      1 Reply Last reply Reply Quote 0
      • F
        FlareImp
        last edited by Jan 20, 2017, 8:20 PM

        This also took care of my issue. Do we know what the cause was so it doesn’t happen again?

        W 1 Reply Last reply Jan 20, 2017, 8:30 PM Reply Quote 0
        • W
          Wayne Workman @FlareImp
          last edited by Jan 20, 2017, 8:30 PM

          @FlareImp Turn off automatic updates - I suspect an automatic OS update is what broke it.

          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/

          F 1 Reply Last reply Jan 20, 2017, 8:34 PM Reply Quote 0
          • E
            egregers @Wayne Workman
            last edited by Jan 20, 2017, 8:34 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • F
              FlareImp @Wayne Workman
              last edited by Jan 20, 2017, 8:34 PM

              @Wayne-Workman Automatic Updates are already disabled on my servers. I do not update the OS once fog has been installed. It tends to break things.

              W 1 Reply Last reply Jan 20, 2017, 8:47 PM Reply Quote 0
              • E
                egregers @Tom Elliott
                last edited by Jan 20, 2017, 8:36 PM

                @Tom-Elliott

                This fixed it. I can login to the dashboard now. Thanks!!!

                T 1 Reply Last reply Sep 23, 2019, 2:17 PM Reply Quote 0
                • W
                  Wayne Workman @FlareImp
                  last edited by Jan 20, 2017, 8:47 PM

                  @FlareImp said in Your database connection appears to be invalid:

                  @Wayne-Workman Automatic Updates are already disabled on my servers. I do not update the OS once fog has been installed. It tends to break things.

                  Check again. All these different versions of FOG all stopped working for 4 different people… Today. The only thing in common is Ubuntu 16.04. It’s almost surely an OS update that broke it. It really couldn’t have been anything else.

                  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 0
                  • T
                    Tom Elliott
                    last edited by Jan 20, 2017, 9:51 PM

                    https://news.fogproject.org/fog-1-3-4-rc-1/

                    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
                    • T
                      Trev-lchs @egregers
                      last edited by Sep 23, 2019, 2:17 PM

                      @egregers what fixed it?

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Sep 23, 2019, 3:05 PM

                        @Trev-lchs Please open a new topic and post all your details: FOG version, exact error message (best a picture) and so on!

                        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

                        T 1 Reply Last reply Sep 24, 2019, 11:43 AM Reply Quote 1
                        • T
                          Trev-lchs @Sebastian Roth
                          last edited by Sep 24, 2019, 11:43 AM

                          @Sebastian-Roth Hi Thanks Sebastian, i have solved this now, i made the mistake of updating the OS which broke fog, i then reran the installer which worked a magic fix and now this all works, i have now updated to the very latest version of fog

                          T 1 Reply Last reply Sep 24, 2019, 11:47 AM Reply Quote 0
                          • T
                            Trev-lchs @Trev-lchs
                            last edited by Sep 24, 2019, 11:47 AM

                            @Trev-lchs oh and sorry this was on Unbuntu 16.04 with Fog 1.3.0

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

                            241

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project