No logs are written and fatal php error on start

Started by athilopi, July 24, 2025, 09:32:45 PM

Previous topic - Next topic
Quote from: franco on August 05, 2025, 07:50:31 AMI'm not sure what the problem with the logs is. If you don't have any have you tried the /var/log MFS setting to confirm it's not a disk issue?


Cheers,
Franco
Hi, thank you so much. First of all the logging problem was resolved due to your newest commit. Now every log directory and logfile was created. Unbound is working as well. A small BUT, beacuse there is still a PHP error. But I think that's a small one.

[05-Aug-2025 20:13:29 Europe/Berlin] [gateway_item.9fa0ffdd-effa-46c7-acd7-72e5aa974556.name] A value is required.

Ok glad to hear.

You can inspect your gateways from the console one by one starting at 0:

# pluginctl -g OPNsense.Gateways.gateway_item.0

The one with the matching @attributes uuid value is the one that needs a proper name. Just edit the /conf/config.xml for that. The name is usually something like WAN_DHCP or so.

# pluginctl -g OPNsense.Gateways.gateway_item.0.name

This lists only the name to see if your edit was ok.


Cheers,
Franco

Quote from: franco on August 05, 2025, 09:15:38 PMOk glad to hear.

You can inspect your gateways from the console one by one starting at 0:

# pluginctl -g OPNsense.Gateways.gateway_item.0

The one with the matching @attributes uuid value is the one that needs a proper name. Just edit the /conf/config.xml for that. The name is usually something like WAN_DHCP or so.

# pluginctl -g OPNsense.Gateways.gateway_item.0.name

This lists only the name to see if your edit was ok.


Cheers,
Franco

Hi, I tried pluginctl -g OPNsense.Gateways.gateway_item. is doing nothing:

root@OPNsense:~ # pluginctl -g OPNsense.Gateways.gateway_item.0
root@OPNsense:~ # pluginctl -g OPNsense.Gateways.gateway_item.1
root@OPNsense:~ # pluginctl -g OPNsense.Gateways.gateway_item.2
root@OPNsense:~ # pluginctl -g OPNsense.Gateways.gateway_item.3
root@OPNsense:~ # pluginctl -g OPNsense.Gateways.gateway_item.4
root@OPNsense:~ # pluginctl -g OPNsense.Gateways.gateway_item.5
root@OPNsense:~ # pluginctl -g OPNsense.Gateways.gateway_item.6
root@OPNsense:~ # pluginctl -g OPNsense.Gateways.gateway_item.7
root@OPNsense:~ # pluginctl -g OPNsense.Gateways.gateway_item.8
root@OPNsense:~ # pluginctl -g OPNsense.Gateways.gateway_item.9
root@OPNsense:~ # pluginctl -g OPNsense.Gateways.gateway_item.10

Hmm, if there are no gateway_item entries then the whole list is empty and I think you can safely ignore it as you haven't stored a gateway then.

# pluginctl -g OPNsense.Gateways


Cheers,
Franco

It seems there's no gateway at all.

# pluginctl -g OPNsense.Gateways show's nothing as well...