• 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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      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

        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

        Tom ElliottT M 2 Replies Last reply Reply Quote 1
        • Tom ElliottT
          Tom Elliott @Sebastian Roth
          last edited by

          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

            @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

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

              M 1 Reply Last reply Reply Quote 0
              • M
                Mark M. @Quazz
                last edited by

                @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 Reply Quote 0
                • Q
                  Quazz Moderator @Mark M.
                  last edited by

                  @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 Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @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 Reply Quote 0
                    • M
                      Mark M. @Quazz
                      last edited by

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

                        @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
                        • Tom ElliottT
                          Tom Elliott
                          last edited by

                          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 Reply Quote 0
                          • M
                            Mark M. @Tom Elliott
                            last edited by

                            @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

                              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 Reply Quote 0
                              • M
                                Mark M. @Sebastian Roth
                                last edited by Mark M.

                                @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.”

                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @Mark M.
                                  last edited by

                                  @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 Reply Quote 0
                                  • M
                                    Mark M. @Tom Elliott
                                    last edited by

                                    @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.”

                                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @Mark M.
                                      last edited by

                                      @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

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

                                        210

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project