Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - teosoft

#1
Opnsense 22.7.6 cannot be upgraded to 22.7.8

The upgrade proceeds as always, but the system version stays at 22.7.6.

There's additional upgrade available after that, with the message:
   
"There are 12 updates available, total download size is 0B."

Again the additional upgrade proceeds as usual, only to be offered again.

I rebooted a few times but it didn't help, either.
#2
For the record, I have the same hardware and the same problem.
I see CPU usage at 100%

The only way to make it work I've found so far is to switch to a backup hardware and not upgrade to OPNsense 22.1.2_1-amd64.

Backup hardware is running OPNsense 22.1.1_3-amd64



#3
Patience is not a virtue here; answering my own question.

Yes it worked for me. I followed these steps:

1. Backup your configuration - most likely you won't need it, but do it anyway.
2. Boot from USB stick with installer. Do not remove/disconnect your drive(s)
3. Upon boot, watch for import_config and import - IMPORTANT - failing this step will leave you with default configuration
4. Wait until login prompt with instructions to login as either root or installer
5. Optional - let your box run live version with your configuration. Test it. Some services won't work, I'll explain later
6. Login as installer. If you logger asa root, logout first, duh.
7. Select your keyboard layout
8. Now in in main installer window, select [ZFS] (that was my goal)
9. Do not select Import - it hangs. Waited twice for long enough to confirm hanging
10. Proceed with install. First thing you'll see is copying your configuration or something to that meaning
11. After install, remove installation media and reboot.
12. Verify that your setting were migrated - mine were
13. IMPORTANT - some plugins are not included with installer. Go to System, Status, Resolve Plugins. It will download missing plugins.
14. Voila, you're done


For me, step 13 was problematic because I run HAProxy in front of WebGUI, and because the HAProxy plugin was not installed, I had to remember how to reach WebGUI bypassing HAProxy. After I logged to the WebGUI, everything was easy.

Note to developers/maintainers - excellent migration implementation. You might want to add a menu item to a CLI, the one that shows when you ssh to the system and become root. The menu, #14 would offer to resolve plugins conflicts, just like WebGUI counterpart - that wold allow me to avoid logging on to WebGUI without functioning HAProxy.

Now I must say, I LOVE OPNSENSE!  :D







#4
Hi all, I'm looking for advice on the following:

here's what I have:

Fully functional 21.1 setup, everything is configured over long time period. Config backups, etc.

here's what I want to do:

1) Switch to ZFS
2) Retain configuration
3) Avoid hassles

here's the plan:

Download 21.7, create a USB stick and install from it. I want both reformat the only drive in the system, from UFS to ZFS and import config and all the rest say using opnsense-importer.

I think this might not be possible because opnsense-importer reads from the UFS (/conf/*) drive first, and in my case, it's about 150MB.

Unless opnsense-importer stores it all of /conf/* in some magic location (say, ramdisk) before reformatting the entire drive to ZFS, which I don't know if it does, my plan does not seem to work.

I can experiment because I already have an identical system upgraded to 21.7, running on UFS as it was upgraded from 21.1. Thus I'm not afraid of experimenting, but the time is of value here.

TIA!