2.0RC1: Stuck with interface mismatch after upgrade
-
https://rcs.pfsense.org/projects/pfsense/repos/pfSense-smos/commits/9956b38ae11ca0abd75a367f54009052a2126181
Is this the fix for this Jim?
-
That's only in the ipv6 branch. I'm not sure if that would affect anyone else.
Probably not related to this.
-
First of all thank you guys and big sorry, had to work on other things - took a while to answer …
The problem is - of course - the config.xml.
I made a new VM with a clean RC1 on it. First I thought it was not possible to restore a 1.2.3 config to 2.0RC1. I run into an error when I tried. I also tried to restore the conf section by section - no error but nothing was restored as well.After I removed the following things from my conf (thx onhel) - then it worked:
<version>3.0</version>
<lastchange><theme>pfsense_ng</theme>
(system)
<optimization>normal</optimization>and fixing the interfaces (other dev names in the VM) and removing the packages I could restore the config. But when I boot up I get the following:
Fatal error: Call undefined function upgrade_000_to_001() in /etc/inc/config.lib.inc on line 405
Of course I can't post the hole config.xml here - it took me a while to wipe it of all personal data. I use a lot of certs here though (open vpn PKI, SSL certs for the machine, SSH keys, RADIUS auth keys) witch I replaced with XXX and so on. There is also a snort config witch I keep for sentimental reasons; but no snort installed and running (never got to to work properly).
Sorry, very long thing.Its to big and got truncated, I put it here:
http://files.m-box.de/DOWNLOAD/HELGE/config-pizzabox-test.mbox.loc-20110308195725.xml(please use save link as :)
Thanks,
helge</lastchange> -
You need that version tag, and the others aren't hurting it either.
Your problem is this:
<descr>SSH Zugang von außen</descr>
Get rid of the ß and it will parse correctly.
-
Get rid of the ß and it will parse correctly.
Hi jim,
did that - they seemed to have skipped my attation as I was using the wrong encoding while viewing the file… thanks for your attention!
That said - its sill not working. First time I uploaded the conf I was getting a very promising "convert config" message - after one hour of no change I just ctrl-c'ed it. After a reboot I end up with losts of errors from the RRD converter and no configuration at all.
-
Hmm, I haven't seen that happen before on anything I've done with a config restore/upgrade.
Was this from a fresh install, or over the top of a setup that you tried to restore previously?
It might be worth trying to wipe it and restore the config again.
-
Hi jim,
I'm testing this all the time in a VM and rolling back the snapshots - so I am always trying this from a "fresh install" if you want to say so.
The original config of course evolved over time; but I started with 1.2.3 - so no version change or rewritten config.
-
What are you rolling back to in the VM? 1.2.3 or a fresh 2.0-RC install?
-
To the fresh 2.0RC1 of course - the conf.xml is 1.2.3
-
Have you tried only removing the <installedpackages>section of the config and then restoring it?</installedpackages>
-
Yes, tried it with and without packages.
-
OK, earlier you said you tried that but you also removed the config version tag at the same time, which would have given you that upgrade error.
Just to be clear, did you try it without packages (and no other changes) or were you referring to the time you tried it that you mentioned in the original post?
-
Hi jim,
you where right! I removed the packages manually and maybe I forgot something. Today I started with a clean download. Seemed to work at fist glance - but at least the PPPoE config / VLAN Config / OpenVPN did not import.
But now I can start testing it at least ;)