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

    Image Replication Not Working - Syntax Error

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    3 Posts 2 Posters 8 Views
    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
      Jab98
      last edited by Jab98

      Master Node
      Fog 1.5.5
      Debian 9

      Storage Node (proimage02)
      Fog 1.5.10
      Debian 13

      Below is the output of /opt/fog/log/fogreplicator.log

      Most concerning is the line " sh: 1: Syntax error: “(” unexpected " or any of the “file does not exist” lines. Those errors show for each image FOG finds to replicate

      This has never worked for me- I just set up the FOG storage node server a few days ago and connected it to the master FOG server.

      [06-17-26 10:16:18 am] * Found Image to transfer to 1 node
      [06-17-26 10:16:18 am] | Image Name: HP280-G1-WIN10-2026
      [06-17-26 10:16:19 am] # HP280-G1-WIN10-2026: File does not exist d1.fixed_size_partitions (proimage02)
      [06-17-26 10:16:19 am] # HP280-G1-WIN10-2026: File does not exist d1.mbr (proimage02)
      [06-17-26 10:16:19 am] # HP280-G1-WIN10-2026: File does not exist d1.minimum.partitions (proimage02)
      [06-17-26 10:16:19 am] # HP280-G1-WIN10-2026: File does not exist d1.original.fstypes (proimage02)
      [06-17-26 10:16:19 am] # HP280-G1-WIN10-2026: File does not exist d1.original.swapuuids (proimage02)
      [06-17-26 10:16:19 am] # HP280-G1-WIN10-2026: File does not exist d1.original.uuids (proimage02)
      [06-17-26 10:16:19 am] # HP280-G1-WIN10-2026: File does not exist d1.partitions (proimage02)
      [06-17-26 10:16:19 am] # HP280-G1-WIN10-2026: File does not exist d1p1.img (proimage02)
      [06-17-26 10:16:19 am] # HP280-G1-WIN10-2026: File does not exist d1p2.img (proimage02)
      [06-17-26 10:16:19 am] # HP280-G1-WIN10-2026: File does not exist d1p3.img (proimage02)
      [06-17-26 10:16:19 am] # HP280-G1-WIN10-2026: File does not exist d1p4.img (proimage02)
      [06-17-26 10:16:19 am] | CMD: lftp -e ‘set xfer:log 1; set xfer:log-file /opt/fog/log/fogreplicator.HP280-G1-WIN10-2026.transfer.proimage02.log;set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; set net:limit-total-rate 0:1280000; mirror -c --parallel=20 -R --ignore-time -vvv --exclude “.srvprivate” “/images/HP280-G1-MT-WIN10-2026” “/images/HP280-G1-MT-WIN10-2026”; exit’ -u fogproject,[Protected] 192.168.16.30
      [06-17-26 10:16:19 am] | Started sync for Image HP280-G1-WIN10-2026 - Resource id #27390
      sh: 1: Syntax error: “(” unexpected
      [06-17-26 10:16:19 am] | Sync finished - Resource id #27208
      [06-17-26 10:16:19 am] | Sync finished - Resource id #27236
      [06-17-26 10:16:19 am] | Sync finished - Resource id #27316
      [06-17-26 10:16:19 am] | Sync finished - Resource id #27353
      [06-17-26 10:16:19 am] | Sync finished - Resource id #27390

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

        @Jab98 You’re running 1.5.5 and 1.5.10

        are you able to update your machines to the latest working-1.6 or dev-branches by chance?

        I suspect the isseu you’re seeing is related to the version mismatches (while we do try to maintain compatibility sometimes such things just aren’t reasonable.)

        I’m not seeing anything that would be specifically breaking things, but with the age of your Servers/Nodes, it’s difficult to troubleshoot.

        I mean Debian 9 is also fairly ancient now, and might just be throwing issues because of its own age.

        I don’t know what the right answer is just trying ot get something more updated so we can help you with the latest and greatest of things we’ve been working on and know much more about.

        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

        J 1 Reply Last reply Reply Quote 0
        • J
          Jab98 @Tom Elliott
          last edited by

          @Tom-Elliott

          Thanks for the prompt response!

          That’s fair, and I definitely considered that could be the problem. Just thought I’d check before going through the work of upgrading things.

          I’ll try that first!

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

          127

          Online

          12.7k

          Users

          17.6k

          Topics

          156.6k

          Posts
          Copyright © 2012-2026 FOG Project