Hello,
I've have some custom packages that don't show on Menu (Web UI) immediatelly after installation. I've noted if a reboot is done these menus loads OK. I was using those packages on 16.x versions, is there something that needed to be done on 18.7 to load the menus in Web UI?
I've noted that if I remove the cache file: /tmp/opnsense_menu_cache.xml solves the problem, but I want to do it in a "clean way"
Quote from: juliocbc on October 11, 2018, 12:38:08 AM
I've noted that if I remove the cache file: /tmp/opnsense_menu_cache.xml solves the problem, but I want to do it in a "clean way"
That's the way how to do it. In case of an update / installation this is done automatically.
But it is an installation, right? I'm installing this packages using pkg add
, is there some another way to install and reload this menu cache?
Run this:
# /usr/local/etc/rc.configure_plugins
Your old plugins have embedded +POST_INSTALL and +PRE_DEINSTALL scripts and when you don't rebuild them on 18.7 they do not know about the new cool scripts to call! :)
Cheers,
Franco
Thanks Franco!!
I'll update my cool scripts!! ;D