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

Server 500 error after upgrading to 0.33b

Scheduled Pinned Locked Moved Solved
Bug Reports
3
25
10.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.
  • T
    Tom Elliott
    last edited by Sep 26, 2013, 10:53 AM

    Use the svn for the update. The fog_0.33b.tar.bz2 is valid and I’ll fix that, I haven’t since I’ve had SVN access and can commit my changes live.

    It’ll be up in the next hour or so.

    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
    • I
      Iain Munro
      last edited by Sep 26, 2013, 11:54 AM

      Thanks Tom,

      The site now redirects to [url]http://192.168.3.13/fog/commons/schemaupdater/index.php?redir=1[/url]

      this then gives the following:-

      Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/html/fog/lib/db/MySQL.class.php on line 115 Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/html/fog/lib/db/MySQL.class.php on line 191 Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/html/fog/lib/db/MySQL.class.php on line 115 Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/html/fog/lib/db/MySQL.class.php on line 191 Unable to connect to Database

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Sep 26, 2013, 12:10 PM

        do you have a fog database already?

        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
        • T
          Tom Elliott
          last edited by Sep 26, 2013, 12:10 PM

          I have not made any changes to the MySQL.class.php files.

          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
          • I
            Iain Munro
            last edited by Sep 26, 2013, 12:11 PM

            yes - it’s upgrading an existing installation,

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Sep 26, 2013, 12:18 PM

              I don’t know how well that method will work as there’s quite a few changes to the new setup. You might try making a backup and start with a new database.

              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
              • I
                Iain Munro
                last edited by Sep 26, 2013, 12:19 PM

                How will that work for all my existing hosts and images?

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Sep 26, 2013, 12:38 PM

                  That’s still an issue in question. I have to figure out the variants between the db tables. So a simple export/import won’t work at the moment. I haven’t had time to try that out yet.

                  Major difference, if you’re not afraid of db inserts, is for hosts, there is no hostOS on fog 0.33 but there is on 0.32.

                  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
                  • I
                    Iain Munro
                    last edited by Sep 26, 2013, 1:10 PM

                    OK, I’ve gone for it and dropped the database, then re-installed.

                    Next issue is that half of the menu options appear chines/taiwanese

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Sep 26, 2013, 1:25 PM

                      You have to choose the language options. Make sure en_US is chosen when logging in.

                      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
                      • I
                        Iain Munro
                        last edited by Sep 26, 2013, 2:05 PM

                        Doh! Schoolboy error.

                        Thanks so much for your help. I think I’ve a long way to go to get 0.33b up ad running to the same standard as 0.32 but if it means I can back up 64bit editions of Windows, it’s worth the graft.

                        1 Reply Last reply Reply Quote 0
                        • V
                          viper02
                          last edited by Apr 14, 2014, 10:12 PM

                          Hey i’m getting the same error after updating from .032 to .033b. ([url]http://192.168.5.5/fog/commons/schemaupdater/index.php?redir=1[/url]) Unable to connect to Database. What are the steps that you guys followed to get everything back up and running

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Apr 14, 2014, 10:15 PM

                            When you installed your system did you setup a password for MySQL?

                            Have you Commented out the my.cnf bind-address line?

                            Does your mysql root user have a wildcard entry to enable connections from other 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! 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
                            • V
                              viper02
                              last edited by Apr 14, 2014, 10:20 PM

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • V
                                viper02
                                last edited by Apr 14, 2014, 10:22 PM

                                actually i’m not sure… kind of new to it all to be truthful. i dont believe i set up a password for sql and where do i find the my.cnf bind-address line? i dont believe it does.

                                1 Reply Last reply Reply Quote 0
                                • V
                                  viper02
                                  last edited by Apr 14, 2014, 10:28 PM

                                  ok it appears that i actually did set up an password for my SQL. I edited the config file and everything is now working as far as login

                                  1 Reply Last reply Reply Quote 0
                                  • 1
                                  • 2
                                  • 1 / 2
                                  • First post
                                    Last post

                                  231

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.3k

                                  Posts
                                  Copyright © 2012-2024 FOG Project