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

FOG 1.20 on Ubuntu 16.04 web interface http 500 error on multiple servers

Scheduled Pinned Locked Moved Solved
FOG Problems
4
10
2.1k
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.
  • J
    jglessner
    last edited by Aug 25, 2017, 7:54 PM

    Server
    • FOG Version: 1.20
    • OS: Ubuntu 16.04
    Client
    • Service Version: 11.2
    • OS: Windows 7 and Windows 10
    Description

    I’m new to the FOG community and to Linux. I’ve built several FOG servers from scratch and moved the images, drivers, and scripts over from the FOG servers that I was replacing. My new servers were working fine at first but when I checked back on them a few weeks later the web interface was giving me a http 500 error. Attached a screenshot of the apache error log from one of them. I really appreciate your advise. Please keep in mind that I’m a complete novice and will need some hand holding through the troubleshooting process.

    Thanks!
    0_1503690767951_fog error.PNG

    W 1 Reply Last reply Aug 25, 2017, 9:28 PM Reply Quote 0
    • W
      Wayne Workman @jglessner
      last edited by Aug 25, 2017, 9:28 PM

      @jglessner Since you’re experienced at building fog boxes, I suggest wiping this box and installing the latest stable FOG version, which is currently 1.4.4.

      We don’t test or work on fog 1.2 anymore, and don’t have time to support the older versions. If you want to stick to 1.2, you’ll be mostly on your own.

      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/

      J 1 Reply Last reply Aug 26, 2017, 3:03 PM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Aug 26, 2017, 6:05 AM

        Wayne is right. Just a quick hint for you. Those errors messages are usually caused by a mysql connection issue.

        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
        • G
          george1421 Moderator
          last edited by george1421 Aug 26, 2017, 5:47 AM Aug 26, 2017, 11:47 AM

          While I also agree with the others you should update to take advantage of the enhancements like, deployment speed, nvme disks, gpt format, native win10, new hardware, and… and…

          In your case since you have ubuntu and one day fog was working perfectly and the next day it was broken you might want to read over this post: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy This is something that should impact FOG 1.2.0 as well as the current release of 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!

          1 Reply Last reply Reply Quote 0
          • J
            jglessner @Wayne Workman
            last edited by Aug 26, 2017, 3:03 PM

            @wayne-workman
            Thanks for your reply!

            It will take me awhile to move all the images, drivers, and scripts again. Do you think I could just trunk update or do I have to start over?

            W 1 Reply Last reply Aug 26, 2017, 3:13 PM Reply Quote 0
            • W
              Wayne Workman @jglessner
              last edited by Wayne Workman Aug 26, 2017, 9:14 AM Aug 26, 2017, 3:13 PM

              @jglessner You should be able to update - you’ll probably want to switch to git. General steps on git are here: https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

              The only issues you might run into is the PHP 5 vs PHP 7 stuff. Either way, if the install explodes, you’re still able to migrate everything without issue - we have steps outlined here: https://wiki.fogproject.org/wiki/index.php?title=Migrate_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/

              J 1 Reply Last reply Aug 26, 2017, 3:23 PM Reply Quote 0
              • J
                jglessner @Wayne Workman
                last edited by Aug 26, 2017, 3:23 PM

                @wayne-workman
                Thank you for the advise. I did use git to get the version that is currently installed. Think I’ll try to update first and if that doesn’t work I’ll try your lovely CentOS 7 guide. I think my old original servers are all still hanging around in some capacity so I could probably blow away the malfunctioning ubuntu 16 boxes if I’m starting over. Can I move images and drivers from ubuntu to centos with WinSCP? Do I need to make a separate partition for drivers in centos?

                W 1 Reply Last reply Aug 26, 2017, 3:26 PM Reply Quote 0
                • W
                  Wayne Workman @jglessner
                  last edited by Wayne Workman Aug 26, 2017, 9:26 AM Aug 26, 2017, 3:26 PM

                  @jglessner said in FOG 1.20 on Ubuntu 16.04 web interface http 500 error on multiple servers:

                  Can I move images and drivers from ubuntu to centos with WinSCP?

                  Yes.

                  Do I need to make a separate partition for drivers in centos?

                  If you have a lot of them (like GBs worth) and plan on having even more, I’d recommend a separate partition yes.

                  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
                  • J
                    jglessner
                    last edited by Aug 29, 2017, 6:23 PM

                    I trunk updated 3 affected servers. Web interfaces are back up on all three! I haven’t tried to image anything with them yet but I’m further ahead now. Thanks for the advise.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Aug 29, 2017, 6:49 PM

                      @jglessner So is this save to be marked as solved or do you still have that issue? Feel free to open a new thread in case you run into a new issue. Better to open a new one and not mix up things in one case.

                      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
                      • 1 / 1
                      1 / 1
                      • First post
                        5/10
                        Last post

                      152

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project