Fix error "Extracting VERSION file failed. Leaving."

Fix error "Extracting VERSION file failed. Leaving."

Unfortunately in some older firmware versions the firmware image folder is not located where the installer expects it. The installer tries to create a link to the correct place, but fails because the partition is mounted read-only. We created an user app which can be installed via the user app mechanism which might help to fix this issue.

 

This is what the error state looks like:

fixinstall01.png

 

The user app can be downloaded here:

https://www.beronet.com/wp-content/uploads/downloads/berofix/special/fixinstalldir.tar.gz

 

To install it, click on market:

tutorial01.png

 

Then upload the file, click the Upload file button:

tutorial02.png

After uploading you might need to switch back to the Get apps tab, confirm the install:

tutorial03.png

When installation is finished, it should look like this:

tutorial04.png

You now should have an app called fixinstalldir in the menu:

tutorial05.png

Click on the fixinstalldir app link, and you should get a link to the actual action:

tutorial06.png

Click this link. If all went well, the normal firmware installer should work again.

 

If you checked the installer is working again, you can delete the app again.

tutorial07.png

 

 

 

Other methods

If the user app is not working, one way to get out of this, is to contact the beroNet support team and allow ssh access for a short moment

But if you already did a full reset and are in the recovery GUI there is a method with which this can be resolved. But it is a little tricky since it needs fast action and does not always work.

 

Steps to take

In the recovery GUI is the menu point Reset. While doing a Reset of the Root File System this partition is mounted read-writable for a short moment. If you try to install the firmware exactly in this moment, the installer can fix the folder. But usually it takes some tries, until it works.

If possible, create a backup of your configuration before you attempt this.

 

So how to do it:

  • Under Reset Management check all the checkboxes

  • With the TAB-key navigate to the the Reset Button to make it the selected button, so that pressing the RETURN-key on the keyboard would trigger the Reset action (see screenshot)

fixinstall02.png

Open a second browser window with the update tool and upload the firmware, so the confirmation pop-up is shown. Navigate to the OK button with the TAB-key, so the the OK button is selected and pressing the RETURN-key would trigger the action (see screenshot)

fixinstall03.png

 

  • Now you have two windows where pressing the Return key directly causes an action

  • Press the Return key on the Reset-Page and immediately Alt-Tab to the update tool window and press the Return button again, this must be as fast as possible (Return-AltTab-Return)

  • In most cases this will fail, but every now and then it works.

  • With a little bit of luck, the installer fixes the folder, resolving the problem

  • If the error is still there, just use the back button on the updater page, no need to re-upload the firmware, then try the same steps again

  • The Reset action takes a little longer when performed the first time

  • Usually, when done fast, this works with less than 10 attempts

 

If you need scheduled remote assistance, you can request our on-demand support services: https://www.beronet.com/support