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

    Upgrade from 1.2 (SVN 2868) to 1.3

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    18
    3.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.
    • Wayne WorkmanW
      Wayne Workman @Jacob Gallant
      last edited by

      @Jacob-Gallant It can’t connect to the DB for some reason. Some troubleshooting is in order.

      Check if mysql is running: service mariadb status or maybe service mysqld status Not sure with mint 13. If one doesn’t work try the other.

      Try to manually get into MySQL. There’s some variations on how to do this. Try these in order:
      mysql -D fog
      mysql -D fog -h localhost
      mysql -D fog -h 127.0.0.1
      mysql -u root -D fog

      If it’s password protected, try these:
      mysql -D fog -u root -h localhost -p
      mysql -D fog -u root -h 127.0.0.1 -p

      Just see if you can manually get in somehow. And once you figure out what to use with that, we can plug those values into /opt/fog/.fogsettings and re-run the installer, then you’ll be in business hopefully.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      J 1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        At the end of the apache error log I see:

        PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/mysql.so' - /usr/lib/php5/20090626/mysql.so: undefined symbol: mysqlnd_connect in Unknown on line 0
        PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/mysqli.so' - /usr/lib/php5/20090626/mysqli.so: undefined symbol: mysqlnd_connect in Unknown on line 0
        PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/pdo_mysql.so' - /usr/lib/php5/20090626/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
        

        Just a warning but well this does not sound good.

        Please run the following command and let us know what you get: grep -R "extension" /etc/php5/*

        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

        J 1 Reply Last reply Reply Quote 0
        • J
          Jacob Gallant @Wayne Workman
          last edited by

          @Wayne-Workman Hi Wayne,

          Neither of those commands worked. However service mysql status returned that the mysql service was in a “stop/waiting” state. I tried to start it manually but it failed. Obviously the rest of those commands won’t work in the current state… 😕

          Q 1 Reply Last reply Reply Quote 0
          • J
            Jacob Gallant @Sebastian Roth
            last edited by

            @Sebastian-Roth Hi Sebastien,

            Here are the results of that command, hopefully this helps! 0_1484051401816_grep.txt

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

              @Jacob-Gallant Can you try to manually stop the mysql service and see if that works?

              J 1 Reply Last reply Reply Quote 0
              • J
                Jacob Gallant @Quazz
                last edited by

                @Quazz Just getting an “Unknown instance” when I try to stop the service.

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @Jacob Gallant
                  last edited by

                  @Jacob-Gallant Why were you trying to update originally? Were you having problems with 1.2.0 ?

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  J 1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    What about this? grep -R "extension_dir" /etc/php5/*

                    To me this seems like something was messed up while upgrading packages (see in the logs you posted first).

                    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

                    J 1 Reply Last reply Reply Quote 1
                    • J
                      Jacob Gallant @Wayne Workman
                      last edited by

                      @Wayne-Workman No problems with 1.2.0, I upgraded for 2 reasons: Windows 10 support and we had a hardware model that we couldn’t register with the kernel that had been installed with that version of FOG. I tried to manually update the kernel but I was getting “Failed to initialize disk” errors with the kernel I compiled. Rather than fight with that I thought I might as well perform the upgrade of the whole system.

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jacob Gallant @Sebastian Roth
                        last edited by

                        @Sebastian-Roth Here is the results of that command: 0_1484059650717_grep2.txt

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Sebastian Roth

                          @Jacob-Gallant I am a bit puzzled from what you posted last. Where does this “mysterious” path come from? Maybe try one more grep: grep -R "20090626" /etc/php5/*

                          Otherwise you could check if there are still some packages in an unconfigured or otherwise weird state: apt-get -f install

                          Are you able to access the FOG webinterface and login?

                          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

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Jacob Gallant @Sebastian Roth
                            last edited by

                            @Sebastian-Roth Hi Sebastien, there were no results for that grep. apt-get -f install ran through but didn’t seem to fix anything. I can still access the FOG web interface and login.

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jacob Gallant
                              last edited by

                              Hi folks, I’m not going to waste anymore of your time. I’ve decided to build a new FOG environment and import the database into it. Lots of extra work for me but probably good to go fresh, newer OSs, etc. anyway. Thanks all for your help!

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @Jacob Gallant
                                last edited by Wayne Workman

                                @Jacob-Gallant That’s the most sure path. If you need help with that, create a new thread on it and ping me in it.

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jacob Gallant @Wayne Workman
                                  last edited by

                                  @Wayne-Workman Will do. It’s been going relatively smoothly so far though so hopefully I won’t have to bug anyone. Thanks again!

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

                                  143

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project