• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.1k
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.
  • J
    Jacob Gallant
    last edited by Jan 9, 2017, 3:26 PM

    Server
    • FOG Version: 1.2 (SVN 2868)
    • OS: Linux Mint 13 (Ubuntu)
    Description

    Hi folks,

    I’m trying to do an in place upgrade from 1.2 SVN 2868 to 1.3 stable release. So far all my attempts have failed on the “Backing up database” step. It looks like the web server portion of it is not starting up properly during the upgrade. I realize this is an old OS and SVN but I’m hoping to simplify the upgrade process as much as possible. I apologize for the lack of information, I’m the furthest thing from a Linux expert. I’ve attached log files so hopefully those will help.

    Thanks for any help you can give!
    Jacob1_1483975485341_foginstall.log 0_1483975485340_fog_error_1.3.0.log

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jan 9, 2017, 4:29 PM

      @Jacob-Gallant Please post the what you have in the apache error log on your server (/var/log/apache2/error.log)…

      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 1
      • J
        Jacob Gallant
        last edited by Jan 9, 2017, 4:35 PM

        I tried to upload that originally, must have missed it.

        0_1483979722449_error.log

        W 1 Reply Last reply Jan 10, 2017, 1:05 AM Reply Quote 0
        • W
          Wayne Workman @Jacob Gallant
          last edited by Jan 10, 2017, 1:05 AM

          @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 Jan 10, 2017, 12:21 PM Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth Jan 10, 2017, 1:02 AM Jan 10, 2017, 7:02 AM

            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 Jan 10, 2017, 12:30 PM Reply Quote 0
            • J
              Jacob Gallant @Wayne Workman
              last edited by Jan 10, 2017, 12:21 PM

              @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 Jan 10, 2017, 12:51 PM Reply Quote 0
              • J
                Jacob Gallant @Sebastian Roth
                last edited by Jan 10, 2017, 12:30 PM

                @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 Jan 10, 2017, 12:51 PM

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

                  J 1 Reply Last reply Jan 10, 2017, 1:05 PM Reply Quote 0
                  • J
                    Jacob Gallant @Quazz
                    last edited by Jan 10, 2017, 1:05 PM

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

                    W 1 Reply Last reply Jan 10, 2017, 2:13 PM Reply Quote 0
                    • W
                      Wayne Workman @Jacob Gallant
                      last edited by Jan 10, 2017, 2:13 PM

                      @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 Jan 10, 2017, 2:35 PM Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Jan 10, 2017, 2:31 PM

                        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 Jan 10, 2017, 2:47 PM Reply Quote 1
                        • J
                          Jacob Gallant @Wayne Workman
                          last edited by Jan 10, 2017, 2:35 PM

                          @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 Jan 10, 2017, 2:47 PM

                            @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 Jan 11, 2017, 3:04 AM Jan 11, 2017, 8:49 AM

                              @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 Jan 11, 2017, 1:27 PM Reply Quote 0
                              • J
                                Jacob Gallant @Sebastian Roth
                                last edited by Jan 11, 2017, 1:27 PM

                                @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 Jan 11, 2017, 4:33 PM

                                  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!

                                  W 1 Reply Last reply Jan 11, 2017, 6:40 PM Reply Quote 0
                                  • W
                                    Wayne Workman @Jacob Gallant
                                    last edited by Wayne Workman Jan 11, 2017, 12:40 PM Jan 11, 2017, 6:40 PM

                                    @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 Jan 11, 2017, 6:59 PM Reply Quote 0
                                    • J
                                      Jacob Gallant @Wayne Workman
                                      last edited by Jan 11, 2017, 6:59 PM

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

                                      185

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project