Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with MacOS 15 (Sequoia) #10

Open
femsupreme opened this issue Jun 11, 2024 · 40 comments
Open

Incompatibility with MacOS 15 (Sequoia) #10

femsupreme opened this issue Jun 11, 2024 · 40 comments
Assignees
Labels
bug Something isn't working

Comments

@femsupreme
Copy link

Hi Niels! Just letting you know that the recent beta release of macOS sequoia breaks the widget. This might be obvious, but figured I would share just in case :)

@nielsmouthaan
Copy link
Owner

Thanks for letting me know. I'll make sure to fix this soon!

@nielsmouthaan nielsmouthaan self-assigned this Jun 11, 2024
@nielsmouthaan nielsmouthaan added the bug Something isn't working label Jun 11, 2024
@EnumC
Copy link

EnumC commented Jul 7, 2024

Quick temporary workaround without having to rebuild the project: System Preferences -> Privacy & Security -> Full Disk Access -> Click the plus button and add the app.

Error in console:

Couldn't read values in CFPrefsPlistSource<0x150b0bfd0> (Domain: nl.nielsmouthaan.backup-status.shared, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access

@nielsmouthaan
Copy link
Owner

Thanks. I'll look into this before Sequoia gets released

@femsupreme
Copy link
Author

Quick temporary workaround without having to rebuild the project: System Preferences -> Privacy & Security -> Full Disk Access -> Click the plus button and add the app.

Error in console:

Couldn't read values in CFPrefsPlistSource<0x150b0bfd0> (Domain: nl.nielsmouthaan.backup-status.shared, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access

This worked great! Thanks Eric :) and thanks for the support Niels!

@btoole
Copy link

btoole commented Sep 17, 2024

Quick temporary workaround without having to rebuild the project: System Preferences -> Privacy & Security -> Full Disk Access -> Click the plus button and add the app.

Won't work in Sequoia without this extra step.

@Markmaster
Copy link

CleanShot 2024-09-16 at 21 33 31@2x
Upgraded today for macOS Sequoia and can't run the app. I have already granted Full Disk Access to the app. Please help.

@nielsmouthaan
Copy link
Owner

I just updated myself but I don't have any issues with the widget. It correctly shows the time of the last backup without needing to do anything. I also didn't granted it full disk access. What's the error/issue you're experiencing?

@Markmaster there's no need to run the app once everything is set up (which is the case with you as the setup actions are grayed out). You can simply add the widget and it should work.

@miharekar
Copy link

miharekar commented Sep 17, 2024

@nielsmouthaan I think what @Markmaster is trying to show is that this is how the app looks, while widgets display:
CleanShot 2024-09-17 at 12 23 50@2x

At least that's the situation for me.

Adding full disk access permission to the app, as written in the comments above, fixed it.

@fnsign
Copy link

fnsign commented Sep 17, 2024

I encounter the exact same issue. Uninstalling and re-installing the widget doesn't solve it.
The only solution is to grant full access rights, but I'd feel more comfortable if the issue would be fixed and I don't need to grant full access.

@btoole
Copy link

btoole commented Sep 17, 2024 via email

@MStankiewiczOfficial
Copy link

I also had this problem and temporarily applied the solution with granting full access.

@nielsmouthaan
Copy link
Owner

Still not able to reproduce the issue, even after a full reinstall of the app.

Can you try the following:

  1. Remove the app as instructed here.
  2. Execute rm -rf ~/Library/Group\ Containers/nl.nielsmouthaan.backup-status.shared in Terminal.
  3. Execute rm -rf ~/Library/Containers/nl.nielsmouthaan.backup-status in Terminal.
  4. Execute rm -rf ~/Library/Containers/nl.nielsmouthaan.backup-status.widget in Terminal.
  5. Restart your Mac
  6. Download Backup Status from Gumroad, copy it to your Applications folder, run it, grant it access to com.apple.TimeMachine.plist and add the widget.

Please report any errors printed in the Console app if you encounter issues.

@MStankiewiczOfficial
Copy link

This solution worked. Thank you for your help.
I think some uninstaller would be useful to help remove this application more thoroughly than just moving it to the trash.

@nielsmouthaan
Copy link
Owner

This solution worked. Thank you for your help. I think some uninstaller would be useful to help remove this application more thoroughly than just moving it to the trash.

Thanks for letting me know. Keen to know if this also solved the issue for others. Apparently the issue seems to be that the reference to the preference file including the approval to read it, has become invalid because of the update for some.

@zormic
Copy link

zormic commented Sep 18, 2024

Thank you.

@fnsign
Copy link

fnsign commented Sep 18, 2024

Unfortunately, the workaround as described above does not work for me.

Question to those, who were successful:
Please check, if the app has still full disk access permissions. That permission returns if an app is uninstalled and then re-installed again.
I followed the instructions step by step and at first, and it seemed to work.
Then I checked the full disk access permission in settings and it was active for the app. As soon as I disabled it, the app broke again.

@Markmaster
Copy link

Yes, for the reason my Mac Mini goes good during the upgrade and my MacBook Pro was not. Re-added widget fixed the issue. Thank you!
@nielsmouthaan

@nielsmouthaan
Copy link
Owner

Unfortunately, the workaround as described above does not work for me.

Question to those, who were successful: Please check, if the app has still full disk access permissions. That permission returns if an app is uninstalled and then re-installed again. I followed the instructions step by step and at first, and it seemed to work. Then I checked the full disk access permission in settings and it was active for the app. As soon as I disabled it, the app broke again.

