Image Replication Not Working - Syntax Error
-
Master Node
Fog 1.5.5
Debian 9Storage Node (proimage02)
Fog 1.5.10
Debian 13Below 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 -
@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.
-
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!