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

    upgrading from 1.5.0 to 1.5.1 fails at backup

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    6
    31
    7.8k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      I’ll see if I can come up with a hack-patch solution. With php-fpm becoming a normal use case requirement, I coded php-fpm to be able to be used. However, I forgot to take account of php5 based setups such as debian 8. (As far as I know this should only impact debian based installations which use the php5 vs, php7.x formats and where php-fpm would be under /etc/php5/fpm.

      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

      falkoF 1 Reply Last reply Reply Quote 0
      • falkoF
        falko Moderator @Tom Elliott
        last edited by

        @tom-elliott thanks

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

          @falko Mind trying:
          git checkout working; cd bin; ./installfog.sh -y

          I don’t have a debian 8 based system handy quite yet so this would be useful.

          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

          falkoF 1 Reply Last reply Reply Quote 0
          • falkoF
            falko Moderator @Tom Elliott
            last edited by

            @tom-elliott that was quick! Upgrade seemed to go through fine.

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

              @falko Don’t let my wife tell you…I’m always quick when I can 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 1
              • davido38D
                davido38
                last edited by

                ok for me ! Thanks a lot !!!

                just have this message

                You are not running the most current version of FOG!
                You are currently running version: 1.5.1

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

                  Updated working, dev-branch, and master with this change and updated the tag to point accordingly, thanks letting me know.

                  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

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

                    @davido38 Version should be correct now as well. That’s just an update on the main fogproject.org site.

                    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

                    falkoF 1 Reply Last reply Reply Quote 0
                    • falkoF
                      falko Moderator @Tom Elliott
                      last edited by

                      @tom-elliott strangley my fog clients all reported Middleware::Response ERROR: so I reset encryption on my ‘all hosts’ group. Not sure if there was something else I needed/should have done but that sorted it.

                      1 Reply Last reply Reply Quote 0
                      • H
                        Hanz @Tom Elliott
                        last edited by Hanz

                        @tom-elliott Using Fedora 26 still failing with working branch and master…was working with 1.5.0 though. I’ll also add that I can create a backup via GUI just fine and this only occurs during installation.

                        **Extra information. I tried running the installer with the -X option to continue on fail. After finishing with backup db…failed being the only error, I try going to GUI and get

                        Service Unavailable
                        The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
                        

                        Error differs slightly

                        * Setting up Apache virtual host (no SSL).....................OK
                         * Starting and checking status of web services................OK
                         * Changing permissions on apache log files....................OK
                         * Backing up database.........................................Failed!
                        [root@fog-server bin]#
                        

                        Running MariaDB 10.1.32

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

                          @Tom-Elliott concerning Hanz issue, I am unsure if it’s related or not but all of my Fedora tests failed last night: http://theworkmans.us:20080/fog_distro_check/installer_dashboard.html

                          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/

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

                            @hanz Check the status of the mysql / mariadb service. See what it says. Try to access it with the -h option. Specify both localhost and 127.0.0.1 Try both:
                            mysql -h 127.0.0.1 -D fog
                            mysql -h localhost -D fog

                            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/

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              Hanz @Wayne Workman
                              last edited by

                              @wayne-workman Both are working from server with additional -u root -p options (since I have password)

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

                                @hanz Can you figure out your PHP version please?

                                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/

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  Hanz @Wayne Workman
                                  last edited by Hanz

                                  @wayne-workman

                                  PHP 7.1.16 (cli) (built: Mar 28 2018 07:11:55) ( NTS )
                                  Copyright (c) 1997-2018 The PHP Group
                                  Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
                                      with Zend OPcache v7.1.16, Copyright (c) 1999-2018, by Zend Technologies
                                  
                                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @Hanz
                                    last edited by

                                    @hanz Any errors in the apache error log when you try to run the upgrade?

                                    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/

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      Hanz @Wayne Workman
                                      last edited by

                                      @wayne-workman

                                      none other than my 3000 hosts complaining about not being able to connect to backend at 127.0.0.1

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

                                        @Tom-Elliott that’s the same error I have in my test VMs:

                                        [Tue Apr 10 02:04:17.644043 2018] [proxy_fcgi:error] [pid 17902] [client 10.0.0.22:51312] AH01079: failed to make connection to backend: 127.0.0.1
                                        

                                        Considering that Fedora VMs on working, dev-branch, and master all failed the exact same way on the same day and that @Hanz is having the same issue, this must be a Fedora problem.

                                        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/

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

                                          @hanz You could fix this the hard way by moving to something like Debian 9, or wait for us to try to help more. I’m at work right now and can’t focus on this. FWIW, Debian historically has had the least amount of problems with FOG.

                                          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/

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

                                            @Wayne-Workman Looking through the logs I found this:

                                            Apr 10 02:17:55 Fedora27Workstation systemd[1]: Started MariaDB 10.2 database server.
                                            ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'BY ''' at line 1
                                            ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'BY ''' at line 1
                                            

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

                                            173

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project