Recovering the GUI after a failed firmware install

Recovering the GUI after a failed firmware install

If for some reasons after updating the Web-GUI is broken, but the device is still accessible via ssh, the GUI can be recovered.

 

Analyzing the GUI problem

There are some known issues which can cause the GUI not to start, which sometimes can arise after an unsuccessful update. One reason is, that some libraries which are essential for the webserver haven’t been copied.

Login via ssh.

Check if the files libcrypto.so.1.0.0. and libssl.so.1.0.0 are contained:

ls -l /home/admin/lib/ -r-xr-xr-x 1 admin admin 1650780 May 9 2023 libcrypto.so.1.0.0 -r-xr-xr-x 1 admin admin 358600 May 9 2023 libssl.so.1.0.0 drwxrwxr-x 2 admin admin 0 Jan 1 00:01 php

If not, download following file and copy it to the /tmp directory of the gateway:

https://www.beronet.com/wp-content/uploads/downloads/berofix/ddflash_images/sslcrypt-recovery.tar.gz

cd /home/admin mount -o remount,rw /home/admin tar xzf /tmp/sslcrypt-recovery.tar.gz ls -l /home/admin/lib/ -r-xr-xr-x 1 admin admin 1650780 May 9 2023 libcrypto.so.1.0.0 -r-xr-xr-x 1 admin admin 358600 May 9 2023 libssl.so.1.0.0 drwxrwxr-x 2 admin admin 0 Jan 1 00:01 php

 

Now the files must be linked in the /usr/lib folder

cd /usr/lib/ mount -o remount,rw /usr/lib/ ln -s /home/admin/lib/libcrypto.so.1.0.0 ln -s /home/admin/lib/libssl.so.1.0.0 #try to restart the webserver /etc/init.d/S60httpd stop /etc/init.d/S60httpd start

Check if you can access the GUI now.

 

 

 

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