You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
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
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
Reacted by Moritz Kröger, Chris Swick, Ilias, Stefan Wrobel and Chimit
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.
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.
Reacted by Aakash, PAVEL TKACHEV, Stanislav Miklik, Sascha Künstler and Chris Keen
@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.
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
);
} }
@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
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.
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.
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!
Activity
mnquintana commentedon Feb 23, 2015
Which version of Atom?
joshvickerson commentedon Feb 23, 2015
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
judahstevenson commentedon Mar 26, 2015
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.
cemsbr commentedon Apr 16, 2015
It is happening with me from 191 to 192 (ArchLinux).
judahstevenson commentedon Apr 16, 2015
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/storagerestarted 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.
mark-hahn commentedon Apr 16, 2015
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.
winstliu commentedon Apr 17, 2015
Linux doesn't have auto-updates yet.
cemsbr commentedon Apr 17, 2015
@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.
mark-hahn commentedon Apr 17, 2015
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:
ChristianGrech commentedon Aug 5, 2015
69 remaining items
FMJansen commentedon Apr 7, 2018
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:moleculezz commentedon Apr 20, 2018
Also still having the same problem
metakermit commentedon May 28, 2018
What @timrayers suggested here worked for me. Too bad this is still happening 3 years after the issue's been reported 😕
stephenshutters commentedon May 31, 2018
Dude. THANK YOU. That worked for me, @metakermit!
framerate commentedon Jul 6, 2018
@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
chimit commentedon Jul 6, 2018
The only way to bypass this problem was described by @timrayers.
It lasts for years without fixing.
chimit commentedon Oct 31, 2018
@mnquintana, @50Wliu please, reopen this issue. The problem still takes place.
morkro commentedon Oct 31, 2018
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.
joelricci commentedon Oct 31, 2018
jriesen commentedon Oct 31, 2018
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.
morkro commentedon Oct 31, 2018
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.
chimit commentedon Apr 26, 2019
Was finally fixed in 1.36.1! I got Atom updated automatically the first time today since 2015 😀
stephenshutters commentedon Apr 26, 2019
I sure hope what you say rings true for me as well, @chimit.
lock commentedon Oct 23, 2019
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!