Can you follow the instructions again after making sure full disk access has been disabled?

@fnsign
Copy link

fnsign commented Sep 19, 2024

I did that, but no success. Here what I did:

  • I first disabled AND removed the app friom the full disk access list
  • Uninstalled the app with Pearcleaner, which caught also the three files mentioned above and removed the widget
  • To be sure, I checked manually if the 3 files/contaiers were really deleted
  • Rebooted
  • Re-installed the app.
  • After installation I get a system pop-up to allow or deny that the app can access other app data. Confirmed that.

@MStankiewiczOfficial
Copy link

MStankiewiczOfficial commented Sep 19, 2024

Indeed, I checked and after reinstallation this permission returned. When I disabled it, again the app does not work.

obraz

Edit: when I granted full disk access again, the application configuration window appeared, asking me to grant permissions to the Time Machine file. Unfortunately, after selecting this file as instructed, nothing happens - I am unable to restore this application's permissions to it.

@nielsmouthaan
Copy link
Owner

@MStankiewiczOfficial, so I understand your earlier comment that it worked is incorrect, as you still had full disk access enabled.

@MStankiewiczOfficial
Copy link

@MStankiewiczOfficial, so I understand your earlier comment that it worked is incorrect, as you still had full disk access enabled.

Yes, it turned out that this function was indeed enabled.

@nielsmouthaan
Copy link
Owner

@MStankiewiczOfficial, so I understand your earlier comment that it worked is incorrect, as you still had full disk access enabled.

Yes, it turned out that this function was indeed enabled.

Okay, that's too bad. Oddly, the app seems to continue to work fine for some (me included) and not for others. I'll soon send an email to all users to see if I can get a better understanding of how many users are affected by this. For now, consider the full disk access option as a workaround.

@MStankiewiczOfficial
Copy link

As I mentioned in one of my previous messages, granting full disk access did not do anything. When I took away this permission, the app stopped working, and even when I granted it again, and even reinstalled the application, it did not help and still does not work.

Unfortunately, after selecting this file as instructed, nothing happens - I am unable to restore this application's permissions to it.

@dermarkusauslb
Copy link

Full Disc access worked for me instantly

@vincentbls
Copy link

Full Disc access worked for me instantly

Same, app built myself.

@ridmaur
Copy link

ridmaur commented Sep 21, 2024

Same here, full disk access solves the issue but reluctant to accept that as the final fix... There must be some better way to fix this?

@nielsmouthaan
Copy link
Owner

Same here, full disk access solves the issue but reluctant to accept that as the final fix... There must be some better way to fix this?

Did you try this?

@ridmaur
Copy link

ridmaur commented Sep 21, 2024

I am getting a

Operation not permitted
rm: /Users/robm/Library/Containers/nl.nielsmouthaan.backup-status.widget: Operation not permitted

even when using sudo

@nielsmouthaan
Copy link
Owner

Are you sure Backup Status isn't running anymore? Please double check all steps and ensure Backup Status isn't running by checking Activity Monitor.

@ridmaur
Copy link

ridmaur commented Sep 21, 2024

I even restarted my machine. It is the .com.apple.containermanagerd.metadata.plist that I am not able to remove, change ownership, nothing....
Checked Activity Monitor, it is not running.

@nielsmouthaan
Copy link
Owner

Ok, don't worry about that. The only file that really matters is this one:

~/Library/Group\ Containers/nl.nielsmouthaan.backup-status.shared/Library/Preferences/nl.nielsmouthaan.backup-status.shared.plist

@ridmaur
Copy link

ridmaur commented Sep 21, 2024

That last one

~/Library/Group\ Containers/nl.nielsmouthaan.backup-status.shared/Library/Preferences/nl.nielsmouthaan.backup-status.shared.plist

is not in your list of instructions....?

When I tried to remove that I did get an Allow dialog.

@ridmaur
Copy link

ridmaur commented Sep 21, 2024

I have done all steps, ending up with Not Set Up. However now I cannot seem to select my backup disk from Edit Widget dialog. Doesn't show any of the disks.

@nielsmouthaan
Copy link
Owner

It seems like the app can't access the preference file that includes your Time Machine configuration, including configured volumes. Granting full disk access is the only working solution now. It seems to work for some, and not for others. Not sure why. It's on my list to look into once I find time.

@trenchantlyUK
Copy link

Solved by giving full disk access.

@nielsmouthaan
Copy link
Owner

It could be because of an issue in Sequoia that is fixed in the latest 15.1 betas. Hopefully, this issue will solve itself soon. I'll update you when I know more.

@nielsmouthaan
Copy link
Owner

Now that 15.1 is out, can someone tell me if they are still experiencing the issue? I recommend removing the app entirely, including its preferences files, and reinstall it. See this post for instructions. Ensure the app no longer has full disk access if you have configured that.

@luddinho
Copy link

Nope, also with macOS 15.1 the widget still has no access to the devices.

First I have removed full disk access for “Backup Status”.
After that uninstalled Backup Status according to your proposal.
Then updated macOS to 15.1, installed “Backup Status” again regarding the instructions and restarted the mac again.
Added the widget and try to configure the Time Machine disk. Unfortunately no disk can be selected from the menu.

After granting full disk access to “Backup Status” again it is possible to view the status as expected.
The update to macOS 15.1 did not solve the issue on my side.
Still need the full disk access to get status info from the widget.

@nielsmouthaan
Copy link
Owner

Thanks for letting me know. I'll look into it once I have more time. For now, granting full disk access is the only reliable workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests