Cannot login after importing config
Hi
I managed to migrate my config from v6 to v7 and imported it without error.
The unit rebooted and I can connect to the webgui - after entering "admin" and "password", so the default credentials I am asked to change my password.
When I try to set my new password I get an error like this:
"An error has occurred but the cause could not be determined at this time."
Any ideas whats wrong here, this basically means I am locked out of the new unit for now
EDIT:
I thought since my first issue is resolved this new problem is basically also a new thread
Best Answer
-
preston All-Knowing Sage ✭✭✭✭
@blublub , So you are saying the prompt for changing the password is before you get in to the main GUI but after you login with admin/password?
What Firmware is the Gen7 Appliance on? make sure it is on the latest 7.0.1-5050-R2374 if not already,
if on a previous firmware, then upload the latest, boot with Factory Defaults then re-import the settings.
the only time I've seen this and the only thing that could possibly cause this, is if on your original configuration you have Enforce password complexity or OTP enabled on your previous configuration file, as otherwise you are not normally prompted to change the password when logging in for the first time after importing a config file, as you know the config file doesn't contain the password but it does contain the password settings,
So you are saying the prompt for changing the password is before you get in to the GUI but after you login with admin/password?
I would think very carefully before selecting Wipe Device unless you has a SonicWall Serial Cable handy and the correct image file from Support to put the firmware back on, you should only need the Factory Reset at most, you should never select Wipe Device unless SonicWall Support ask you to.
The reason Wipe device is an option is if you want securely wipe the device and remove everything from the appliance before selling or scrapping the device, as this was not an option on previous Generation appliances, so if you had created a backup on Gen 6 and then you Factory Default the appliance the settings backup was still there with no option to remove it, technically you could just factory reset the appliance then create another backup which would then overwrite the original, but with the option on Gen7 you are making sure there isn't anything left on there that could include sensitive data.
if it is the case that your original config file did contain password complexity requirements just log in to the original Gen 6 appliance under Administration/Login Security and disable the settings before exporting the config file, you might want to also enable SSH on the X0 Interface also before export just in case you need another way in.
0
Answers
Hi @blublub
has Config file different interface ip and management ports?? did you check?
If you dont know ip address, you should decrypt config file and read interface config. for manegement port you can use Advenced ip scanner.
Hi
No, the migration is a 1:1 migration so no different ports.
And as I said I see the login page, enter the default credentials (as it is after every migration) and then I am beeing asked to enter my new admin password (as usually) but after that I get this non specific error
@blublub Can you access via ssh or console? and could you try private windows with opera or chrome
SSH isnt available on that port - since I uploaded my ol FWs config X0 subnet is identical to the productrion network, so it is not connected and the additional Port I use for configuration SSH is disabled
Private widow has the same issue
so you should boot with safe mode and format flash after import config file.
Uh, you got me there - what? :-)
For a clean start I can do:
safe mode -> factory reset -> import migration config -> and then what? flash format? - is that a menu option in safe mode and will it keep my config?
You can see below link much more details for GEN 7
there is a "wipe the appliance options"
Hi @blublub, even if it turns out to be that you are not enforcing any Password restrictions, it does sound like there is corruption with the original config file, in this case I would recommend just manually rebuilding the config on the new appliance from scratch.
Yes thats what ahppened. Ill try again now :-(
Hi,
So after a couple of tries I did get it working!
Here is what I did:
TZ570 factory reset
Flash newest FW again
Factory reset
Remove password complexity from old Tz400 config and exported config
converted config 1:1 via migration tool
imported config to TZ570
and finally I could connect AND login - so far skipping through everythig I do not see any messed up setting or corrupt config