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

Upgrade to Trunk results in Server error 500

Scheduled Pinned Locked Moved Solved
Bug Reports
4
19
3.3k
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.
  • M
    Mark M.
    last edited by Mar 18, 2016, 7:38 PM

    Upgraded to Trunk today using SVN as directed by instructions here:

    SVN/GiT upgrade instructions

    All looked to go well until I did a reboot and attempted to log into the management console. Upon so doing, I was presented with a Server error 500 : “The website encountered an error while retriving http://xxxxxxxx/fog/management/index.php”

    Any out-of-the-gate ideas/quick remedies?

    “Behind this mask there is more than just flesh. Beneath this mask there is an idea… and ideas are bulletproof.”

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Mar 18, 2016, 7:51 PM

      Pretty sure this isn’t a forum issue (I will move it.)

      Please re-update and try again.

      Sorry.

      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 Mar 18, 2016, 8:49 PM

        If updating and re-running the installed does not work for you then we need more information! When you load the page and get the 500 HTTP error see what you have in the apache error log /var/log/apache2/error.log (Debian/Ubuntu) or /var/log/httpd/error_log (RHEL/CentOS/Fedora)…

        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 M 2 Replies Last reply Mar 20, 2016, 5:17 PM Reply Quote 1
        • T
          Tom Elliott @Sebastian Roth
          last edited by Mar 20, 2016, 5:17 PM

          Pretty sure this is fixed, and I’m going to solve this now. I say it is solved because I am pretty sure many more would still be seeing and reporting this if it indeed were still throwing an issue.

          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
          • M
            Mark M. @Sebastian Roth
            last edited by Mar 21, 2016, 12:53 PM

            @Sebastian-Roth

            var/log/Apache2/error.log
            PHP Deprecated: Comments starting with ‘#’ are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
            [Sun Mar 20 06:42:20 2016] [notice] Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.30 with Suhosin-Patch mod_ssl/2.2.14 OpenSSL/0.9.8k configured – resuming normal operations
            [Mon Mar 21 08:43:28 2016] [error] [client 192.168.0.216] PHP Parse error: syntax error, unexpected ‘[’ in /var/www/fog/lib/fog/fogftp.class.php on line 40

            “Behind this mask there is more than just flesh. Beneath this mask there is an idea… and ideas are bulletproof.”

            1 Reply Last reply Reply Quote 0
            • Q
              Quazz Moderator
              last edited by Mar 21, 2016, 12:55 PM

              I’m going to guess the FOG account has some odd characters in its password.

              M 1 Reply Last reply Mar 21, 2016, 12:56 PM Reply Quote 0
              • M
                Mark M. @Quazz
                last edited by Mar 21, 2016, 12:56 PM

                @Quazz

                No, this install is still utilizing default login/pw.

                “Behind this mask there is more than just flesh. Beneath this mask there is an idea… and ideas are bulletproof.”

                Q 1 Reply Last reply Mar 21, 2016, 12:59 PM Reply Quote 0
                • Q
                  Quazz Moderator @Mark M.
                  last edited by Mar 21, 2016, 12:59 PM

                  @Mark-M. The WebGUI login is not the same as the fog user account on the linux FOG server. That password is randomly generated, although I don’t believe it is allowed to generate characters that allows it to break itself, but you never know.

                  Check /opt/fog/.fogsettings for your FTP password

                  M 1 Reply Last reply Mar 21, 2016, 2:07 PM Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Mar 21, 2016, 1:40 PM

                    @Mark-M. Which version of FOG are you using (see in the blue cloud on the web interface!). Please let us know the exact 4 digit number. As well which version of php is installed? dpkg -l | grep php (Debian/Ubuntu) or rpm -qa | grep php (CentOS/Fedora/RHEL)

                    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

                    M 1 Reply Last reply Mar 21, 2016, 2:11 PM Reply Quote 0
                    • M
                      Mark M. @Quazz
                      last edited by Mar 21, 2016, 2:07 PM

                      @Quazz

                      Quazz, checked out /opt/fog/.fogsettings No special characters, just alphanumeric string between quotes.

                      “Behind this mask there is more than just flesh. Beneath this mask there is an idea… and ideas are bulletproof.”

                      1 Reply Last reply Reply Quote 0
                      • M
                        Mark M. @Sebastian Roth
                        last edited by Mark M. Mar 21, 2016, 8:12 AM Mar 21, 2016, 2:11 PM

                        @Sebastian-Roth

                        PHP v 5.3.2-lubuntu4.30

                        Unable to access web-interface. But last version before Trunk install was 0.32

                        “Behind this mask there is more than just flesh. Beneath this mask there is an idea… and ideas are bulletproof.”

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tom Elliott
                          last edited by Mar 21, 2016, 2:23 PM

                          Can you try installing a newer version of PHP?

                          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

                          M 1 Reply Last reply Mar 21, 2016, 6:50 PM Reply Quote 0
                          • M
                            Mark M. @Tom Elliott
                            last edited by Mar 21, 2016, 6:50 PM

                            @Tom-Elliott

                            Okay, I’ve tried a few times now to install a higher version of PHP on Lucid 10.04 LTS, but so far, I have been unsuccessful.

                            “Behind this mask there is more than just flesh. Beneath this mask there is an idea… and ideas are bulletproof.”

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Mar 21, 2016, 7:34 PM

                              What did you try and what happened? Errors? Please let us know exactly what you did and what went wrong - we might be able to help you then.

                              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

                              M 1 Reply Last reply Mar 21, 2016, 8:33 PM Reply Quote 0
                              • M
                                Mark M. @Sebastian Roth
                                last edited by Mark M. Mar 21, 2016, 2:33 PM Mar 21, 2016, 8:33 PM

                                @Sebastian-Roth

                                Sebastian, attempted again following these instructions:
                                https://joshtronic.com/2013/12/30/upgrade-php-5-3-php-5-5-ubuntu-12-04-lts/

                                No distinguishable errors. At the end of the process, php5 -v yields this:

                                PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
                                PHP 5.3.2-1ubuntu4.30 with Suhosin-Patch (cli) (built: Apr 17 2015 15:01:29)
                                Copyright (c) 1997-2009 The PHP Group
                                Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
                                
                                

                                So, from the looks of it, update/install not successful.

                                “Behind this mask there is more than just flesh. Beneath this mask there is an idea… and ideas are bulletproof.”

                                T 1 Reply Last reply Mar 21, 2016, 8:35 PM Reply Quote 0
                                • T
                                  Tom Elliott @Mark M.
                                  last edited by Mar 21, 2016, 8:35 PM

                                  @Mark-M. But what version of FOG are you installing?

                                  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

                                  M 1 Reply Last reply Mar 21, 2016, 9:00 PM Reply Quote 0
                                  • M
                                    Mark M. @Tom Elliott
                                    last edited by Mar 21, 2016, 9:00 PM

                                    @Tom-Elliott

                                    I already have FOG 0.32 installed. I attempted to upgrade to ‘trunk’, following the instructions provided in the link found in my original post. Doing do resulted in FOG becoming ‘broken’, yielding a 500 internal server error.

                                    “Behind this mask there is more than just flesh. Beneath this mask there is an idea… and ideas are bulletproof.”

                                    T 1 Reply Last reply Mar 21, 2016, 9:02 PM Reply Quote 0
                                    • T
                                      Tom Elliott @Mark M.
                                      last edited by Mar 21, 2016, 9:02 PM

                                      @Mark-M. And you’re still seeing this server error 500 with upgrading to trunk?

                                      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 Sebastian Roth Mar 21, 2016, 3:19 PM Mar 21, 2016, 9:02 PM

                                        @Mark-M. As seen in the URL you posted this is talking about Ubuntu 12.04 (codename precise) but you seam to have 10.04 (codename lucid) installed. As you can see here there are no deb package files for licid: http://ppa.launchpad.net/ondrej/php5/ubuntu/pool/main/p/php5/

                                        Unfortunately you can’t upgrade to trunk on this (very old!) Ubuntu installation because the PHP version is too old and cannot be upgraded via official or external package sources. You can look into compiling php from source I suppose…

                                        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
                                          1/19
                                          Last post

                                        198

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project