Navigation

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

    How to Migrate 1.2.3 CP users to 2.01 ?

    Captive Portal
    5
    12
    4970
    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.
    • T
      thafener last edited by

      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  :o

      Thanks in advance

      thafener

      1 Reply Last reply Reply Quote 0
      • C
        cmb last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • T
          thafener last edited by

          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..

          1 Reply Last reply Reply Quote 0
          • T
            thafener last edited by

            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

            1 Reply Last reply Reply Quote 0
            • N
              Nachtfalke last edited by

              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 ;)

              1 Reply Last reply Reply Quote 0
              • T
                thafener last edited by

                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...

                1 Reply Last reply Reply Quote 0
                • ZAC
                  ZAC last edited by

                  @thafener:

                  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.

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmb last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • ZAC
                      ZAC last edited by

                      @cmb:

                      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?






                      1 Reply Last reply Reply Quote 0
                      • ZAC
                        ZAC last edited by

                        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?

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

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

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

                            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

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post