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

    Upgrade to 2.0RC fails on Alix due to Network Interface Mismatch

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    4 Posts 3 Posters 3.3k 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.
    • D
      Dr_Jekyll
      last edited by

      Hi all,
      i tried to upgrade my alix (with 3 vr interfaces) from 1.2.3 RELEASE (nanobsd) to 2.0 RC1 nanobsd (2G). It seemed to work fine at first but on reboot i got this message:

      –------------------------------------------------------
      Network interface mismatch -- Running interface assignment option.
      vr0: link state changed to UP
      vr1: link state changed to UP
      vr2: link state changed to DOWN

      Valid interfaces are:

      vr0  00:0d:b9:XX:XX:XX  (up)  VIA VT6105M Rhine III 10/100BaseTX
      vr1  00:0d:b9:XX:XX:XX  (up)  VIA VT6105M Rhine III 10/100BaseTX
      vr2  00:0d:b9:XX:XX:XX  (up)  VIA VT6105M Rhine III 10/100BaseTX

      I reassigned the Interfaces then, but to no avail, i received the following errors:


      The interfaces will be assigned as follows:

      WAN  -> vr1
      LAN  -> vr0
      OPT1 -> vr2

      Do you want to proceed [y|n]?y

      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 323

      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 324

      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 325

      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 382

      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 383

      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 384

      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 396

      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 398

      Warning: Cannot unset offset in a non-array variable in /etc/inc/config.console.inc on line 405

      Warning: Cannot unset offset in a non-array variable in /etc/inc/config.console.inc on line 408

      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 409

      Writing configuration…
      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 495

      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 498

      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 504

      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 505

      Warning: Invalid argument supplied for foreach() in /etc/inc/xmlparse.inc on line 211
      done.

      Network interface mismatch -- Running interface assignment option.


      ...and then it starts again in a loop (alway asks me to assign interfaces).

      Has anybody an idea how to solve that or is it a bug?

      Thanks and regards,
      Christoph

      1 Reply Last reply Reply Quote 0
      • D
        Dr_Jekyll
        last edited by

        Replying to myself here, i just checked my 1.2.3-config and found i had used 2 "Umlaute" in the description-field of the filter section. Could this be the cause for this also?

        Thanks again,
        Chris

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

          Yes, that is the cause - the special characters were not properly handled in the 1.2.3 config and broke the XML spec. It's handled better in 2.0, but importing them can still fail because the old config will not parse properly.

          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
          • H
            hofimax
            last edited by

            Hi!

            I've the same problem! My question: Special charachters are also _ or -  ??? Can that be my problem?

            Greets

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