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

    No Web Interface After Upgrade

    Scheduled Pinned Locked Moved Solved
    General
    7
    27
    14.9k
    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.
    • A
      ArchFan @Wayne Workman
      last edited by ArchFan

      @Wayne-Workman Alright. I do have a backup that would probably at least get us close to the current setup. I need to virtualize it anyway, so I may just re-create the entire server from scratch and copy the files I need. Maybe if I just do a Debian 8 install, copy the .fogsettings file, postdownloadscripts, and image that’ll be a quicker job. I’ve just been doing quick images, so we have no hosts in the DB other than the VM I use to upload images

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

        @ArchFan Sounds like a game plan.

        Before you do that, can you verify that /var/www/fog exists still? or did debian 7 move to /var/www/html/ yet?

        It might be just a simple symbolic link that could fix this… maybe.

        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/

        A 1 Reply Last reply Reply Quote 0
        • A
          ArchFan @Wayne Workman
          last edited by

          @Wayne-Workman Here’s the contents of both directories

          FOG.PNG

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

            @ArchFan Yeah I think that is what happened.

            First, you have a symlink that doesn’t look to be doing anything… we can remove that…

            rm -rf /var/www/fog
            

            Then you can reinstall fog using the webroot argument like this:

            ./installfog.sh --webroot /var/www/fog
            

            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
            • M
              Malos
              last edited by

              Does your mysql root password have a $ in it?

              A 1 Reply Last reply Reply Quote 1
              • A
                ArchFan @Malos
                last edited by

                @Malos No, it was just blank

                1 Reply Last reply Reply Quote 0
                • A
                  ArchFan
                  last edited by

                  I ended up just creating a VM, moving the .fogsettings, postdownloadscripts, and driver files to the new VM and then uploading an updated image. It needed virtualized anyway so I could free up the hardware for something else. Thanks for the help guys

                  1 Reply Last reply Reply Quote 1
                  • A
                    ArchFan
                    last edited by

                    So I’ve attempted to update to the latest git version twice (different versions) since starting over with a new VM. Unfortunately each time I update, I go back to the HTTP 500 error. I reverted to a snapshot the last time, but I’d really like to apply the latest updates. Any suggestions?

                    Apache logs attached[ FogApacheLog.txt

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

                      I’m finding this particular issue a little odd seeing as there isn’t a line number 269 in FOGCore on current.

                      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
                      • A
                        ArchFan
                        last edited by

                        That indeed seems odd. I’ve tried with and without the Debian updates, neither seemed to have any effect on the 500 error either. If you have any time in the near future, I can get you connected if you want to take a look. Otherwise I’ll just revert again and settle for the older version

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

                          @ArchFan I do want to connect but we are handling iPad roll outs to our schools most of this and next week. I would actually want to look at what is keeping line 269 present. My guess is you are seeing the old issue of non linked links running files that no longer have the specified methods associated.

                          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

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            ArchFan @Tom Elliott
                            last edited by

                            @Tom-Elliott Sounds good Tom, just let me know when you’re ready and I’ll connect you. I don’t think we’re imaging anything for a while - we just deployed a few dozen replacements

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

                              @ArchFan We had some weird things happening on debian systems lately. I don’t think they are all related but maybe those threads can help you figure out whats going wrong:
                              https://forums.fogproject.org/topic/6005/windows7-restarts-at-bootup-when-it-reaches-classpnp-sys-after-being-imaged-with-fog
                              https://forums.fogproject.org/topic/5993/rev-4201-blank-page-when-trying-to-install-update-database-schema

                              I’d suggest remove /var/www/fog again, then update to current trunk and run the installer again (not just webroot install but full).

                              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
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                Now that I have a little more foresight I believe what you are running into is a linked link that is causing issues.

                                Can you please run the commands:

                                sudo rm /var/www/fog
                                sudo rm /var/www/html/fog
                                

                                And rerun the installer. I don’t know if you have any isos in the web folder of fog so of course backup any needed data first.

                                Of note, do not add a trailing slash on the file names as we want to delete the links, not the content of those links.

                                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

                                Wayne WorkmanW 1 Reply Last reply Reply Quote 1
                                • Wayne WorkmanW
                                  Wayne Workman @Tom Elliott
                                  last edited by

                                  @Tom-Elliott said:

                                  I believe what you are running into is a linked link that is causing issues.

                                  I think for some reason several people are recently suffering from this.

                                  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/

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

                                    I have the exact same trouble. Now I have no access to my FOG-system. My own fault as the svn is not stable, I know. Any idea how to fix this? I will try the mentioned stuff tomorrow.

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

                                      @Wayne-Workman I’ve added code to test and remove these links if they are present.

                                      I don’t know if it will be a solid fix for the issue but at least I think it is a step in the right direction.

                                      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
                                      • Tom ElliottT
                                        Tom Elliott @pmonstad
                                        last edited by

                                        @pmonstad whenever there is a blank screen it usually means an error for unexpected method calls or what have you. It means there is likely an error thrown in the Apache error logs so please get me some of the lines so I can better help and fix the problem.

                                        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

                                          You should find the log file in /var/log/apache2/error.log on your FOG server…

                                          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

                                          Tom ElliottT 1 Reply Last reply Reply Quote 1
                                          • Tom ElliottT
                                            Tom Elliott @Sebastian Roth
                                            last edited by

                                            @Sebastian-Roth I believe I found the issue. It wasn’t, per say, a problem, but it was/is.

                                            I’ve done some rewriting to hopefully thwart this problem now. Hopefully I’ve made the DB stuff MUCH more stable as I don’t know what/why there were continuous problems. What I did find out is that INSERT/UPDATE/DELETE statements do NOT return rows of data, this (I hope/believe) was the problem of 0 ID’s being entered into the DB, as well as invalid hosts being added.

                                            I am hoping that things will be better, for all.

                                            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
                                            • First post
                                              Last post

                                            183

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project