Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Captive Portal» How to Migrate 1.2.3 CP users to 2.01 ?
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: How to Migrate 1.2.3 CP users to 2.01 ?  (Read 2145 times)
0 Members and 1 Guest are viewing this topic.
thafener
Jr. Member
**
Offline Offline

Posts: 70


View Profile
« on: June 20, 2012, 07:02:07 am »

Hi @ll

Is there a smooth way to migrate the users of my old 1.2.3 system to the new 2.01 box ?
Backed up CP info on the 1.2.3 side and to import it on 2.01 which worked for the CP
config but not for the users database.
I'd be glad if there was a way, entering 500 accounts by hand would be painful  Shocked

Thanks in advance

thafener
Logged
cmb
Administrator
Hero Member
*****
Offline Offline

Posts: 6028


View Profile WWW
« Reply #1 on: June 20, 2012, 08:42:30 am »

The only way items in the config get converted to the new format (such as CP users) is if the full 1.2.3 config is restored on 2.0.1. Could just restore it to a VM and pull the user manager part out of the backup afterwards and manually merge it if you don't want to restore the full config.
Logged

pfSense Commercial Support

Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
thafener
Jr. Member
**
Offline Offline

Posts: 70


View Profile
« Reply #2 on: June 20, 2012, 08:49:38 am »

Ok this could of course do the trick. I will try the VM workround...however once I have tried to upgrade my box
to 2.01 but the CP users could not login after...
We'll see if it works..
Logged
thafener
Jr. Member
**
Offline Offline

Posts: 70


View Profile
« Reply #3 on: July 03, 2012, 03:09:05 am »

Hi @ll

Installed 1.2.3 in a VM, restored my old system there and updated it to 2.01 after which went fine.
Now however I cannot find a way to backup the user section in order to restore it to my new
system.
Would a manual adaption of the backup file do the trick ?

Thanks thafener
Logged
Nachtfalke
Hero Member
*****
Offline Offline

Posts: 2421


View Profile
« Reply #4 on: July 03, 2012, 04:40:05 am »

Perhaps try to create one user on pfsense 2.01, backup this config and take a look where the users must be placed and if syntax changed.
And then you can just add all your users in the new file - restore this config - pfsense will reboot and then it should work.

I know that it is working - I used it when I had a package installed - deleted this package and wanted all the config entries be deleted, too.
But don't break the config (syntax) or you will get problems Wink
Logged
thafener
Jr. Member
**
Offline Offline

Posts: 70


View Profile
« Reply #5 on: July 10, 2012, 04:56:00 am »

Thank you Nachtfalke but all my attempts have failed so far, problem is that format between 1.2.3 and 2.01 is completely different...it is
going to be painful to migrate some 400 accounts...
Logged
ZAC
Sr. Member
****
Offline Offline

Posts: 347



View Profile
« Reply #6 on: July 23, 2012, 09:49:31 pm »

Thank you Nachtfalke but all my attempts have failed so far, problem is that format between 1.2.3 and 2.01 is completely different...it is
going to be painful to migrate some 400 accounts...

Sorry for my English, I'm using the google translator.

How can do that even if it painful?

But I need to migrate about 200 users, and in the Spanish forum nobody knows, if you told me like, I would greatly appreciate.
Logged
cmb
Administrator
Hero Member
*****
Offline Offline

Posts: 6028


View Profile WWW
« Reply #7 on: August 07, 2012, 04:37:52 pm »

You'll have to restore the full 1.2.3 config onto 2.0.1 for it to be converted. If you already have a 2.0.1 system in place and only want to add the users, restore the entire 1.2.3 config into a 2.0.1 VM, back up the resulting config, and merge the user portion into the other config.
Logged

pfSense Commercial Support

Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
ZAC
Sr. Member
****
Offline Offline

Posts: 347



View Profile
« Reply #8 on: August 13, 2012, 06:59:10 pm »

You'll have to restore the full 1.2.3 config onto 2.0.1 for it to be converted. If you already have a 2.0.1 system in place and only want to add the users, restore the entire 1.2.3 config into a 2.0.1 VM, back up the resulting config, and merge the user portion into the other config.


Look, display me this, I get it wrong?
Logged
ZAC
Sr. Member
****
Offline Offline

Posts: 347



View Profile
« Reply #9 on: August 14, 2012, 05:26:14 pm »

I've tried updating from 1.2.3 to 2.0.1 directly, and I got an error message. Video the error: http://www.youtube.com/watch?v=OwQU2moCmHE

I've also tried restoring the full configuration from 1.2.3 into 2.0.1 and I also got an error message. See screenshots above.

Both things I've tried on both a physical and on a virtual machine, and in both cases I get an error message.

What am I getting wrong?
« Last Edit: August 14, 2012, 05:28:16 pm by ZAC » Logged
jimp
Administrator
Hero Member
*****
Offline Offline

Posts: 12808



View Profile
« Reply #10 on: August 20, 2012, 01:58:03 pm »

http://doc.pfsense.org/index.php/Upgrade_Guide#International.2FSpecial_Characters_in_1.2.x_Configs
Logged

Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Donate to the project | My Wish List
ZAC
Sr. Member
****
Offline Offline

Posts: 347



View Profile
« Reply #11 on: August 22, 2012, 12:54:21 am »

It worked! It's funny! All of this trouble just because of a single 'ñ'.

Thank you!! thank you very much , seriosly!!!



It's upgraded now, but I can't enter webconfiguration. Why?, it doesn't even respond to ping, even though the IP address for LAN is assigned perfectly, and it connects the WAN perfectly, too
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.036 seconds with 20 queries.