Closed edisoncks closed 5 years ago
It persists the envs directory. Are there other directories that need to be persisted?
I have installed anaconda since before the persist feature exists. What I did when upgrading previously was to copy/move env directory from old version to new version manually. However when upgrading to 2019.07, scoop just deleted the old version without prompting, hence my env directory is not preserved.
On Tue, 6 Aug 2019, 4:18 am Ross Smith II, notifications@github.com wrote:
It persists the envs https://github.com/lukesampson/scoop-extras/blob/16994326a31d071262c28c61ad518db622f3b330/bucket/anaconda3.json#L32 directory. Are there other directories that need to be persisted?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lukesampson/scoop-extras/issues/2572?email_source=notifications&email_token=ADA625AJB7JYHK6CB3MSKKLQDCDKRA5CNFSM4IJHF2AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3S6NXY#issuecomment-518383327, or mute the thread https://github.com/notifications/unsubscribe-auth/ADA625BOYKBF5X4FWJFDDVDQDCDKRANCNFSM4IJHF2AA .
Yuk. Sorry you lost data. If you have a backup, you can copy it into the new envs directory, and you should be OK on future upgrades.
It's ok. By the way, is it the intended behavior to delete older version when updating to newer version? This doesn't seem to happen when I update other applications.
On Tue, Aug 6, 2019 at 9:41 AM Ross Smith II notifications@github.com wrote:
Yuk. Sorry you lost data. If you have a backup, you can copy it into the new envs directory, and you should be OK on future upgrades.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lukesampson/scoop-extras/issues/2572?email_source=notifications&email_token=ADA625GMEGGJJGZE4YWZPXTQDDJENA5CNFSM4IJHF2AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3TRVGI#issuecomment-518462105, or mute the thread https://github.com/notifications/unsubscribe-auth/ADA625E7SSEGYDQO2EKFX23QDDJENANCNFSM4IJHF2AA .
No, it's not usual way to delete previous version. This only be done after you run scoop cleanup
. Updating only redirects current
link.
@edisoncks Can you check if the directory C:\users\you\scoop\apps\anaconda3\2019.03\envs
exists?
@rasa Nope, the entire 2019.03 directory is gone.
That’s because the uninstall function using their installer here.
What’s weird is the 2019.07 update didn’t change anything that should cause your issue.
The persist and uninstaller were added here in 2018.12.
@edisoncks Can you check if the directory C:\users\you\scoop\persist\anaconda3\envs
exists?
@rasa The ~\scoop\persist\anaconda3\env
directory exists. The envs that I have recreated are located in this directory.
Upgrading anaconda3 from 2019.03 to 2019.07 removes 2019.03 without prompting and does not preserve existing environments.