Could not do data mirroring (files inside a repository) with ori replicate

Issue #26 new
Vidhya Vijayakumar created an issue

Hi, We are doing ORI for our class project, we are connected to two physical machines, when we do replication --shallow it creates an initial local repository and when we do ori pull, files inside the repository is not replicated.

Below are the commands we run, Machine1:(server) orisync init ori newfs repo_name orifs repo_name orisync add repo_name

Machine2:(client) orisync init --> client is added to the existing cluster ori --shallow replicate machine1@host:repo_name orifs repo_name a empty repository is created, data is not mirrored

Comments (4)

  1. Ali Mashtizadeh

    I have a few patched pending including one to fix this issue. Orisync currently binds to 255.255.255.255, but it appears a few OSes deprecated this behavior and expect applications to bind to local broadcast address. A quick way to fix this is to hard code the broadcast address from your current subnet.

  2. Vidhya Vijayakumar reporter

    Thank you for your quick response. We also face issue with ori checkout, and syncronization between remote repository and ori graft for remote repository. Is there any workaround?

  3. Ali Mashtizadeh

    I split the multicast change so that part should work. I think your other issue is a bit of a user error there's a few things I should update and explain in a short document. Here's a few hints.

    1. SSH keys should not be passworded otherwise it can't automatically sync your changes.
    2. orisync only syncs changes for mounted file systems. This is a bug that I should fix.
  4. Log in to comment