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 - dstr

#1
cleaned everything related to zenarmor, package and ini. still lost in the single boot shell.

which lead me to this one:
"There seems to be a race with unpacking files and including them below. So an explicit exec() is used to force a sync to make sure the files have their new content ready on the FS."

unfortuantly it seems this workaround does not apply to OPNsense\Core\Backend
#2
it is possible that its happing because of unclean removal of the zenarmor package.
the machines were the upgrade fails, all coming back with this nasty spaming mongodb error:

[04-Sep-2026 10:18:09 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20250925/mongodb.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so"), /usr/local/lib/php/20250925/mongodb.so.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so.so")) in Unknown on line 0
[04-Sep-2026 10:18:13 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20250925/mongodb.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so"), /usr/local/lib/php/20250925/mongodb.so.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so.so")) in Unknown on line 0
[04-Sep-2026 10:18:13 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20250925/mongodb.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so"), /usr/local/lib/php/20250925/mongodb.so.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so.so")) in Unknown on line 0
[04-Sep-2026 10:18:13 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20250925/mongodb.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so"), /usr/local/lib/php/20250925/mongodb.so.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so.so")) in Unknown on line 0
[04-Sep-2026 10:18:13 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20250925/mongodb.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so"), /usr/local/lib/php/20250925/mongodb.so.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so.so")) in Unknown on line 0
[04-Sep-2026 10:18:13 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20250925/mongodb.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so"), /usr/local/lib/php/20250925/mongodb.so.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so.so")) in Unknown on line 0
[04-Sep-2026 10:18:13 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20250925/mongodb.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so"), /usr/local/lib/php/20250925/mongodb.so.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so.so")) in Unknown on line 0
[04-Sep-2026 10:18:13 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20250925/mongodb.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so"), /usr/local/lib/php/20250925/mongodb.so.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so.so")) in Unknown on line 0
[04-Sep-2026 10:18:14 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20250925/mongodb.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so"), /usr/local/lib/php/20250925/mongodb.so.so (Cannot open "/usr/local/lib/php/20250925/mongodb.so.so")) in Unknown on line 0

will try to remove the /usr/local/etc/php/ext-20-mongodb.ini file prior the upgrade
#3
yes seems to be fine on another machine, just taking ages to complete.
still trying to figure out whats causing the uncaught class error.
currently it looks like unclean zenarmor removal
#4
this is pure pain. now this happening:

[19/310] Upgrading os-cpu-microcode-amd from 1.1 to 1.1_1...
[19/310] Extracting os-cpu-microcode-amd-1.1_1: ... done
Reloading firmware configuration
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)




failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
failed waiting for configd (doesn't seem to be running)
^CLaunching the init system...[20/310] Deinstalling opnsense-26.1.11_10...
configd not running? (check /var/run/configd.pid).
Resetting root shell
done.


see ^C I had to manually ctrl+c
#5
Any recommendations on how to do a safe upgrade?
Im using zfs btw
would a fsck before upgrading help?
#6
Update from 26.1.11_10 to 26.7.1_1 fails with error:

Fatal error: Uncaught Error: Class "OPNsense\Core\Backend" not found in /usr/local/etc/inc/leg....


after reboot cmd, it is booting into 26.7.1_1.
You need to have a console, otherwise is hangs there forever.
#7
26.1, 26,4 Series / Ipsec Gui children scrollbar
June 11, 2026, 10:56:37 AM
Hello,

see screenshot
3840x2160 resolution, plenty of space but ipsec child configuration still has a scrollbar. after third entry, the whole table is getting smashed


thanks
#8
Youre right. It seems only the factory image of the DEC2770 has no DHCP enabled anymore.
I will do a business support request.
#9
Hello,
enabled DHCP server is missing in the default factory config after drop off ISC. Means for initial configuration you must now know the default IP and Gateway.
Would be nice to have that fixed.

#10
1.: url = f"{self._api_base}/zones/{zone_id}/rrsets/{record_name}/{record_type}"
2(legacy): url = f"{self._api_base}/records/{record_id}"
3(working): url = f"{self._api_base}/zones/{zone_id}/rrsets/{record_name}/A/actions/set_records"


verify here:
https://github.com/opnsense/plugins/blob/master/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/hetzner.py

legacy code is still in this python script, somewhere below
#11
it is set to native and HetznerDNS not HetznerDNS legacy
#12
it seems the ddclient hetznerDNS is using the wrong API endpoint when it comes to update an record that is already added. There is:

https://docs.hetzner.cloud/reference/cloud#tag/zone-rrsets/update_zone_rrset
Update an RRSet�Copy link
Updates an RRSet in the Zone.
(this is used by the script)

and there is:
https://docs.hetzner.cloud/reference/cloud#tag/zone-rrset-actions/set_zone_rrset_records
Set Records of an RRSet�Copy link
Overwrites the resource records (RRs) of an existing RRSet in the Zone.


debug log with the current script:

<163>1 2026-02-19T00:00:26+01:00 ddclient 93808 - [meta sequenceId="4"] Account 1d46bcb5-5b5c-408a-9d6b-dfeeb81a1cf4 [hetzner - Hetzner]  error updating record: HTTP 422 - {
    "error": {
        "code": "invalid_input",
        "message": "can't update records with this endpoint",
        "details": null
    }
}
<165>1 2026-02-19T00:00:26+01:00  ddclient 93808 - [meta sequenceId="5"] Account 1d46bcb5-5b5c-408a-9d6b-dfeeb81a1cf4 [hetzner - Hetzner]  not modified
<165>1 2026-02-19T00:00:56+01:00  ddclient 93808 - [meta sequenceId="6"] Account 1d46bcb5-5b5c-408a-9d6b-dfeeb81a1cf4 [hetzner - Hetzner]  executing
<165>1 2026-02-19T00:00:56+01:00  ddclient 93808 - [meta sequenceId="7"] Account 1d46bcb5-5b5c-408a-9d6b-dfeeb81a1cf4 [hetzner - Hetzner]  found zone ID for
<165>1 2026-02-19T00:00:56+01:00  ddclient 93808 - [meta sequenceId="8"] Account 1d46bcb5-5b5c-408a-9d6b-dfeeb81a1cf4 [hetzner - Hetzner]  updating (record: , type: A) to

Its obvious I guess, it says cant update record with this endpoint.

I changed the script now to:

    def _update_record(self, headers, zone_id, record_name, record_type, address):
        """Update existing record with new address"""
        url = f"{self._api_base}/zones/{zone_id}/rrsets/{record_name}/A/actions/set_records"

        data = {
            'records': [{'value': str(address)}],
            #'ttl': int(self.settings.get('ttl', 300))
        }

->>I had to comment out the ttl, because it gave "404" from the api and Im not sure how to properly set it.

Now debug log looks like this:
2026-02-19T11:29:49NoticeddclientAccount d8833bf7-d6f9-48d3-a1e9-8139e2e229fc [hetzner - Hetzner] not modified
}
}
]
}
"type": "zone"
"id": ,
{
"resources": [
"error": null,
"finished": null,
"started": "2026-02-19T10:29:49Z",
"progress": 0,
"command": "set_rrset_records",
"status": "running",
"id": ,
"action": {
2026-02-19T11:29:49ErrorddclientAccount d8833bf7-d6f9-48d3-a1e9-8139e2e229fc [hetzner - Hetzner] error updating record: HTTP 201 - {


it says "error" but and I can see inside the hetzner api console:

zone.rrset.set_records
System ?
 4 Minutes


before this change there was nothing.
could you fix this please?
#13
The microcode update addon and a actual microcode update seems to have solved this. It survived 10 reboots in a row now after update.


Youre free to delete this post
#14
Figured out that this not the root cause. Got second a DEC2770 device with the same issue, reproducable.
I can hear fans spinning up after uhub0: detached uhub1: detached, but nothing is happening anymore. Serial console is empty and device is not booting. Hard reset is needed, but after next reboot it stuck again without any output.

Could it be an bios issue? Is there a bios update available for thos dec2770's ?
#15
26.1, 26,4 Series / dhcpctl.h:No such file or directory
February 06, 2026, 09:10:33 AM
Update from opnsense-25.7.11_9 to 26.1 stuck after first reboot:

[172/173] Reinstalling isc-dhcp44-server-4.4.3P1_2...
===> Creating groups
Using existing group 'dhcpd'
===> Creating users
Using existing user 'dhcpd'
[172/173] Extracting isc-dhcp44-server-4.4.3P1_2: .......... done
pkg-static: Fail to rename /usr/local/include/.pkgtemp.dhcpctl.h.1GjHmcNdNXp0 ->                                                                                  /usr/local/include/dhcpctl.h:No such file or directory
Rebooting now.
Waiting (max 60 seconds) for system process `vnlru' to stop... done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining... 0 0 0 0 done
All buffers synced.
Uptime: 39s
uhub0: detached
uhub1: detached