You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS Ventura 13.0 sync fails due to com.apple.provenance metadata #185
update: This should be fixed once v1.22.2 is released, scroll down for details...
Since upgrading one of my Macs to Ventura 13.0, my folder will no longer sync (getting stuck on a piece of undocumented metadata called com.apple.provenance
I have tried removing the xattr with sudo xattr -d com.apple.provenance /path/to/file but that isn't working either.
Google has nothing about this really... anyone else running into this? Using syncthing-macos 1.22.0-1
Thanks for the report, I have old hardware which doesn't run Ventura. So I need to figure out a way to reproduce this or dig up some documentation. I think it is some sort of extra security mechanism (again). Probably I need some help from other people with this unfortunately.
changed the title [-]com.apple.provenance metadata causing sync to fail[/-][+]macOS Ventura 13.0 sync to fails due to com.apple.provenance metadata[/+]on Nov 5, 2022
changed the title [-]macOS Ventura 13.0 sync to fails due to com.apple.provenance metadata[/-][+]macOS Ventura 13.0 sync fails due to com.apple.provenance metadata[/+]on Nov 5, 2022
Moved because it is not an syncthing-macos application bundle problem. But the Syncthing daemon itself with trying to sync xattrs between two devices with macOS Ventura 13.0 and macOS < 13.0. See also the forum.
For anyone who wants to increase the logfile size using the macOS bundle, you can use:
# sets logfile size to 50MB, and keep the last 5 during logrotate
defaults write com.github.xor-gate.syncthing-macosx Arguments '--log-max-size=52428800 --log-max-old-files=5'
And when you're done debugging, use this to revert things back to default:
@xor-gatev1.22.2-rc.1 was pushed that aims to fix this, among other things. Is it possible for me to compile my own bundle to test? I have Xcode 14.1 but I don't have a Developer account so I can only sign locally.
@xor-gate Answered my own question... and I'm happy to report that this pre-release build has fixed the original issue for me. 🚀 So hopefully once the upstream release drops we can all benefit.
For anyone else who's curious: here are the steps I figured out in order to build a pre-release. It was confusing at first because the default repo branch is develop which is very far out of date from the latest release. I had to clone the 1.22.1-1 branch and build from that in order to get it to work (a full clone and separate git checkout would probably work fine too).
syncthing-macos only ships releases no -rcs. The README.md includes some build and release management instructions. I will include this build instructions into the readme when I have some spare time. Thanks for reporting the issue is resolved.
Activity
xor-gate commentedon Nov 5, 2022
Thanks for the report, I have old hardware which doesn't run Ventura. So I need to figure out a way to reproduce this or dig up some documentation. I think it is some sort of extra security mechanism (again). Probably I need some help from other people with this unfortunately.
[-]com.apple.provenance metadata causing sync to fail[/-][+]macOS Ventura 13.0 sync to fails due to com.apple.provenance metadata[/+][-]macOS Ventura 13.0 sync to fails due to com.apple.provenance metadata[/-][+]macOS Ventura 13.0 sync fails due to com.apple.provenance metadata[/+]luckman212 commentedon Nov 5, 2022
Thanks, I've just posted a question over on AskDifferent as well.
xor-gate commentedon Nov 6, 2022
Hi @calmh I moved it to the https://github.com/syncthing/syncthing project as it is a Syncthing (macOS build) issue and not part of the syncthing-macos application bundle. Thanks!
xor-gate commentedon Nov 6, 2022
Moved because it is not an
syncthing-macosapplication bundle problem. But the Syncthing daemon itself with trying to sync xattrs between two devices with macOS Ventura 13.0 and macOS < 13.0. See also the forum.calmh commentedon Nov 6, 2022
As noted on the forum, this can be disabled by configuration, unfortunately only by hand editing the config at the moment:
We might want to look into some sort of default black list per operating system perhaps, in the future.
xor-gate commentedon Nov 6, 2022
I need to document the note on manual file editing in the FAQ so I transfered the issue back to syncthing-macos.
See also
#185 (comment)
I leave this open until I have documented this in the README.md
Thanks @luckman212 for reporting
5 remaining items
luckman212 commentedon Nov 8, 2022
Adding a note here, regarding somewhat-related bug #8657 (since it relates to syncing xattrs)
xor-gate commentedon Nov 8, 2022
Note from @luckman212 (here #154 (comment)) copied over here for convience:
Just adding this note here related to debugging going on over at https://forum.syncthing.net/t/com-apple-provenance/19262/17
For anyone who wants to increase the logfile size using the macOS bundle, you can use:
And when you're done debugging, use this to revert things back to default:
I believe you need to fully quit the Syncthing app after each of these changes (not just stop/start the service) for it to take effect.
Thanks @luckman212 !
xor-gate commentedon Nov 8, 2022
Commenting on your findings:
Yes the
Argumentsare loaded only on startup. Not when changed.luckman212 commentedon Nov 9, 2022
@xor-gate v1.22.2-rc.1 was pushed that aims to fix this, among other things. Is it possible for me to compile my own bundle to test? I have Xcode 14.1 but I don't have a Developer account so I can only sign locally.
luckman212 commentedon Nov 10, 2022
@xor-gate Answered my own question... and I'm happy to report that this pre-release build has fixed the original issue for me. 🚀 So hopefully once the upstream release drops we can all benefit.
For anyone else who's curious: here are the steps I figured out in order to build a pre-release. It was confusing at first because the default repo branch is
developwhich is very far out of date from the latest release. I had to clone the 1.22.1-1 branch and build from that in order to get it to work (a full clone and separategit checkoutwould probably work fine too).Steps
git clone --depth 1 --branch v1.22.1-1 https://github.com/syncthing/syncthing-macos cd syncthing-macos git submodule update --initSYNCTHING_VERSION(removing thev):CFBundleShortVersionStringin Info.plist:xor-gate commentedon Nov 10, 2022
syncthing-macosonly ships releases no-rcs. TheREADME.mdincludes some build and release management instructions. I will include this build instructions into the readme when I have some spare time. Thanks for reporting the issue is resolved.luckman212 commentedon Nov 10, 2022
Not fully out of the woods yet on this one... syncthing/syncthing#8667
luckman212 commentedon Nov 11, 2022
Compiled a build this morning based on v1.22.2-rc.2 and this is now 100% fixed for me 👍
xor-gate commentedon Nov 11, 2022
Good, we need to wait for the v1.22.2 release window on 6 dec. Then we can close this ticket. Thanks for your effort!
luckman212 commentedon Nov 22, 2022
Still looking good, on 1.22.2-rc.3 now and all is working well.
xor-gate commentedon Dec 9, 2022
Syncthing macOS is now shipping with release v1.22.2 (see commit bf62e12). Only the auto-updater is broken for some unknown reason, you can wait or download the signed/secure DMG.