OPNsense Forum

English Forums => General Discussion => Topic started by: pah on June 08, 2017, 01:32:10 pm

Title: [FIXED] Config restore doesn't work!
Post by: pah on June 08, 2017, 01:32:10 pm
Hello!

This days I'm really unhappy! I hope some of you can help me!

What happened: 2 days ago power interruption during normal operation (since 04/2015) on my APU (AMD, 2GB, 3LAN, ...) with OPNsense 15.1.9 (i think so) from "PC Engineers" like this I bought here:
https://shop.tronico.net/Embedded-Computer/PC-Engines/APU-Mainboards/APU-2C0-system-board.html
(also see attachment, only 2 cores)

As power was OK again the device booted up and nearly everything was fine, only one vlan didn't come up anyway. So I decided to upgrade because I had time.

Started upgrade and it ran and ran and ran. After 2,5h I gave up (CPU Load was 1 but nothing more happened) and rebooted via WebGUI.

After this the device didn't come up anyway! :-(

OK. I took the SD and copied the original image on it to restore the last config and have a second try to upgrade or not because everything worked fine for 2 years.

After bootig up OPNsense I tried to restore my configuration backup from April this year. The APU rebooted and OPNsense came up again with the initialitaion installation. I tried again and again, didn't work.

Then I tried to manually setup a basic configruation. After reboot the initialitaion installation came again.
I also tried a 2nd SD card as I thought the original card may be was damaged by the power outage. But also no configuration can be restored or saved! :-(

In short words: I'm not able to restore my configuration now!? What can be the problem?

Is there may an other hardware error (memory) way the restore can not be saved? In the console output I didn't see any errors. And during manual configuration everything works fine.

Isn't it possible to save the configuration directly as /usr/local/etc/config.xml ?

Please give me a hint what issue that could be or what I may have forgotten during restore.

Unfortunely it seems that I also destroyed my private laptop during copying the OPNsense image to the SD so I have to take my laptop from work to do this and so I may can not answer quickly to questions but I will do this asap!

UPDATE: fixed! In shot words: a config can not be stored without an installation and installation needs a related storage. :)

Thanks and best regards!

pah