Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SG-1000 filesystem corruption on update

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    3 Posts 2 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      startaq
      last edited by

      Last Friday (2017-05-12) I wanted to update our SG-1000 box to the lastest version. The previous update had been done about a week ago. After starting the update with the web interface, I quickly got the message "System update failed". This didn't bother me much, since we I have seen this before and the update proceeds successfully in the background anyway. However, this time I got via mail the following message:

      There were error(s) loading the rules: /tmp/rules.debug:21: cannot define table bogonsv6: Cannot allocate memory - The line in question reads [21]: table <bogonsv6>persist file "/etc/bogonsv6"</bogonsv6>

      Followed two minutes later by the standard notice "Upgrade is complete.  Rebooting in 10 seconds.". The firewall didn't come back though. Investigation with the console port turned up filesystem corruption, with lots of messages like "read-only filesystem, cannot delete x". Unfortunately I can't give you the exact messages, since I'm managing this system remote and the person on the console port didn't save them.

      We have restored the firewall now with the help of an SD-Card and restored the config, so everything seems to be working normally again (one curious note: The assignment of the WAN and LAN ports seems to have switched around when restored the config).

      Is an issue like this known already? Is there any way to prevent this on future upgrades?

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        That isn't a general problem with current SG-1000 updates, but it's possible your SG-1000 caught a bad update on Friday. We've recently added some extra protection to the builder and upgrade code to prevent that sort of thing from happening, it's possible your previous update was from before that happened.

        If you were able to reimage the box and get back up and running then it probably is not a hardware issue. It should be safe to try updating it again.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • S Offline
          startaq
          last edited by

          Ok, that's good to know that there is some additional protection. I'll probably hold off further updates until the 2.4 final release though, since it's a right pain to restore it when you are 1000 km from the box :)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.