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

      I upgraded from SVN 3783 to the latest SVN today and the web interface ceased functioning after the update - It’s trying to get to the schema update page, but it’s blank. I then updated to the latest git release, but it had no effect on the issue. It looks like it’s an HTTP 500 error. I’ve tried multiple browsers and clearing cache, cookies, etc - no effect. I’ve included Apache logs below - I’d really appreciate any insight

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

        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
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          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 Reply Quote 0
          • A
            ArchFan @Wayne Workman
            last edited by

            @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

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

              @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 Reply Quote 0
              • A
                ArchFan
                last edited by

                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

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

                                            156

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project