From the error message, it looks like you're syncing to the file system. Try selecting the sync directory again from Joplin's settings -- it's possible Joplin needs to be granted permission to read the sync directory again.