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

    Replication has stopped after ugprade

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    27
    8.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.
    • JunkhackerJ
      Junkhacker Developer
      last edited by

      if you run top, how much of your cpu do these services utilize?

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      1 Reply Last reply Reply Quote 2
      • mosesM
        moses
        last edited by moses

        After moving my installation over to CentOS, the Image Replication service now starts. Hooray!

        But alas, I run into another issue. See the last line of the fogreplicator.log:

          ###########################################
          #     Free Computer Imaging Solution      #
          #     Credits:                            #
          #     http://fogproject.org/credits       #
          #     GNU GPL Version 3                   #
          ###########################################
        
        [03-08-16 2:00:59 pm] Interface Ready with IP Address: 8.67.5.309
        [03-08-16 2:00:59 pm] Interface Ready with IP Address: 192.168.1.66
        [03-08-16 2:00:59 pm] Interface Ready with IP Address: SVR-HQ-IMAGING
        [03-08-16 2:00:59 pm]  * Starting ImageReplicator Service
        [03-08-16 2:00:59 pm]  * Checking for new items every 600 seconds
        [03-08-16 2:00:59 pm]  * Starting service loop
        [03-08-16 2:00:59 pm]  * Starting Image Replication.
        [03-08-16 2:00:59 pm]  * We are group ID: #1
        [03-08-16 2:00:59 pm]  | We are group name: HQ
        [03-08-16 2:00:59 pm]  * We have node ID: #1
        [03-08-16 2:00:59 pm]  | We are node name: SVR-HQ-IMAGING
        [03-08-16 2:00:59 pm]  * Found Image to transfer to 3 group(s)
        [03-08-16 2:00:59 pm]  | Image name: Universal-W7P-x64-ENGINEERING
        [03-08-16 2:01:00 pm]  * Type: 8, File: /var/www/html/fog/lib/fog/fogbase.class.php, Line: 55, Message: Undefined index: REQUEST_METHOD
        

        This error only appears if I add an image to one specific storage group. Should I maybe delete the storage group or the node there and re-create them?

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

          @moses Thanks for reporting! I am sure Tom will fix this in a second. Anyhow, I don’t think this is a show stopper for you. Usually those “Undefined index” messages are just notices, not real PHP errors. Log should be going on… I hope!

          By the way. Do you still have the fopen warnings in your apache error log? A fix has been pushed this morning.

          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

          mosesM 2 Replies Last reply Reply Quote 0
          • mosesM
            moses @Sebastian Roth
            last edited by moses

            @Sebastian-Roth In this case, it’s preventing the replication service from proceeding any further. Replication never starts, to any nodes. If I remove that particular storage group from that image, replication works find to all the others.

            Checking on that now…

            1 Reply Last reply Reply Quote 0
            • mosesM
              moses @Sebastian Roth
              last edited by moses

              @Sebastian-Roth fopen errors are gone, now I got a shiny new error (repeated many times):

              [Tue Mar 08 13:46:04.596088 2016] [:error] [pid 2547] [client 192.168.1.144:60293] PHP Warning:  mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52, referer: http://192.168.1.66/fog/management/index.php?node=home
              
              1 Reply Last reply Reply Quote 0
              • mosesM
                moses
                last edited by

                After updating the node in question (despite it failing at “Restarting apache2 for fog vhost”), replication has been fixed.

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

                  @moses in the installer’s bin/error_logs/fog_error_<versionNumberOfInstall>.log what’s at the end of the file?

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

                  161

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project