Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Restart and Update Doesn't from Release Notes Page #5692

Closed

Description

@joshvickerson

Using the Restart and Update button on the release notes view doesn't properly restart and update. Atom closes, but it never restarts. When launched again, it hasn't updated. Restart and update from the Atom Menu works fine.

2010 iMac, OSX 10.10.2

Activity

  1. mnquintana commented on Feb 23, 2015

    @mnquintana
    Contributor

    Which version of Atom?

  2. joshvickerson commented on Feb 23, 2015

    @joshvickerson
    Author

    I've noticed this on the past few releases and have just gotten around to submitting the issue.

    In the most recent case I was trying to update from .181 to .182

  3. judahstevenson commented on Mar 26, 2015

    @judahstevenson

    I'm experiencing this problem as well, but only when I open atom from the command line, and even then it only happens on certain repos. If i open atom using spotlight it doesn't happen. I'm on version .188 but the notes page show's the latest release as .186

    Clicking on the "restart and update" button closes Atom, but then it never re-opens. If I open from the command line again after that it opens on the release notes page as before.

  4. cemsbr commented on Apr 16, 2015

    @cemsbr

    It is happening with me from 191 to 192 (ArchLinux).

  5. judahstevenson commented on Apr 16, 2015

    @judahstevenson

    hallelujah I was finally able to fix the behavior in my installation of atom. I stumbled across this forum discussion about cache in atom:

    https://discuss.atom.io/t/clean-cache-when-atom-starts/13196/5

    I closed atom, deleted all the content in ~/.atom/storage

    restarted atom via spotlight, then opened the repo that I had been experiencing the problem with. No files opened up by default, including the release notes view.

    When I posted my original comment I was on version 181/182 but I have kept current with releases, even though the problem persisted. I'm on 192 right now.

    It might be worth noting that prior to trying this solution I had also tried just nuking the entire repo and re-cloning but it had no effect.

  6. mark-hahn commented on Apr 16, 2015

    @mark-hahn
    Contributor

    Using the Restart and Update button on the release notes view doesn't properly restart and update.

    I don't see any such button in my Atom release notes page. Where is it supposed to be? I'm on atom 190 on Ubuntu 14.0.4.

    BTW, I haven't gotten an auto-update in months when on Windows. I'm now on Linux. Does it work differently than on Windows?

    I just tried clearing storage. I'll see if I get an update. If I don't I'll file an issue. I've been putting that off for a long time.

  7. winstliu commented on Apr 17, 2015

    @winstliu
    Contributor

    Linux doesn't have auto-updates yet.

  8. cemsbr commented on Apr 17, 2015

    @cemsbr

    @joshvickerson , it also worked for me. Before, I noticed that there is no Restart and Update button if atom is launched in a folder where it hasn't been launched before. Probably because there is no entry for that folder in the storage files.

    Definitely, it has something to do with the storage folder.

  9. mark-hahn commented on Apr 17, 2015

    @mark-hahn
    Contributor

    Linux doesn't have auto-updates yet.

    So I guess that is also why there are no update buttons.

    On Thu, Apr 16, 2015 at 9:05 PM, Carlos Eduardo Moreira dos Santos <
    [email protected]> wrote:

    @joshvickerson https://github.com/joshvickerson , it also worked for
    me. Before, I noticed that there is no Restart and Update button if atom is
    launched in a folder where it hasn't been launched before. Probably because
    there is no entry for that folder in the storage files.

    —
    Reply to this email directly or view it on GitHub
    #5692 (comment).

  10. ChristianGrech commented on Aug 5, 2015

    @ChristianGrech
  11. 69 remaining items

  12. FMJansen commented on Apr 7, 2018

    @FMJansen

    For me the problem persists as well (today on 1.25.0 to 1.25.1, happend on 1.24.x to 1.25.0 and other upgrades, too). OS X 10.11.6.
    /Users/floris/Library/Caches/com.github.atom.ShipIt/ShipIt_stderr.log:

    2018-04-07 21:20:49.608 ShipIt[3050:2331363] Moved bundle from file:///Applications/Atom.app to file:///var/folders/3v/jmkl1mjx2hb8b3lxt7hpsbz40000gn/T/com.github.atom.ShipIt.qBYd2aiF/Atom.app
    2018-04-07 21:20:49.608 ShipIt[3050:2331363] Moved bundle from file:///var/folders/3v/jmkl1mjx2hb8b3lxt7hpsbz40000gn/T/com.github.atom.ShipIt.3yuLNn5z/Atom.app to file:///Applications/Atom.app
    2018-04-07 21:20:50.922 ShipIt[3050:2331363] Couldn't remove owned bundle at location file:///var/folders/3v/jmkl1mjx2hb8b3lxt7hpsbz40000gn/T/com.github.atom.ShipIt.3yuLNn5z/Atom.app, error NSError { domain: NSCocoaErrorDomain, code: 4, description: "“Atom.app” couldn’t be removed.", failureReason: "The file doesn’t exist.", underlying error: NSError { domain: NSPOSIXErrorDomain, code: 2, description: "The operation couldn’t be completed. No such file or directory" }, userInfo: {
        NSFilePath = "/var/folders/3v/jmkl1mjx2hb8b3lxt7hpsbz40000gn/T/com.github.atom.ShipIt.3yuLNn5z/Atom.app";
        NSUserStringVariant =     (
            Remove
        );
    } }
    
  13. moleculezz commented on Apr 20, 2018

    @moleculezz

    Also still having the same problem

    2018-04-20 09:38:39.039 ShipIt[14495:481542] ShipIt quitting
    2018-04-20 09:41:57.123 ShipIt[15277:484548] Resuming installation attempt 3
    2018-04-20 09:42:02.556 ShipIt[15277:484549] Installation error: Error Domain=SQRLInstallerErrorDomain Code=-1 "Failed to copy bundle file:///Users/gdarends/Library/Caches/com.github.atom.ShipIt/update.suuaj0c/Atom.app/ to directory file:///var/folders/wq/2qbvwp710zb41gbd7_hz3cmh0000gn/T/com.github.atom.ShipIt.txK3D0js/Atom.app" UserInfo={NSSourceFilePathErrorKey=/Users/gdarends/Library/Caches/com.github.atom.ShipIt/update.suuaj0c/Atom.app/Contents/Resources/app.asar.unpacked, NSUserStringVariant=(
        Copy
    ), NSDestinationFilePath=/var/folders/wq/2qbvwp710zb41gbd7_hz3cmh0000gn/T/com.github.atom.ShipIt.txK3D0js/Atom.app/Contents/Resources/app.asar.unpacked, NSFilePath=/Users/gdarends/Library/Caches/com.github.atom.ShipIt/update.suuaj0c/Atom.app/Contents/Resources/app.asar.unpacked, NSUnderlyingError=0x7fbac4f7d370 {Error Domain=NSCocoaErrorDomain Code=4 "The file “app.asar.unpacked” doesn’t exist." UserInfo={NSSourceFilePathErrorKey=/Users/gdarends/Library/Caches/com.github.atom.ShipIt/update.suuaj0c/Atom.app/Contents/Resources/app.asar.unpacked, NSUserStringVariant=(
        Copy
    ), NSDestinationFilePath=/var/folders/wq/2qbvwp710zb41gbd7_hz3cmh0000gn/T/com.github.atom.ShipIt.txK3D0js/Atom.app/Contents/Resources/app.asar.unpacked, NSFilePath=/Users/gdarends/Library/Caches/com.github.atom.ShipIt/update.suuaj0c/Atom.app/Contents/Resources/app.asar.unpacked, NSUnderlyingError=0x7fbac4f7de20 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}, NSLocalizedDescription=Failed to copy bundle file:///Users/gdarends/Library/Caches/com.github.atom.ShipIt/update.suuaj0c/Atom.app/ to directory file:///var/folders/wq/2qbvwp710zb41gbd7_hz3cmh0000gn/T/com.github.atom.ShipIt.txK3D0js/Atom.app}
    
  14. metakermit commented on May 28, 2018

    @metakermit

    What @timrayers suggested here worked for me. Too bad this is still happening 3 years after the issue's been reported 😕

  15. stephenshutters commented on May 31, 2018

    @stephenshutters

    Dude. THANK YOU. That worked for me, @metakermit!

  16. framerate commented on Jul 6, 2018

    @framerate

    @metakermit 's suggestion of @timrayers' steps does indeed work. This is the #2 bug that makes me think "Maybe I SHOULD switch to VSCode" every time it happens (right behind the "why is ESLint taking 2 hours to lint this project" but I don't know for a fact that has anything to do with atom directly... just that VSCode lints it a lot faster :P

  17. chimit commented on Jul 6, 2018

    @chimit

    The only way to bypass this problem was described by @timrayers.

    It lasts for years without fixing.

  18. chimit commented on Oct 31, 2018

    @chimit

    @mnquintana, @50Wliu please, reopen this issue. The problem still takes place.

  19. morkro commented on Oct 31, 2018

    @morkro

    I also have this issue still. I accepted it as a quirk of Atom, but it sure is annoying. Takes me a couple of restarts every time Atom has an update.

  20. joelricci commented on Oct 31, 2018

    @joelricci
  21. jriesen commented on Oct 31, 2018

    @jriesen

    I've noticed in recent years that when you've downloaded an update to Atom and then close the editor, it immediately begins update installation via a ShipIt executable that runs silently in the background (you can see it in Activity Monitor). If you relaunch Atom before ShipIt is finished, you end up getting the old version, at which point it redownloads the update and the cycle begins anew. I've learned to wait and make sure ShipIt has actually finished installing the update and terminated (and sometimes it can take over a minute!) before relaunching Atom manually.

  22. morkro commented on Oct 31, 2018

    @morkro

    That's some great insight @jriesen! I wonder if Atom could just open a separate window in Electron with a loading indicator until ShipIt has finished the download. It might not be ideal, but at least it provides some feedback to the user on what is going on.

  23. chimit commented on Apr 26, 2019

    @chimit

    Was finally fixed in 1.36.1! I got Atom updated automatically the first time today since 2015 😀

  24. stephenshutters commented on Apr 26, 2019

    @stephenshutters

    I sure hope what you say rings true for me as well, @chimit.

  25. lock commented on Oct 23, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  26. locked as resolved and limited conversation to collaborators on Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions