Skip to content

Fix a failed Sync

Use this guide when Sync ends with an error or cannot finish sharing your saved revisions.

  1. Read the Sync result and expand its log details when available.
  2. Record the exact error before dismissing the result.
  3. Confirm the Repository and Branch in the top bar.
  4. Open Repository Settings → Remote Sync to check the remote connection.
  5. Open Repository Settings → Troubleshooting and select Check Again.

Repository Health Check and recovery actions in Repository Settings.

Use the matching recovery guide:

Check the local branch without changing it

Section titled “Check the local branch without changing it”

Open PowerShell. Replace the example path with the project folder shown in IOFabrik. The block adds the bundled Git and Git LFS directories to PATH for this session:

Terminal window
$repo = 'C:\Projects\PumpStation'
$tools = Join-Path $env:LOCALAPPDATA 'IOFabrik\tools\bin'
$git = Join-Path $tools 'git\cmd\git.exe'
$lfs = Join-Path $tools 'lfs\git-lfs.exe'
$env:PATH = (Split-Path $git) + ';' + (Split-Path $lfs) + ';' + $env:PATH
& $git -C $repo status --short --branch
& $git -C $repo branch -vv
& $git -C $repo remote -v

Expect the branch you selected in IOFabrik and the intended remote. ahead means you have local saved revisions to share. behind means the last recorded remote state contains revisions you have not received. Those counts reflect the last fetch.

If Git says the folder is not a repository, use the correct project folder. If the branch has no upstream, check the branch and remote settings before attempting to publish it.

Review remote URLs before sharing command output. A remote URL can contain private hostnames or embedded credentials.

For a GitHub remote, check HTTPS connectivity:

Terminal window
Test-NetConnection github.com -Port 443

Expect TcpTestSucceeded : True. A successful network check confirms connectivity, not repository access. Use the GitHub access checks to check permission.

If the connection fails, restore the network or VPN connection. On a managed network, ask your administrator to check its proxy and firewall policy. Retry after access is restored.

Return to IOFabrik and select Sync once. Confirm that the operation completes and the incoming or outgoing count updates.

If Sync still fails, collect debug logs while reproducing one attempt. Keep the original project and its local revisions. Avoid force-pushing, resetting the branch, or replacing the project to bypass an unexplained error.