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

Auto-update broken: Updating 0.9.6 to 0.9.7 fails #50

Closed
nlmarco opened this issue Jun 28, 2016 · 4 comments
Closed

Auto-update broken: Updating 0.9.6 to 0.9.7 fails #50

nlmarco opened this issue Jun 28, 2016 · 4 comments
Assignees
Labels
Milestone

Comments

@nlmarco
Copy link
Contributor

nlmarco commented Jun 28, 2016

java.io.IOException: entry 'backup/co.codewizards.cloudstore.server-0.9.6.backup-ipzjduva.tar.gz' closed at '65814528' before the '65818758' bytes specified in the header were written
at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.closeArchiveEntry(TarArchiveOutputStream.java:348) ~[commons-compress-1.7.jar:1.7]
at co.codewizards.cloudstore.updater.TarGzFile.writeTar(TarGzFile.java:110) [co.codewizards.cloudstore.updater-0.9.6.jar:na]
at co.codewizards.cloudstore.updater.TarGzFile.writeTar(TarGzFile.java:114) [co.codewizards.cloudstore.updater-0.9.6.jar:na]
at co.codewizards.cloudstore.updater.TarGzFile.compress(TarGzFile.java:73) [co.codewizards.cloudstore.updater-0.9.6.jar:na]
at co.codewizards.cloudstore.updater.CloudStoreUpdater.run(CloudStoreUpdater.java:137) [co.codewizards.cloudstore.updater-0.9.6.jar:na]
at co.codewizards.cloudstore.updater.CloudStoreUpdater.execute(CloudStoreUpdater.java:76) [co.codewizards.cloudstore.updater-0.9.6.jar:na]
at co.codewizards.cloudstore.updater.CloudStoreUpdater.main(CloudStoreUpdater.java:48) [co.codewizards.cloudstore.updater-0.9.6.jar:na]

@nlmarco nlmarco added the bug label Jun 28, 2016
@nlmarco
Copy link
Contributor Author

nlmarco commented Jun 28, 2016

Unfortunately, this problem cannot be solved, because the old updater (in 0.9.6) performs the update, no matter what we do in 0.9.7 or newer. A manual update is thus needed.

However, we must still fix this in order to make sure that the update from 0.9.7 onwards is going to be fully functional.

@nlmarco
Copy link
Contributor Author

nlmarco commented Jun 28, 2016

Hmmm... I think this bug was already fixed by me on 2015-10-06. The version 0.9.6 was released on 2015-04-07.

Hence: Sorry, everyone. You must perform a manual update. The version 0.9.7 should in the future be able to update itself correctly, again.

@nlmarco nlmarco closed this as completed Jun 28, 2016
nlmarco added a commit that referenced this issue Jun 28, 2016
Added test for CloudStoreUpdater.
@nlmarco
Copy link
Contributor Author

nlmarco commented Jun 28, 2016

I added a JUnit test for CloudStoreUpdater to make sure, this error does not happen again.

@nlmarco nlmarco added this to the 0.9.7 milestone Aug 15, 2016
@nlmarco
Copy link
Contributor Author

nlmarco commented Aug 15, 2016

IMPORTANT: YOU MUST MANUALLY UPDATE!!!

Because of this bug, we temporarily disabled the auto-update. But we're going to enable the auto-update on 2016-09-01 (or later, just as we find the time to work on CloudStore).

If you do not manually upgrade your installation until then, you're going to face an endless loop!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant