OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] Update from .7.12 -> .7.12-1 failed - file system read only
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Update from .7.12 -> .7.12-1 failed - file system read only  (Read 4724 times)

4r7ur

  • Newbie
  • *
  • Posts: 18
  • Karma: 5
    • View Profile
[SOLVED] Update from .7.12 -> .7.12-1 failed - file system read only
« on: January 30, 2018, 02:34:27 pm »
today I started the upgrade from 17.7.1 to 17.7.12-1 on my apu2c4. During the upgrade process the appliance froze , so I did a reboot from the console after 30 minutes.
Since then the GUI does not start, on the console I see this problem when I try to upgrade again manually:

/usr/local/etc/rc.firmware.subr: cannot create /tmp/pkg_upgrade.progress: Read-only file system
A firmware update is currently in progress.

Just a note what also happened last night. I ran a firmware upgrade on the apu2c4, this competed successfully, after that I was able to work for about an hour before going to sleep. Some time between 3 and 6 am the opnsense hung itself up. It was not reachable through network although from an outside ipsec-vpn I slowly was able to access the network switch inside my network. After a hard power-off reboot everything was working fine until the opnsense upgrade as described above.

What I tried to do now:

using the shell execute twice
mount -uo rw /
touch /root/force_fsck

Yet this did not help, file system check seems not to work and when booting back the file system still is read only. With my limitied unix knowledge I'm stuck now. Does anyone have an idea how to get the file system back into rw mode, run a file system check and bring the opnsense back to life?

Thanks,
Artur
« Last Edit: January 30, 2018, 05:40:58 pm by 4r7ur »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1171
    • View Profile
Re: Update from .7.12 -> .7.12-1 failed - file system read only
« Reply #1 on: January 30, 2018, 03:04:04 pm »
Hi Artur,

The system will attempt to run fsck on boot (it will print any errors so check the console if you can), but likely it can't recover from the corruption and prevents read-write.

Back up your config and try a 18.1 installer import configuration + guided install to reformat the disk while retaining your settings.

But it might be that your disk is dying.


Cheers,
Franco
Logged

4r7ur

  • Newbie
  • *
  • Posts: 18
  • Karma: 5
    • View Profile
Re: Update from .7.12 -> .7.12-1 failed - file system read only
« Reply #2 on: January 30, 2018, 05:39:41 pm »
Big Thank You!

This
Quote
Back up your config and try a 18.1 installer import configuration + guided install to reformat the disk while retaining your settings.
did the trick, the device is up and running again.

And the order for a new disk is placed as well, it never hurts to have some backup hardware at hand. As soon as I have some time, I need to check what I can find out about the status of the existing disk

Cheers,
Artur
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] Update from .7.12 -> .7.12-1 failed - file system read only
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2