• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
8.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.
  • W
    Wayne Workman @Hanz
    last edited by Apr 10, 2018, 2:34 PM

    @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 Apr 10, 2018, 2:37 PM Reply Quote 0
    • H
      Hanz @Wayne Workman
      last edited by Apr 10, 2018, 2:37 PM

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

      W 1 Reply Last reply Apr 10, 2018, 2:40 PM Reply Quote 0
      • W
        Wayne Workman @Hanz
        last edited by Apr 10, 2018, 2:40 PM

        @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 Apr 10, 2018, 2:41 PM Reply Quote 0
        • H
          Hanz @Wayne Workman
          last edited by Hanz Apr 10, 2018, 8:41 AM Apr 10, 2018, 2:41 PM

          @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
          
          W 1 Reply Last reply Apr 10, 2018, 2:43 PM Reply Quote 0
          • W
            Wayne Workman @Hanz
            last edited by Apr 10, 2018, 2:43 PM

            @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 Apr 10, 2018, 2:51 PM Reply Quote 0
            • H
              Hanz @Wayne Workman
              last edited by Apr 10, 2018, 2:51 PM

              @wayne-workman

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

              W 1 Reply Last reply Apr 10, 2018, 3:05 PM Reply Quote 0
              • W
                Wayne Workman
                last edited by Wayne Workman Apr 10, 2018, 8:58 AM Apr 10, 2018, 2:56 PM

                @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
                • W
                  Wayne Workman @Hanz
                  last edited by Apr 10, 2018, 3:05 PM

                  @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 Apr 10, 2018, 3:13 PM

                    @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
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth Apr 10, 2018, 9:29 AM Apr 10, 2018, 3:22 PM

                      I was on the wrong track I suppose. Wayne is right, the PHP fpm seems to be the issue: FCGI: attempt to connect to 127.0.0.1:9000

                      @Wayne-Workman Can you check /var/ log/php-fpm/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

                      H 1 Reply Last reply Apr 10, 2018, 3:33 PM Reply Quote 1
                      • H
                        Hanz @Sebastian Roth
                        last edited by Hanz Apr 10, 2018, 10:03 AM Apr 10, 2018, 3:33 PM

                        @sebastian-roth Indeed this is from installer error log file

                        Apr 10 11:25:31 fog-server systemd[1]: Starting The PHP FastCGI Process Manager$
                        Apr 10 11:25:31 fog-server systemd[1]: Started The PHP FastCGI Process Manager.
                        --2018-04-10 11:25:33--  http://x.x.x.x//fog//maintenance/backup_db.php
                        Connecting to x.x.x.x:80... connected.
                        HTTP request sent, awaiting response... 503 Service Unavailable
                        2018-04-10 11:25:33 ERROR 503: Service Unavailable.
                        

                        php-fpm/error.log

                        [10-Apr-2018 11:43:21] NOTICE: Terminating ...
                        [10-Apr-2018 11:43:21] NOTICE: exiting, bye-bye!
                        [10-Apr-2018 11:43:50] NOTICE: fpm is running, pid 20233
                        [10-Apr-2018 11:43:50] NOTICE: ready to handle connections
                        [10-Apr-2018 11:43:50] NOTICE: systemd monitor interval set to 10000ms
                        
                        1 Reply Last reply Reply Quote 0
                        • T
                          Tom Elliott
                          last edited by Apr 10, 2018, 6:10 PM

                          What’s in /var/log/php-fpm/www-error.log, or very similar?

                          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 Apr 10, 2018, 6:14 PM Reply Quote 0
                          • H
                            Hanz @Tom Elliott
                            last edited by Apr 10, 2018, 6:14 PM

                            @tom-elliott

                            /var/log/php-fpm/error.log

                            [10-Apr-2018 11:43:21] NOTICE: Terminating ...
                            [10-Apr-2018 11:43:21] NOTICE: exiting, bye-bye!
                            [10-Apr-2018 11:43:50] NOTICE: fpm is running, pid 20233
                            [10-Apr-2018 11:43:50] NOTICE: ready to handle connections
                            [10-Apr-2018 11:43:50] NOTICE: systemd monitor interval set to 10000ms
                            
                            T 1 Reply Last reply Apr 10, 2018, 6:14 PM Reply Quote 0
                            • T
                              Tom Elliott @Hanz
                              last edited by Apr 10, 2018, 6:14 PM

                              @hanz no it will start with www

                              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 Apr 10, 2018, 6:14 PM Reply Quote 0
                              • H
                                Hanz @Tom Elliott
                                last edited by Hanz Apr 10, 2018, 12:15 PM Apr 10, 2018, 6:14 PM

                                @tom-elliott none in that directory…

                                [bcs@fog-server php-fpm]$ ls
                                error.log           error.log-20180325  error.log-20180408
                                error.log-20180318  error.log-20180401
                                
                                W 1 Reply Last reply Apr 10, 2018, 6:26 PM Reply Quote 0
                                • W
                                  Wayne Workman @Hanz
                                  last edited by Apr 10, 2018, 6:26 PM

                                  @hanz Run this, it’ll find all files begining with www
                                  find / -type f -name www*

                                  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
                                  • T
                                    Tom Elliott
                                    last edited by Apr 10, 2018, 7:00 PM

                                    This is now fixed. Please just run git pull and you will be able to install. I don’t know if this will work for arch based installs quite yet though.

                                    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

                                    W 1 Reply Last reply Apr 10, 2018, 7:50 PM Reply Quote 0
                                    • W
                                      Wayne Workman @Tom Elliott
                                      last edited by Apr 10, 2018, 7:50 PM

                                      @tom-elliott I manually started the installation tests just now.

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

                                      199

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project