16
18.7 Legacy Series / [SOLVED] All Aliases Missing - Still Visible in Rules but Not Editable
« on: November 03, 2018, 04:41:04 pm »
Thanks for the help Franco.
Looks like the offending alias was originally entered and accepted as a host, but it should have been a network(s).
This was the problematic section of /conf/config.xml:
<alias>
<name>WebDe</name>
<detail>Entry added Sun, 20 Mar 2016 18:52:05 -0500||Entry added Sun, 20 Mar 2016 19:45:47 -0500</detail>
<address>212.227.0.0/16 213.165.64.0/19</address>
<type>host</type>
<descr>web.de</descr>
</alias>
I then changed it to this:
<alias>
<name>WebDe</name>
<detail>Entry added Sun, 20 Mar 2016 18:52:05 -0500||Entry added Sun, 20 Mar 2016 19:45:47 -0500</detail>
<address>212.227.0.0/16 213.165.64.0/19</address>
<type>network</type>
<descr>web.de</descr>
</alias>
I then re-ran /usr/local/opnsense/mvc/script/run_migrations.php:
Keep version OPNsense\CaptivePortal\CaptivePortal (1.0.0)
Keep version OPNsense\Cron\Cron (1.0.1)
Keep version OPNsense\TrafficShaper\TrafficShaper (1.0.2)
Keep version OPNsense\IDS\IDS (1.0.1)
Keep version OPNsense\Proxy\Proxy (1.0.1)
Keep version OPNsense\Diagnostics\Netflow (1.0.0)
Keep version OPNsense\Backup\NextcloudSettings (1.0.0)
Keep version OPNsense\Routes\Route (1.0.0)
Migrated OPNsense\Firewall\Alias from 0.0.0 to 1.0.0
Keep version OPNsense\Monit\Monit (1.0.4)
Now all the aliases are again visible in the web gui and are editable.
Many thanks for the help and the incredible work you and all the developers do on OPNsense
ObecalpEffect
Looks like the offending alias was originally entered and accepted as a host, but it should have been a network(s).
This was the problematic section of /conf/config.xml:
<alias>
<name>WebDe</name>
<detail>Entry added Sun, 20 Mar 2016 18:52:05 -0500||Entry added Sun, 20 Mar 2016 19:45:47 -0500</detail>
<address>212.227.0.0/16 213.165.64.0/19</address>
<type>host</type>
<descr>web.de</descr>
</alias>
I then changed it to this:
<alias>
<name>WebDe</name>
<detail>Entry added Sun, 20 Mar 2016 18:52:05 -0500||Entry added Sun, 20 Mar 2016 19:45:47 -0500</detail>
<address>212.227.0.0/16 213.165.64.0/19</address>
<type>network</type>
<descr>web.de</descr>
</alias>
I then re-ran /usr/local/opnsense/mvc/script/run_migrations.php:
Keep version OPNsense\CaptivePortal\CaptivePortal (1.0.0)
Keep version OPNsense\Cron\Cron (1.0.1)
Keep version OPNsense\TrafficShaper\TrafficShaper (1.0.2)
Keep version OPNsense\IDS\IDS (1.0.1)
Keep version OPNsense\Proxy\Proxy (1.0.1)
Keep version OPNsense\Diagnostics\Netflow (1.0.0)
Keep version OPNsense\Backup\NextcloudSettings (1.0.0)
Keep version OPNsense\Routes\Route (1.0.0)
Migrated OPNsense\Firewall\Alias from 0.0.0 to 1.0.0
Keep version OPNsense\Monit\Monit (1.0.4)
Now all the aliases are again visible in the web gui and are editable.
Many thanks for the help and the incredible work you and all the developers do on OPNsense
ObecalpEffect