milanvarady / Applite

User-friendly GUI macOS application for Homebrew Casks
https://aerolite.dev/applite
MIT License
4.04k stars 99 forks source link

updating installed apps not working #4

Closed vordenken closed 1 year ago

vordenken commented 1 year ago

Hi, first of all - really nice looking app! Love the idea, keep it up :)

I can successfully install new apps with your app but cannot update existing ones, it just says "error" after a few seconds. How can I debug this?

milanvarady commented 1 year ago

The error message should be logged to Console.app. Open the console app, and at the top, press the start button to begin collecting logs. After the error has occurred, pause logging and search for applite and filter for errors and faults. Let me know if you can find the error message this way.

soheilpro commented 1 year ago

I have the same issue.

Here's the error message that was logged:

Failed to run brew command "<private>" with arguments "<private>", output: <private>
milanvarady commented 1 year ago

We can't see the output because private mode is turned on. You can follow this stack exchange answer to reveal the actual output. It's a bit tedious to do, but it would help me debug the issue.

vordenken commented 1 year ago

I enabled the actual output and found out its my fault... The 2 apps listed to upgrade aren't on my Mac anymore - I removed them without brew so brew probably thinks they should be installed.

milanvarady commented 1 year ago

Thank you for investigating this issue. I'm closing this issue for now.