Squirrel.Mac icon indicating copy to clipboard operation
Squirrel.Mac copied to clipboard

ShipIt runs several updates in a row, only last one succeeds

Open indutny-signal opened this issue 2 years ago • 3 comments

We got a following log from our user:

2021-10-04 16:01:39.783 ShipIt[83792:18784414] Detected this as an install request
2021-10-04 16:01:39.825 ShipIt[83792:18784414] Beginning installation
2021-10-04 16:01:39.834 ShipIt[83792:18784428] Installation error: Error Domain=SQRLInstallerErrorDomain Code=-1 "Failed to copy bundle file:///Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app/ to directory file:///var/folders/rd/vbr0wdlx4lz4wpww68m5nxcc0000gn/T/org.whispersystems.signal-desktop.ShipIt.dnPQw6SY/Signal.app" UserInfo={NSFilePath=/Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app, NSLocalizedDescription=Failed to copy bundle file:///Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app/ to directory file:///var/folders/rd/vbr0wdlx4lz4wpww68m5nxcc0000gn/T/org.whispersystems.signal-desktop.ShipIt.dnPQw6SY/Signal.app, NSUnderlyingError=0x7fba63c0a850 {Error Domain=NSCocoaErrorDomain Code=260 "The file “Signal.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app, NSUnderlyingError=0x7fba63c0a790 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}}
2021-10-04 16:01:39.834 ShipIt[83792:18784428] ShipIt quitting
2021-10-04 16:01:41.878 ShipIt[83793:18784443] Detected this as an install request
2021-10-04 16:01:41.899 ShipIt[83793:18784443] Resuming installation attempt 2
2021-10-04 16:01:41.922 ShipIt[83793:18784446] Installation error: Error Domain=SQRLInstallerErrorDomain Code=-1 "Failed to copy bundle file:///Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app/ to directory file:///var/folders/rd/vbr0wdlx4lz4wpww68m5nxcc0000gn/T/org.whispersystems.signal-desktop.ShipIt.7mmzE4st/Signal.app" UserInfo={NSFilePath=/Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app, NSLocalizedDescription=Failed to copy bundle file:///Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app/ to directory file:///var/folders/rd/vbr0wdlx4lz4wpww68m5nxcc0000gn/T/org.whispersystems.signal-desktop.ShipIt.7mmzE4st/Signal.app, NSUnderlyingError=0x7fa9e660d0c0 {Error Domain=NSCocoaErrorDomain Code=260 "The file “Signal.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app, NSUnderlyingError=0x7fa9e660d000 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}}
2021-10-04 16:01:41.922 ShipIt[83793:18784446] ShipIt quitting
2021-10-04 16:01:43.949 ShipIt[83794:18784735] Detected this as an install request
2021-10-04 16:01:43.989 ShipIt[83794:18784735] Resuming installation attempt 3
2021-10-04 16:01:43.996 ShipIt[83794:18784738] Installation error: Error Domain=SQRLInstallerErrorDomain Code=-1 "Failed to copy bundle file:///Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app/ to directory file:///var/folders/rd/vbr0wdlx4lz4wpww68m5nxcc0000gn/T/org.whispersystems.signal-desktop.ShipIt.wJ9mNDvD/Signal.app" UserInfo={NSFilePath=/Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app, NSLocalizedDescription=Failed to copy bundle file:///Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app/ to directory file:///var/folders/rd/vbr0wdlx4lz4wpww68m5nxcc0000gn/T/org.whispersystems.signal-desktop.ShipIt.wJ9mNDvD/Signal.app, NSUnderlyingError=0x7fd096a0e410 {Error Domain=NSCocoaErrorDomain Code=260 "The file “Signal.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/xxx/Library/Caches/org.whispersystems.signal-desktop.ShipIt/update.OEtFbGr/Signal.app, NSUnderlyingError=0x7fd096a0e350 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}}
2021-10-04 16:01:43.996 ShipIt[83794:18784738] ShipIt quitting
2021-10-04 16:01:46.035 ShipIt[83795:18784756] Detected this as an install request
2021-10-04 16:01:46.073 ShipIt[83795:18784756] Too many attempts to install, aborting update
2021-10-04 16:01:46.074 ShipIt[83795:18784759] On main thread and launching: file:///Applications/Signal.app/
2021-10-04 16:01:46.074 ShipIt[83795:18784759] Bundle URL is valid
2021-10-04 16:01:46.074 ShipIt[83795:18784759] Attempting to launch app on 11.0 or higher
2021-10-04 16:01:46.074 ShipIt[83795:18784759] Launching new ShipIt at /Applications/Signal.app/Contents/Frameworks/Squirrel.framework/Resources/ShipIt with instructions to launch file:///Applications/Signal.app/
2021-10-04 16:01:46.090 ShipIt[83796:18784763] Detected this as a launch request
2021-10-04 16:01:46.177 ShipIt[83796:18784763] Successfully launched application at file:///Applications/Signal.app/
2021-10-04 16:01:46.177 ShipIt[83796:18784763] ShipIt quitting
2021-10-04 16:01:46.178 ShipIt[83795:18784759] New ShipIt exited
2021-10-04 16:01:46.178 ShipIt[83795:18784759] ShipIt quitting

They claim that ShipIt was using >80% CPU for some time when they decided to update the app. Looking at the logs it seems that it couldn't update immediately and reattempted it several times before succeeding. Any hints on what could have gone wrong with the update? Should we ask for additional information to help get this fixed?

indutny-signal avatar Oct 07 '21 20:10 indutny-signal

I want to invest in your company 😃

jasoncoker925 avatar Dec 05 '21 03:12 jasoncoker925

@indutny-signal I meet to the same log, Do you solve this problem?

hzpqt avatar Mar 16 '23 03:03 hzpqt

It self resolved somehow!

indutny-signal avatar Mar 16 '23 16:03 indutny-signal