vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Vorta not working due to missing Local Network permission on MacOS (and cannot be granted)

Open JannisBush opened this issue 6 months ago • 0 comments

Description

Vorta is not able to connect to my local backup server on macOS likely due to a missing local network permission due to the Local Network Privacy in macOS Sequoia. Logs:

2025-06-09 10:44:49,151 - vorta.borg.jobs_manager - DEBUG - Add job for site 1
2025-06-09 10:44:49,152 - vorta.borg.jobs_manager - DEBUG - Start job on site: 1
2025-06-09 10:44:49,155 - vorta.borg.borg_job - INFO - Running command /opt/homebrew/bin/borg create --list --progress --info --log-json --json --filter=AM -C lz4 ssh://<local machine>
2025-06-09 10:44:49,318 - vorta.borg.borg_job - WARNING - Remote: ssh: connect to host timemachine port 22: Undefined error: 0
2025-06-09 10:44:49,320 - vorta.borg.borg_job - ERROR - Connection closed by remote host. Is borg working on the server?

If I start Vorta via the terminal which I have granted the local network permission, I can connect to the local backup server. Logs:

2025-06-09 10:50:15,866 - vorta.borg.jobs_manager - DEBUG - Add job for site 1
2025-06-09 10:50:15,866 - vorta.borg.jobs_manager - DEBUG - Start job on site: 1
2025-06-09 10:50:15,867 - vorta.borg.borg_job - INFO - Running command /opt/homebrew/bin/borg create --list --progress --info --log-json --json --filter=AM -C lz4 ssh://<local machine>
2025-06-09 10:50:18,051 - vorta.borg.borg_job - INFO - Creating archive at "ssh://<local machine>"

I cannot grant the Local Network permission to Vorta in the operating system settings (Privacy & Security -> Local Network), as Vorta is not shown in the list of apps there. Maybe Vorta needs to set "multicast entitlement" such that users can grant the local network permission? See https://apple.stackexchange.com/questions/475737/how-can-i-manually-allow-local-network-access-for-an-app

Reproduction

  • [x] I tried to reproduce the issue.
  • [x] I was able to reproduce the issue.

OS

macOS Sequoia 15.5

Version of Vorta

0.10.3

What did you install Vorta with?

Homebrew

Version of Borg

1.2.8

Logs

2025-06-09 10:44:49,151 - vorta.borg.jobs_manager - DEBUG - Add job for site 1
2025-06-09 10:44:49,152 - vorta.borg.jobs_manager - DEBUG - Start job on site: 1
2025-06-09 10:44:49,155 - vorta.borg.borg_job - INFO - Running command /opt/homebrew/bin/borg create --list --progress --info --log-json --json --filter=AM -C lz4 ssh://<local machine>
2025-06-09 10:44:49,318 - vorta.borg.borg_job - WARNING - Remote: ssh: connect to host timemachine port 22: Undefined error: 0
2025-06-09 10:44:49,320 - vorta.borg.borg_job - ERROR - Connection closed by remote host. Is borg working on the server?

JannisBush avatar Jun 09 '25 08:06 JannisBush