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

WebUI Fog Configuration page displays php

Scheduled Pinned Locked Moved Solved
FOG Problems
4
25
4.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.
  • R
    Reagan
    last edited by Jan 15, 2019, 9:22 PM

    Here are the outputs/pictures as requested.
    https://imgur.com/a/5ul6o6T

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Jan 15, 2019, 3:48 PM Jan 15, 2019, 9:48 PM

      @Reagan Ok, the web directory structure looks ok. I expected that to be an issue but it’s fine. Still I really wonder why you have 1.5.4 in the bottom right corner. Please run the following commands and post results here again:

      find /var/www -type f -exec grep "FOG_VERSION" {} /dev/null \;
      tail /var/www/html/fog/lib/fog/system.class.php
      

      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
      • R
        Reagan
        last edited by Reagan Jan 15, 2019, 4:18 PM Jan 15, 2019, 10:09 PM

        Here is the output for the command: https://imgur.com/a/UGa2IQb
        Interesting that it shows 1.5.4, as this is the output for git log -1 in the /root/fogproject/ folder: https://imgur.com/a/j2iH5VA

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Jan 16, 2019, 9:10 PM

          @Reagan Maybe just re-run the FOG installer hand keep your fingers crossed!?

          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

          R 1 Reply Last reply Jan 17, 2019, 8:13 PM Reply Quote 0
          • R
            Reagan @Sebastian Roth
            last edited by Jan 17, 2019, 8:13 PM

            @Sebastian-Roth After attempting to reinstall I came to the same conclusion, I attempted to install from the dev-branch as well to no avail.

            Upon using ls in /root/fogproject I noticed that there was a binaries1.5.4.zip file; so I followed your advice from this post: https://forums.fogproject.org/topic/12607/downloading-binaries-needed-failed/6, and manually downloaded the binaries1.5.5.zip file to replace the outdated one.
            Even after all of this, nothing has changed.

            Rerunning the commands you mentioned here after the latest install still displayed 1.5.4 as outputs to both commands.

            find /var/www -type f -exec grep "FOG_VERSION" {} /dev/null \;
            tail /var/www/html/fog/lib/fog/system.class.php
            

            Any help would be great,
            Thank you.

            1 Reply Last reply Reply Quote 0
            • W
              Wayne Workman
              last edited by Wayne Workman Jan 17, 2019, 9:52 PM Jan 18, 2019, 3:52 AM

              This is just me, but if my FOG server was in a VM (it is), I’d snapshot it, and then delete everything in /var/www/html and re-run the fog installer.

              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/

              R 1 Reply Last reply Jan 18, 2019, 7:37 PM Reply Quote 1
              • S
                Sebastian Roth Moderator
                last edited by Jan 18, 2019, 7:54 AM

                @Reagan How did you go about to install dev-branch? Just wondering about the commands you used.

                I would try renaming the checked out /root/fogproject directory (or even delete it, only has binaries1.5.4.zip and log files in it - all the rest is on github anyway). Then pull a fresh clean copy from github and try again.

                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

                R 1 Reply Last reply Jan 18, 2019, 7:43 PM Reply Quote 0
                • R
                  Reagan @Wayne Workman
                  last edited by Reagan Jan 18, 2019, 2:44 PM Jan 18, 2019, 7:37 PM

                  @Wayne-Workman my FOG server is also running on a VM, however, after attempting this the webpage was no longer reachable. I have since reverted to my snapshot.

                  1 Reply Last reply Reply Quote 0
                  • R
                    Reagan @Sebastian Roth
                    last edited by Jan 18, 2019, 7:43 PM

                    @Sebastian-Roth I used git checkout dev-branch to extract the branch to my system, and then git pull, after doing this I ran the installer with my git branch set to dev-branch. The installer confirmed it was version 1.5.5.3. Nonetheless, the same results showed.

                    I deleted the /root/fogproject directory, then used git clone https://github.com/FOGProject/fogproject.git to recreate the directory and then launching the installer again. My circumstances are still the same, with everything on the website being functional, except the FOG Configuration page, as well as the bottom right corner showing 1.5.4.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Jan 18, 2019, 8:30 PM

                      @Reagan As Wayne already mentioned, you might want to take a snapshot of the machine (maybe already have), then rm -rf /var/www/html ; mkdir -p /var/www/html and re-run the installer.

                      As well you might want to upload the FOG installer logs (in fogproject/bin/error_logs) so we can see what it actually does.

                      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

                      R 1 Reply Last reply Jan 18, 2019, 9:33 PM Reply Quote 0
                      • R
                        Reagan @Sebastian Roth
                        last edited by Reagan Jan 18, 2019, 3:33 PM Jan 18, 2019, 9:33 PM

                        @Sebastian-Roth Upon using the commands and running the installer, the webpage is not reachable. https://imgur.com/a/LB1spng.

                        Here is the log of the installer: https://imgur.com/a/kN59IVb.

                        I navigated to /var/www/html after running the installer again and saw that the fog directory was missing. Upon copying the fog directory from /var/www and pasting it into /var/www/html, the website was reachable, but still persisted with the same problems as before.

                        W 1 Reply Last reply Jan 18, 2019, 11:55 PM Reply Quote 0
                        • W
                          Wayne Workman @Reagan
                          last edited by Jan 18, 2019, 11:55 PM

                          @Reagan delete everything in /var/www except for html, and delete everything in /var/www/html and then re-run the installer.

                          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
                            Sebastian Roth Moderator
                            last edited by Jan 19, 2019, 6:33 AM

                            @Reagan Well now I know what’s going on. Thanks for posting the picture of the log. The installer doesn’t finish and so never gets to copy the new web interface stuff. to /var/www/html/fog. So no wonder you were always stuck with 1.5.4!!!

                            Did you notice it stopped on “Setting up fog password … Failed!”?? Please take a look at the installer error_log directory. There should be a second text file with detailed installer output. Copy and paste that (or at least the last 20 lines of it) to the forums. I can’t imagine why it would fail at that point.

                            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

                            R 1 Reply Last reply Jan 22, 2019, 3:15 PM Reply Quote 0
                            • R
                              Reagan @Sebastian Roth
                              last edited by Jan 22, 2019, 3:15 PM

                              @Sebastian-Roth Here are the last lines of /root/fogproject/bin/error_logs/fog_error_1.5.5.log:
                              https://imgur.com/a/tX5p8IN

                              R 1 Reply Last reply Jan 22, 2019, 5:08 PM Reply Quote 0
                              • R
                                Reagan @Reagan
                                last edited by Jan 22, 2019, 5:08 PM

                                @Reagan Upon consulting https://wiki.fogproject.org/wiki/index.php/.fogsettings, https://wiki.fogproject.org/wiki/index.php/Password_Central, and https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP, particularly:

                                There are a few places where all the credentials (on a standard install) should match exactly.
                                
                                Web Interface -> Storage Management -> [Your storage node] -> Management Username & Management Password
                                Web Interface -> FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD
                                The local 'fog' user's password on the Linux FOG server
                                Server file: /opt/fog/.fogsettings -> password (For recent FOG Trunk versions only. 1.2.0 does not have this setting. 1.3.0 will though.)
                                Server file: /opt/fog/.fogsettings -> username (For recent FOG Trunk versions only. 1.2.0 does not have this setting. 1.3.0 will though.)
                                

                                I believe that the password set by my predecessor did not meet the password requirements for a local user on the Linux FOG server (The password they set is 44 characters long). I also found that the password listed in the .fogsettings file did not match that in the storage management credentials section (a 1 letter typo).

                                I believe that my next course of action is to change the password and have it reflect in the 5 sections mentioned above. If this is the case, because I can not access “Web Interface -> FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD”, how would I go about changing the password for this section?

                                Thank you.

                                T 1 Reply Last reply Jan 22, 2019, 5:17 PM Reply Quote 0
                                • T
                                  Tom Elliott @Reagan
                                  last edited by Jan 22, 2019, 5:17 PM

                                  @Reagan do you have time for a remote session, like using AnyDesk?

                                  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

                                  R 1 Reply Last reply Jan 22, 2019, 5:19 PM Reply Quote 0
                                  • R
                                    Reagan @Tom Elliott
                                    last edited by Jan 22, 2019, 5:19 PM

                                    @Tom-Elliott Not currently, but I would be available at around 1pm CST.

                                    T 1 Reply Last reply Jan 22, 2019, 5:20 PM Reply Quote 0
                                    • T
                                      Tom Elliott @Reagan
                                      last edited by Jan 22, 2019, 5:20 PM

                                      @Reagan That works for me. Just hit me in the chat bubble.

                                      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
                                        Sebastian Roth Moderator
                                        last edited by Jan 22, 2019, 7:48 PM

                                        @Tom-Elliott This is an interesting one. Have you ever seen that Linux is not taking a password for being too long/complex?

                                        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 Jan 22, 2019, 8:25 PM Reply Quote 0
                                        • T
                                          Tom Elliott @Sebastian Roth
                                          last edited by Jan 22, 2019, 8:25 PM

                                          @Sebastian-Roth The problem with the password was the complexity requirements that were enabled.

                                          It would require 3 of the 4 main common things, but the first/last character of the password did not count toward the system’s configured password complexity requirements.

                                          I used one that it suggested and updated the fields where needed.

                                          This is not a common thing of course.

                                          The other part of the problem was the old ‘two versions’ of FOG installed on the machine.

                                          Essentially both /var/www/fog and /var/www/html/fog were individual installations. My guess is it was using the /var/www/html/fog version for display, but the fog configuration page was coming from the link.

                                          Moved both the /var/www/fog/ and /var/www/html/fog folders and ran the installer and all completed properly.

                                          Tested the use of FOG Configuration and updated the passwords where needed. All was working properly now.

                                          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 1
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            14/25
                                            Last post

                                          150

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project