syncthing / syncthing-macos

Official frugal and native macOS Syncthing application bundle
https://syncthing.net
MIT License
2.7k stars 143 forks source link

App works only if dmg is mounted #228

Open bartek-galazka opened 6 days ago

bartek-galazka commented 6 days ago

Recap:

Works only if dmg is mounted

xor-gate commented 6 days ago

Hi @bartek-galazka, thanks for the report. Could you check the following:

My iMac is running still on macOS 12.7.6 so I have a similair setup.

xor-gate commented 6 days ago

Check for Quarantine Flag

macOS sometimes adds a quarantine flag when downloading apps from the internet, preventing the app from launching properly.

To check for the quarantine flag, run the following command in Terminal: xattr -lr /Applications/<YourApp>.app

If you see com.apple.quarantine in the output, remove the quarantine flag using: sudo xattr -dr com.apple.quarantine /Applications/<YourApp>.app

Gatekeeper and App Verification

Sometimes macOS Gatekeeper blocks apps from unknown developers. Try opening the app by right-clicking the app in /Applications and selecting Open. This often forces Gatekeeper to bypass the security warning. You can also check System Preferences → Security & Privacy → General to allow the app to be opened if a warning is listed

bartek-galazka commented 5 days ago

Hi @bartek-galazka, thanks for the report. Could you check the following:

  • Which version are you using?
  • Execute defaults read com.github.xor-gate.syncthing-macosx Executable from Terminal.app (console)

My iMac is running still on macOS 12.7.6 so I have a similair setup.

Syncthing-1.27.12-1.dmg

image
bartek-galazka commented 5 days ago

Check for Quarantine Flag

macOS sometimes adds a quarantine flag when downloading apps from the internet, preventing the app from launching properly.

To check for the quarantine flag, run the following command in Terminal: xattr -lr /Applications/<YourApp>.app

If you see com.apple.quarantine in the output, remove the quarantine flag using: sudo xattr -dr com.apple.quarantine /Applications/<YourApp>.app

I did this. Still doesn't work. But I still see many other things in the output like this:

image

Maybe this is the reason?

Gatekeeper and App Verification

Sometimes macOS Gatekeeper blocks apps from unknown developers. Try opening the app by right-clicking the app in /Applications and selecting Open. This often forces Gatekeeper to bypass the security warning. You can also check System Preferences → Security & Privacy → General to allow the app to be opened if a warning is listed

Not the case, that was the first thing I have checked :)

bartek-galazka commented 5 days ago

Now I noticed this:

image
xor-gate commented 5 days ago

What does Execute defaults read com.github.xor-gate.syncthing-macosx Executable from Terminal.app (console) say?

xor-gate commented 5 days ago

Please paste the whole error text and not a half a screenshot

bartek-galazka commented 5 days ago
  • defaults read com.github.xor-gate.syncthing-macosx Executable
image
bartek-galazka commented 5 days ago

Please paste the whole error text and not a half a screenshot

image