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

    Can't access FOG Management Portal after clean OS and FOG install

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    8
    27
    15.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.
    • T
      TRex
      last edited by

      Perhaps a factor:
      /images
      is mounted at /dev/sda6

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

        It has nothing to do with the /images location.

        The problem is to deal with localhost vs. 127.0.0.1

        Something switched on us apparently, as the code for handling alter user appears to have now changed in some way (even though the scripts handling this interaction hasn’t).

        I’ve added a bit of a fix hopefully in the working-1.3.5:
        https://github.com/FOGProject/fogproject/commit/9acc65bcb9fa6ea50facfc38615f7400b0afcc26#diff-c7d534e343a3d117623765442be0d709

        I don’t know if it will work, but I suspect it will make things a little bit more managable.

        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

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

          @acole said in Can't access FOG Management Portal after clean OS and FOG install:

          @Wayne-Workman

          So, If I modify /opt/fog/.fogsettings to reflect the correct MySQL password, will that take care of it?

          Changing stuff inside of /opt/fog/.fogsettings and then re-running the fog installer will make the settings you set become ‘in use’, plus the installer will re-use these settings the next time it’s run, be it this version of FOG or a future one.

          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
            TRex @Tom Elliott
            last edited by

            @Tom-Elliott
            Would installing an earlier version (after re-installing OS) work? I’m not sure how I would install a RC, don’t even know if your addition has been added to RC.

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

              @TRex No.

              I think if you’re willing to jump around, please jump to what will be released soon, vs going back and forth. I don’t jump back and forth unless I absolutely have to and only to find a specific cause of a change.

              Since I know the ALTER user stuff hasn’t changed for quite a while, the only other thing I can think is a change in Ubuntu’s layout structures. This caused a change in representation to mysql for localhost which is why you see the code change I’ve added in the earlier posting. I’ve made this change based on my own findings in an attempt to help correct any potential issues in the future regarding localhost/127.0.0.1 representation.

              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

              T 2 Replies Last reply Reply Quote 0
              • T
                TRex @Tom Elliott
                last edited by

                @Tom-Elliott
                Using the instructions at https://wiki.fogproject.org/wiki/index.php?title=Installation#Current_development_version I ran the installation. The only problem I noted during installation was a failure of backing up database. There was no prompt for ‘Press [Enter] key when database is updated/installed.’ I still get a blank page when trying to go to http://<ipaddress>/fog/management and mysql still shows the same four databases (none for FOG).

                1 Reply Last reply Reply Quote 0
                • T
                  TRex @Tom Elliott
                  last edited by

                  @Tom-Elliott
                  Just installed version 1.3.3 / SVN Revision: 6061 — installed without a hitch.

                  1 Reply Last reply Reply Quote 0
                  • C
                    callmechewy @Tom Elliott
                    last edited by

                    @Tom-Elliott
                    Running that command, I get - Status: inactive

                    I’m seeing the same issue with Ubuntu 14.04 and 16.04 in a VMware environment with 1.3.4.

                    1 Reply Last reply Reply Quote 0
                    • E
                      EricZ @Tom Elliott
                      last edited by

                      @Tom-Elliott I’m having the same problem after a new install using CentOS. I tried running sudo ufw status but it says the command isn’t found. The website wouldn’t work during or after install.

                      Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @EricZ
                        last edited by

                        @EricZ Seeing as this post if from 2017, can you provide more details and start a new thread?

                        For example:
                        What version of fog are you installing?

                        What CentOS version is installed?

                        When, and where is UFW referenced for a CentOS installation to begin with?

                        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

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

                          @EricZ said in Can't access FOG Management Portal after clean OS and FOG install:

                          I tried running sudo ufw status

                          ufw is a Ubuntu “thing”, under centos its systemctl status firewalld. To follow on what Tom said, since this thread is 2 years old, please create a new thread because your conditions are probably different. Include enough detail so we know how you have things setup.

                          In your case I would ensure that selinux is set to permissive and you issue a systemctl disable firwalld then reboot the system and rerun the FOG installer one more time.

                          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
                          • E
                            EricZ @Tom Elliott
                            last edited by

                            @Tom-Elliott Please ignore my previous post about this. I gave up on my current installation and reinstalled CentOS 8 and then tried to reinstall FOG again. I found a very useful Wiki article for CentOS7 and followed that. I posted a new issue elsewere in the forum so this particular problem no longer exists after a system re-install. I would post a new thread but I don’t know how. I don’t use forms much so I don’t know enough about them. To be honest, I wasn’t expecting folks to be so responsive on here (based on my previous experience with message boards) and I thank you for taking the time to reply.

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

                            186

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project