Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teach the updater to resume interrupted updates #1

ctrueden opened this Issue Apr 30, 2014 · 1 comment


None yet
1 participant
Copy link

ctrueden commented Apr 30, 2014

When an update is interrupted, the update/ directory is still in place. The Updater therefore would refuse to launch without a restart, and -- what is worse -- a restart of ImageJ would copy the (possibly incomplete) files into place.

Teach the Updater to detect when an update was interrupted and re-checksum the downloaded files, delete the incomplete ones, and continue.

Teach the launcher to ignore incomplete update/ directories (best bet: use a different name until the update is done, similar to the common file system-based locking pattern we already apply for db.xml.gz when uploading).


This comment has been minimized.

Copy link
Member Author

ctrueden commented Apr 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.