slarew Posted June 4, 2013 Posted June 4, 2013 I tried updating to 2.0.4 per the update notification given by Alfred. The updater appeared to succeed (no warnings/errors given to user) but the app upon relaunch was still at version 2.0.3. I was immediately prompted to update to 2.0.4 again. This was confusing behavior. I tried multiple times and the updater silently failed everytime. Currently using v2.0.3 (187) on OS X 10.8.3. From the system log: 6/4/13 9:30:39.793 AM Alfred Assistant[3830]: Update Alfred 6/4/13 9:30:39.794 AM Alfred Assistant[3830]: Unzipping '/Users/******/Library/Caches/com.runningwithcrayons.Alfred-2/Updates/Alfred_2.0.4_199.zip' 6/4/13 9:30:39.999 AM Alfred Assistant[3830]: Looking for instances of Alfred to terminate... 6/4/13 9:30:40.011 AM Alfred Assistant[3830]: 1 Alfred related apps found, great! 6/4/13 9:30:40.011 AM Alfred Assistant[3830]: Attempting to terminate '/Applications/Alfred 2.app' 6/4/13 9:30:40.618 AM Alfred Assistant[3830]: Working with app name 'Alfred 2.app' 6/4/13 9:30:40.630 AM Alfred Assistant[3830]: Moving Alfred from '/private/var/folders/5t/z_w_xpb917d4g_hyq_0jrkz00000gn/T/TemporaryItems/(A Document Being Saved By Alfred Assistant)/Alfred 2.app' to '/Applications/Alfred 2.app' 6/4/13 9:30:40.632 AM Alfred Assistant[3830]: Unable to replace: You don’t have permission to save the file “Alfred 2.app”. 6/4/13 9:30:40.633 AM Alfred Assistant[3830]: Cleaning up temp folder 6/4/13 9:30:40.653 AM Alfred Assistant[3830]: Restarting '/Applications/Alfred 2.app' 6/4/13 9:30:40.672 AM Alfred Assistant[3830]: Deleting update zip The root problem is that 'Alfred 2.app' is owned by root on my machine. I speculate that the updater appears to not be able to request authorization to perform a privileged update? At the very least, I would expect the updater to notify the user of any problems encountered, such as lack of permissions. Better yet, the updater would prompt the user for authorization and permission to update.
Andrew Posted June 4, 2013 Posted June 4, 2013 I tried updating to 2.0.4 per the update notification given by Alfred. The updater appeared to succeed (no warnings/errors given to user) but the app upon relaunch was still at version 2.0.3. I was immediately prompted to update to 2.0.4 again. This was confusing behavior. I tried multiple times and the updater silently failed everytime. Currently using v2.0.3 (187) on OS X 10.8.3. From the system log: 6/4/13 9:30:39.793 AM Alfred Assistant[3830]: Update Alfred 6/4/13 9:30:39.794 AM Alfred Assistant[3830]: Unzipping '/Users/******/Library/Caches/com.runningwithcrayons.Alfred-2/Updates/Alfred_2.0.4_199.zip' 6/4/13 9:30:39.999 AM Alfred Assistant[3830]: Looking for instances of Alfred to terminate... 6/4/13 9:30:40.011 AM Alfred Assistant[3830]: 1 Alfred related apps found, great! 6/4/13 9:30:40.011 AM Alfred Assistant[3830]: Attempting to terminate '/Applications/Alfred 2.app' 6/4/13 9:30:40.618 AM Alfred Assistant[3830]: Working with app name 'Alfred 2.app' 6/4/13 9:30:40.630 AM Alfred Assistant[3830]: Moving Alfred from '/private/var/folders/5t/z_w_xpb917d4g_hyq_0jrkz00000gn/T/TemporaryItems/(A Document Being Saved By Alfred Assistant)/Alfred 2.app' to '/Applications/Alfred 2.app' 6/4/13 9:30:40.632 AM Alfred Assistant[3830]: Unable to replace: You don’t have permission to save the file “Alfred 2.app”. 6/4/13 9:30:40.633 AM Alfred Assistant[3830]: Cleaning up temp folder 6/4/13 9:30:40.653 AM Alfred Assistant[3830]: Restarting '/Applications/Alfred 2.app' 6/4/13 9:30:40.672 AM Alfred Assistant[3830]: Deleting update zip The root problem is that 'Alfred 2.app' is owned by root on my machine. I speculate that the updater appears to not be able to request authorization to perform a privileged update? At the very least, I would expect the updater to notify the user of any problems encountered, such as lack of permissions. Better yet, the updater would prompt the user for authorization and permission to update. This is fixed in 2.0.4
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now