Pfsense 'Clear Package Lock' not working
-
I've had PFsense running for while and wanted to change from a 3.5in 500gb HD to a 2.5in 80gb I have. I first made a copy of the config from Back and Restore and installed a freshly downloaded ISO onto the 2.5in HD - I used Ventoy which VERY good BTW.
All went well with the new install until I restored the config.xml back in, everything is working apart from I get the annoying message -
'Packages are currently being reinstalled in the background.
Do not make changes in the GUI until this is complete.
If the above message is still displayed after a couple of hours, use the 'Clear Package Lock' button on the Diagnostics > Backup & Restore page and reinstall packages manually.(I left it overnight to reinstall itself)
Which never goes away even after a reboots. I've tried unlocking and click reinstall packages but that fails owing to a lock on another package, just gives an ID. I really don't want to manually start from square one as it seems pointless to have 'Backup and Restore'.
-
I've started over with a fresh install, reloaded all the packages I use first then ran a config reinstall and still I get the same package lock.
Any ideas what I can do ?
Clicking Start Service fails ...
-
This happens to me as well any time I try to restore packages from the config.
I found 2 solutions, neither are optimal:
-
Ignore the message, remove and reinstall the packages manually through the interface, then reboot. Your configs for the packages will be available. I'm sure this has the potential to cause a problem, but hasnt for me.
-
Restore everything BUT package configs from the backup, reinstall the packages, then restore the package configs. This is tedious obviously, but it lets you install the packages manually and then restore their configs on top.
Im wondering now if you could just install the packages as the first step, then restore the entire config. Never tried that but im assuming it would also solve the issue. I cant really try this since I have to restore my interface and PPPoE configs before I even have an internet connection, so I usually go with option 2. Just as a blind guess I would think this is probably the issue, packages probably get restored before all the other config areas necessary to have a working WAN connection, and arent marked for retry properly when the internet is available again. Just a complete guess though, I have no no real basis for it.
-
-
The solution that worked for me is here, https://forum.netgate.com/topic/156964/how-do-i-change-hard-drive-on-a-working-install?_=1604859343667