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

    PHP Issue with FOG installer using most recent SVN (as of 4:43) on CentOS 7

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    12
    3.0k
    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.
    • S
      saistrop
      last edited by

      Hey again guys,
      I got a second staging machine set up just to test more recent SVN channels, and when I installed the newest one, I keep running into an issue where once I run the install script and go to the Database Updater page, it just navigates to a blank page. Did some digging in the error_log file in httpd, came across an issue with the MySQL database not being able to be access by root using no password. I did run the secure install and removed root access and such, do I need to re-enable that or is there a way to work around it? Thanks.

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

        Did you create another user for mysql and control of 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! 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
        • S
          saistrop
          last edited by

          I created a user ‘fog’ for the DB, do I need to give it full access? If so I’ll try that and report back once it finishes.

          1 Reply Last reply Reply Quote 0
          • S
            saistrop
            last edited by

            Well I tried giving full access to the fog user, but no dice. What would I need to remove in order to attempt another fresh install? And should I upgrade to the newest SVN if one has been released since then?

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

              @saistrop said:

              Well I tried giving full access to the fog user, but no dice. What would I need to remove in order to attempt another fresh install? And should I upgrade to the newest SVN if one has been released since then?

              can you log into MySQL from CLI? What user / password do you use? Can you guess at that until you figure it out?

              and about updating, if you’re using FOG in production, I’d recommend updating out of need, only. Unless FOG is virtualized. If it’s virtualized, then snapshot and update whenever you feel like it - you can always roll back to the snapshot.

              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
              • S
                saistrop
                last edited by

                I can log in as root with password, should I create a fog user and set it to the same password as the fog user and give that user full access to the DB? My current svn version is 4256 if that gives you any further help.

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

                  @saistrop said:

                  I can log in as root with password, should I create a fog user and set it to the same password as the fog user and give that user full access to the DB? My current svn version is 4256 if that gives you any further help.

                  Or you can just tell fog to use the root user and root password. 😕

                  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
                  • S
                    saistrop
                    last edited by

                    Where in the setup process would I tell it to use that? I didn’t see it earlier, may have overlooked it.

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

                      @saistrop look in this file:

                      /opt/fog/.fogsettings
                      

                      There is a spot there where you’d put it, then just reinstall using the installer you already have.

                      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
                      • S
                        saistrop
                        last edited by

                        Will try that and report back. Thanks guys, you’re always incredibly helpful with issues like this (even if it is likely user error)

                        1 Reply Last reply Reply Quote 0
                        • sudburrS
                          sudburr @saistrop
                          last edited by

                          @saistrop said:

                           once I run the install script and go to the Database Updater page, it just navigates to a blank page.
                          

                          This is what I’m hitting too in my thread.

                          [ Standing in between extinction in the cold and explosive radiating growth ]

                          1 Reply Last reply Reply Quote 0
                          • S
                            saistrop
                            last edited by

                            Well I ended up doing a fresh install of FOG (wiped existing FOG files and set it up again) and during setup I provided the password for MySQL this time. I have a GUI, so I’m going to continue testing and see if I hit any other issues.

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

                            201

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project