• 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.4k
    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.
    • U
      URfog
      last edited by

      Me too! I’ve decided to revert to 5674, fortunately it works!

      Debian 8.4
      Trunk 5674

      SERVER

      OS: Debian 9.6
      Fog version: FOG 1.5.5

      1 Reply Last reply Reply Quote 0
      • S
        sgennadi
        last edited by

        SVN build 5676 Work problem begin with build 5677

        1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator
          last edited by

          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

            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 Reply Quote 1
            • Tom ElliottT
              Tom Elliott
              last edited by

              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 Reply Quote 0
              • U
                URfog @Quazz
                last edited by

                @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

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

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @Quazz
                    last edited by

                    @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

                      @Quazz Thanks, this solved the problem completely.

                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @billgatesuncle
                        last edited by

                        @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

                          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

                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @plegrand
                            last edited by

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

                            212

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.4k

                            Posts
                            Copyright © 2012-2024 FOG Project