• 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.6k
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
    last edited by Sep 9, 2015, 9:19 PM

    The forum keeps rejecting my log post, classifying it as spam. I’ve attached the logserror.log access.log

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

      Make sure Apache is running, make sure Mysql is running

      What OS are you using?

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

        @Wayne-Workman Just checked and both are running. I also restarted the machine too with no effect. It’s Debian 7 x64. I haven’t made any other changes other than the FOG update

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

          @ArchFan I think it’s a debian 7 problem. Changes were made not too long ago that enabled fog to support Debian 8. this might be a compatibility issue.

          Do you have backups of your database ? hosts?

          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:46 PM Reply Quote 0
          • A
            ArchFan
            last edited by Sep 9, 2015, 9:43 PM

            I can get to the default apache page if that helps any. Attempting to go to the <ip>/fog/management page, it tries to redirect to the schema updater which fails to load

            1 Reply Last reply Reply Quote 0
            • 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
                                          • 1
                                          • 2
                                          • 2 / 2
                                          • First post
                                            Last post

                                          256

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project