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

After update to latest SVN 5678 Database Schema Installer / Updater Error

Scheduled Pinned Locked Moved Solved
Bug Reports
6
13
4.2k
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.
  • S
    sgennadi
    last edited by Jun 15, 2016, 7:19 AM

    SVN build 5676 Work problem begin with build 5677

    1 Reply Last reply Reply Quote 0
    • Q
      Quazz Moderator
      last edited by Jun 15, 2016, 8:08 AM

      Same here. After restarting the mysql service, I know get part of the upgrade scheme page, but no button for upgrade or anything. Refreshing the page twice leads to fog/management being forbidden.

      1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator
        last edited by Quazz Jun 15, 2016, 2:46 AM Jun 15, 2016, 8:45 AM

        Problem is that in /var/www/html/fog/lib/fog/config.class.php host and user are not defined.

        Fill in localhost for host and root for user, save the file and it should work as expected.

        So change

         private static function db_settings() {
                define('DATABASE_TYPE','mysql'); // mysql or oracle
                define('DATABASE_HOST','');
                define('DATABASE_NAME','fog');
                define('DATABASE_USERNAME','');
                define('DATABASE_PASSWORD',"");
        

        to

         private static function db_settings() {
                define('DATABASE_TYPE','mysql'); // mysql or oracle
                define('DATABASE_HOST','localhost');
                define('DATABASE_NAME','fog');
                define('DATABASE_USERNAME','root');
                define('DATABASE_PASSWORD',"");
        

        Fill in password if you have one defined for your mysql of course.

        U B 2 Replies Last reply Jun 15, 2016, 9:22 AM Reply Quote 1
        • T
          Tom Elliott
          last edited by Jun 15, 2016, 9:20 AM

          Does this ONLY occur on updates or fresh install?

          I cannot seem to replicate.

          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

          Q 1 Reply Last reply Jun 15, 2016, 10:04 AM Reply Quote 0
          • U
            URfog @Quazz
            last edited by Jun 15, 2016, 9:22 AM

            @Quazz it’s CORRECT.

            Thank you so much.

            SERVER

            OS: Debian 9.6
            Fog version: FOG 1.5.5

            1 Reply Last reply Reply Quote 0
            • Q
              Quazz Moderator @Tom Elliott
              last edited by Jun 15, 2016, 10:04 AM

              @Tom-Elliott I think the issue can be traced to /opt/fog/.fogsettings , so upgrades only I’d say.

              snmysqluser and snmysqlhost being empty values there didn’t use to cause issues, but I’m guessing they do now?

              T 1 Reply Last reply Jun 15, 2016, 10:05 AM Reply Quote 0
              • T
                Tom Elliott @Quazz
                last edited by Jun 15, 2016, 10:05 AM

                @Quazz Possibly, yes. I’m trying to rework the way these things get specified. Currently in 4 million lines of code lol.

                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 2
                • B
                  billgatesuncle @Quazz
                  last edited by Jun 15, 2016, 1:01 PM

                  @Quazz Thanks, this solved the problem completely.

                  T 1 Reply Last reply Jun 16, 2016, 1:22 AM Reply Quote 0
                  • T
                    Tom Elliott @billgatesuncle
                    last edited by Jun 16, 2016, 1:22 AM

                    @billgatesuncle besides the workaround this should be fixed in latest.

                    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
                    • P
                      plegrand
                      last edited by plegrand Jun 16, 2016, 1:03 AM Jun 16, 2016, 6:54 AM

                      Hello
                      same problem here upgraded from 7981 to 8120
                      0_1466060042303_Sans titre.png

                      I made the change into /var/www/html/fog/lib/fog/config.class.php without success
                      what i have to do ?

                      I dont know if it’s the same problem but just after “installfog.sh” i’ve got this error message :
                      cat: /home/svn/trunk/bin/goodInterface.txt: Aucun fichier ou dossier de ce type

                      thanks for your help

                      T 1 Reply Last reply Jun 16, 2016, 10:20 AM Reply Quote 0
                      • T
                        Tom Elliott @plegrand
                        last edited by Jun 16, 2016, 10:20 AM

                        @plegrand Posted to the other posting. Should be good in latest.

                        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
                        • 1 / 1
                        1 / 1
                        • First post
                          12/13
                          Last post

                        227

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project