You are here

Issues with the update if there is not enough space, maybe during the update.

4 posts / 0 new
Last post
Anton_D
Offline
Last seen: 2 months 3 weeks ago
Translator
Joined: 2018-01-20 12:43
Issues with the update if there is not enough space, maybe during the update.

I had the following issue last week: after starting the PC and PA Platform, the updater for potable Firefox was started. At the same time the Firefox update was running, the other updates, like OS updates, also kicked in. So there was not enough space for the Firefox update, but there was no error message from the updater. As I started Firefox afterward, the platform informed me about an incomplete installation of Firefox and suggested I manually download it again.

Here are two questions: is it possible in this case to suggest not only the manual download but also a download over the updater once again? Like the update failed, do we have an old and therefore updatable version?

Another question: is it possible to test the amount of free space before updating? Or is it already done, but the space was missing during the update process?

I once again like to suggest some kind of transaction here, so we could roll back to the working version in case of some troubles during the update. But I think this would be too complex?

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 16 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Installer Check

The installer checks free space before starting to update/install, but doesn't check again during. So, if you run out of space as it's trying to install, it'll fail and can't roll back.

Eventually a 'reinstall' option within the PA.c Platform will be available but I haven't had time to work on it.

Sometimes, the impossible can become possible, if you're awesome!

Anton_D
Offline
Last seen: 2 months 3 weeks ago
Translator
Joined: 2018-01-20 12:43
So, as I thought, this

So, as I thought, this happens during the update itself. Therefore, it is very hard to prevent it. And we don't have transaction management here. So the only improvement that is possible here is an invalidation of an incomplete installation and a re-download of the software? Do I summarize here correctly?

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 16 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Correct

Correct. And as NSIS itself, which the PA.c Installer is based on, doesn't support any of this, it'd be entirely up to me to code.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments