Nftables.service: nftables was skipped because of an unmet condition check

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 12.1.14
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: Update to 12.1

Describe your issue

I updated YunoHost to the latest version, but the nftables service won’t start: Aug 21 19:31:54 systemd[1]: nftables.service - nftables was skipped because of an unmet condition check (ConditionPathExists=!/etc/systemd/system/multi-user.target.wants/yunohost-firewall.service).

Share relevant logs or error messages

Aug 21 19:31:54 systemd[1]: nftables.service - nftables was skipped because of an unmet condition check (ConditionPathExists=!/etc/systemd/system/multi-user.target.wants/yunohost-firewall.service).

More details from the logs

Aug 22 18:04:30 my-domain systemd[1]: Starting nftables.service - nftables...
Aug 22 18:04:30 my-domain nft[2905324]: In file included from /etc/nftables.conf:20:1-33:
Aug 22 18:04:30 my-domain nft[2905324]: /etc/nftables.d/yunohost-firewall.conf:3:20-84: Error: Could not process rule: Operation not supported
Aug 22 18:04:30 my-domain nft[2905324]: define tcp_ports = { 25, 53, 80, 443, 587, 993, 1984, 3478, 5222, 5223, 5269, 8234 }
Aug 22 18:04:30 my-domain nft[2905324]:                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 22 18:04:30 my-domain nft[2905324]: In file included from /etc/nftables.conf:20:1-33:
Aug 22 18:04:30 my-domain nft[2905324]: /etc/nftables.d/yunohost-firewall.conf:3:20-84: Error: Could not process rule: No such file or directory
Aug 22 18:04:30 my-domain nft[2905324]: define tcp_ports = { 25, 53, 80, 443, 587, 993, 1984, 3478, 5222, 5223, 5269, 8234 }
Aug 22 18:04:30 my-domain nft[2905324]:                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 22 18:04:30 my-domain nft[2905324]: In file included from /etc/nftables.conf:20:1-33:
Aug 22 18:04:30 my-domain nft[2905324]: /etc/nftables.d/yunohost-firewall.conf:12:9-43: Error: Could not process rule: No such file or directory
Aug 22 18:04:30 my-domain nft[2905324]:         tcp dport $tcp_ports counter accept;
Aug 22 18:04:30 my-domain nft[2905324]:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 22 18:04:30 my-domain nft[2905324]: In file included from /etc/nftables.conf:20:1-33:
Aug 22 18:04:30 my-domain nft[2905324]: /etc/nftables.d/yunohost-firewall.conf:5:20-37: Error: Could not process rule: No such file or directory
Aug 22 18:04:30 my-domain nft[2905324]: define udp_ports = { 53, 5353, 8234 }
Aug 22 18:04:30 my-domain nft[2905324]:                    ^^^^^^^^^^^^^^^^^^
Aug 22 18:04:30 my-domain nft[2905324]: In file included from /etc/nftables.conf:20:1-33:
Aug 22 18:04:30 my-domain nft[2905324]: /etc/nftables.d/yunohost-firewall.conf:5:20-37: Error: Could not process rule: No such file or directory
Aug 22 18:04:30 my-domain nft[2905324]: define udp_ports = { 53, 5353, 8234 }
Aug 22 18:04:30 my-domain nft[2905324]:                    ^^^^^^^^^^^^^^^^^^
Aug 22 18:04:30 my-domain nft[2905324]: In file included from /etc/nftables.conf:20:1-33:
Aug 22 18:04:30 my-domain nft[2905324]: /etc/nftables.d/yunohost-firewall.conf:14:9-43: Error: Could not process rule: No such file or directory
Aug 22 18:04:30 my-domain nft[2905324]:         udp dport $udp_ports counter accept;
Aug 22 18:04:30 my-domain nft[2905324]:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 22 18:04:30 my-domain nft[2905324]: In file included from /etc/nftables.conf:20:1-33:
Aug 22 18:04:30 my-domain nft[2905324]: /etc/nftables.d/yunohost-firewall.conf:17:9-35: Error: Could not process rule: No such file or directory
Aug 22 18:04:30 my-domain nft[2905324]:         iifname "lo" counter accept;
Aug 22 18:04:30 my-domain nft[2905324]:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 22 18:04:30 my-domain nft[2905324]: In file included from /etc/nftables.conf:20:1-33:
Aug 22 18:04:30 my-domain nft[2905324]: /etc/nftables.d/yunohost-firewall.conf:18:9-39: Error: Could not process rule: No such file or directory
Aug 22 18:04:30 my-domain nft[2905324]:         ip protocol icmp counter accept;
Aug 22 18:04:30 my-domain nft[2905324]:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 22 18:04:30 my-domain systemd[1]: nftables.service: Main process exited, code=exited, status=1/FAILURE
Aug 22 18:04:30 my-domain systemd[1]: nftables.service: Failed with result 'exit-code'.
Aug 22 18:04:30 my-domain systemd[1]: Failed to start nftables.service - nftables.

Yes, but in my case, I really only have the logs I shared…