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

No Web Interface After Upgrade

Scheduled Pinned Locked Moved Solved
General
7
27
14.5k
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 Sep 9, 2015, 3:46 PM Sep 9, 2015, 9:46 PM

    @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

    W 1 Reply Last reply Sep 9, 2015, 9:53 PM Reply Quote 0
    • W
      Wayne Workman @ArchFan
      last edited by Sep 9, 2015, 9:53 PM

      @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 Sep 9, 2015, 9:57 PM Reply Quote 0
      • A
        ArchFan @Wayne Workman
        last edited by Sep 9, 2015, 9:57 PM

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

        FOG.PNG

        W 1 Reply Last reply Sep 9, 2015, 10:04 PM Reply Quote 0
        • W
          Wayne Workman @ArchFan
          last edited by Wayne Workman Sep 9, 2015, 5:00 PM Sep 9, 2015, 10:04 PM

          @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 Sep 14, 2015, 3:08 PM

            Does your mysql root password have a $ in it?

            A 1 Reply Last reply Sep 16, 2015, 12:10 AM Reply Quote 1
            • A
              ArchFan @Malos
              last edited by Sep 16, 2015, 12:10 AM

              @Malos No, it was just blank

              1 Reply Last reply Reply Quote 0
              • A
                ArchFan
                last edited by Sep 16, 2015, 12:11 AM

                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 Oct 23, 2015, 5:07 PM

                  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

                  T 1 Reply Last reply Oct 23, 2015, 7:50 PM Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Oct 23, 2015, 5:28 PM

                    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 Oct 23, 2015, 5:45 PM

                      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
                      • T
                        Tom Elliott @ArchFan
                        last edited by Oct 23, 2015, 7:50 PM

                        @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 Oct 23, 2015, 10:13 PM Reply Quote 0
                        • A
                          ArchFan @Tom Elliott
                          last edited by Oct 23, 2015, 10:13 PM

                          @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 Nov 6, 2015, 7:30 PM

                            @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
                            • T
                              Tom Elliott
                              last edited by Nov 6, 2015, 8:17 PM

                              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

                              W 1 Reply Last reply Nov 7, 2015, 5:23 AM Reply Quote 1
                              • W
                                Wayne Workman @Tom Elliott
                                last edited by Nov 7, 2015, 5:23 AM

                                @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/

                                T 1 Reply Last reply Nov 8, 2015, 7:17 PM Reply Quote 0
                                • P
                                  pmonstad
                                  last edited by Nov 8, 2015, 6:28 PM

                                  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.

                                  T 1 Reply Last reply Nov 8, 2015, 7:19 PM Reply Quote 0
                                  • T
                                    Tom Elliott @Wayne Workman
                                    last edited by Nov 8, 2015, 7:17 PM

                                    @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
                                    • T
                                      Tom Elliott @pmonstad
                                      last edited by Nov 8, 2015, 7:19 PM

                                      @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 Nov 8, 2015, 8:53 PM

                                        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

                                        T 1 Reply Last reply Nov 8, 2015, 11:46 PM Reply Quote 1
                                        • T
                                          Tom Elliott @Sebastian Roth
                                          last edited by Nov 8, 2015, 11:46 PM

                                          @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

                                          197

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project