For testing i did upgrade to today's snapshot and see if qosmate stays intact and my reinstalling qosmate is cause of service disabled, following are results after upgrade, i did rebooted after upgrade , packages are missing
root@OpenWrt:~# service qosmate status
==== qosmate Status ====
qosmate autostart is enabled.
qosmate global:enabled is true.
No traffic shaping is active on the egress interface (pppoe-wan).
No traffic shaping is active on the ingress interface (ifb-pppoe-wan).
==== Current Settings ====
Upload rate: 145000 kbps
Download rate: 140000 kbps
Game traffic upload: 22150 kbps
Game traffic download: 21400 kbps
Queue discipline: CAKE (Root qdisc)
==== Version Information ====
Backend versions:
Update channel: snapshot
Current version: 77c391e5a033f75d175252e6155d1313685bce81
Latest version: 77c391e5a033f75d175252e6155d1313685bce81
Frontend versions:
awk: cmd. line:2: fatal: cannot open file `/www/luci-static/resources/view/qosmate/settings.js' for reading: No such file or directory
Error: get_frontend_spec: Failed to get frontend version from file '/www/luci-static/resources/view/qosmate/settings.js'.
Error: Failed to get local FRONTEND version.
To force re-installation of FRONTEND, use the command 'service qosmate update -f -c
FRONTEND'.
==== System Information ====
{
"kernel": "6.12.59",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "GL.iNet GL-MT6000",
"board_name": "glinet,gl-mt6000",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"firmware_url": "https://downloads.openwrt.org/",
"revision": "r32109-67af946dd7",
"target": "mediatek/filogic",
"description": "OpenWrt SNAPSHOT r32109-67af946dd7",
"builddate": "1764201097"
}
}
==== Health Check ====
Error: Missing file: '/www/luci-static/resources/view/qosmate/settings.js'.
Error: Missing file: '/www/luci-static/resources/view/qosmate/rules.js'.
Error: Missing file: '/www/luci-static/resources/view/qosmate/ratelimits.js'.
Error: Missing file: '/www/luci-static/resources/view/qosmate/statistics.js'.
status=service:enabled;nft:failed;tc:failed;config:ok;packages:missing:kmod-sched ip-full kmod-veth tc-full kmod-netem kmod-sched-ctinfo kmod-ifb kmod-sched-cake kmod-sched-red luci-lib-jsonc lua jq ;BACKEND_integrity:ok;FRONTEND_integrity:failed;;errors=4
==== Flow Offloading Check ====
Flow offloading is disabled (compatible with qosmate).
==== WAN Interface Information ====
"l3_device": "pppoe-wan",
"device": "eth1",
==== QoSmate Configuration ====
config global 'global'
option enabled '1'
config settings 'settings'
option WAN 'pppoe-wan'
option DOWNRATE '140000'
option UPRATE '145000'
option ROOT_QDISC 'cake'
config advanced 'advanced'
option PRESERVE_CONFIG_FILES '1'
option WASHDSCPUP '1'
option WASHDSCPDOWN '1'
option BWMAXRATIO '20'
option UDP_RATE_LIMIT_ENABLED '0'
option TCP_UPGRADE_ENABLED '1'
option TCP_DOWNPRIO_INITIAL_ENABLED '1'
option TCP_DOWNPRIO_SUSTAINED_ENABLED '1'
option NFT_HOOK 'forward'
option NFT_PRIORITY '0'
option MAX_CONNECTIONS '0'
option COMMON_LINK_PRESETS 'ethernet'
option OVERHEAD '44'
option MPU '84'
option MSS '536'
config hfsc 'hfsc'
option gameqdisc 'pfifo'
option nongameqdisc 'fq_codel'
option nongameqdiscoptions 'besteffort ack-filter'
option MAXDEL '24'
option PFIFOMIN '5'
option PACKETSIZE '450'
option netemdelayms '30'
option netemjitterms '7'
option netemdist 'normal'
option pktlossp 'none'
option netem_direction 'both'
config cake 'cake'
option PRIORITY_QUEUE_INGRESS 'diffserv4'
option PRIORITY_QUEUE_EGRESS 'diffserv4'
option HOST_ISOLATION '1'
option NAT_INGRESS '1'
option NAT_EGRESS '1'
option ACK_FILTER_EGRESS 'auto'
option AUTORATE_INGRESS '0'
option EXTRA_PARAMETERS_INGRESS 'memlimit 32mb'
option EXTRA_PARAMETERS_EGRESS 'memlimit 16mb'
option RTT '20'
config custom_rules 'custom_rules'
config rule
option name 'Game_Console_Outbound'
option proto 'udp'
list dest_port '!=80'
list dest_port '!=443'
option class 'ef'
option counter '0'
option trace '0'
option enabled '1'
list src_ip '192.168.1.123'
list src_ip '2407:aa80:15:d6c3::138/128'
config rule
option name 'Chrony'
option proto 'udp'
list dest_port '123'
option class 'ef'
option counter '0'
option trace '0'
option enabled '1'
==== Package Status ====
Error: Missing packages: kmod-sched ip-full kmod-veth tc-full kmod-netem kmod-sched-ctinfo kmod-ifb kmod-sched-cake kmod-sched-red luci-lib-jsonc lua jq
Some required packages are missing. QoSmate may not function correctly.
==== Detailed Technical Information ====
Traffic Control (tc) Queues:
/etc/rc.common: line 2092: tc: not found
==== Nftables Ruleset (dscptag) ====
==== Custom Rules Table Status ====
Custom rules table (qosmate_custom) is not active or doesn't exist.
==== Inline Rules Status ====
No inline rules configured.
root@OpenWrt:~# service qosmate start
Error: Missing file: '/www/luci-static/resources/view/qosmate/settings.js'.
Error: Missing file: '/www/luci-static/resources/view/qosmate/rules.js'.
Error: Missing file: '/www/luci-static/resources/view/qosmate/ratelimits.js'.
Error: Missing file: '/www/luci-static/resources/view/qosmate/statistics.js'.
Updating QoSmate components 'FRONTEND'...
Downloading FRONTEND, version '1.7.0' (update channel: 'release').
Installing new FRONTEND files...
File '/usr/share/rpcd/acl.d/luci-app-qosmate.json' did not change - not updating.
File '/usr/libexec/rpcd/luci.qosmate' did not change - not updating.
File '/usr/libexec/rpcd/luci.qosmate_stats' did not change - not updating.
File '/www/luci-static/resources/view/qosmate/hfsc.js' did not change - not updating.
File '/www/luci-static/resources/view/qosmate/cake.js' did not change - not updating.
File '/www/luci-static/resources/view/qosmate/rules.js' did not change - not updating.
File '/www/luci-static/resources/view/qosmate/connections.js' did not change - not updating.
File '/www/luci-static/resources/view/qosmate/custom_rules.js' did not change - not
updating.
File '/www/luci-static/resources/view/qosmate/ipsets.js' did not change - not updating.
File '/www/luci-static/resources/view/qosmate/statistics.js' did not change - not updating.
Warning: File '/usr/share/luci/menu.d/luci-app-qosmate.json' was manually modified - overwriting.
Saved a backup copy of manually modified file to /tmp/qosmate_old_modified_files/luci-app-qosmate.json
Warning: File '/www/luci-static/resources/view/qosmate/advanced.js' was manually modified - overwriting.
Saved a backup copy of manually modified file to /tmp/qosmate_old_modified_files/advanced.js
Copying file '/usr/share/luci/menu.d/luci-app-qosmate.json'.
Copying file '/www/luci-static/resources/view/qosmate/advanced.js'.
Copying file '/www/luci-static/resources/view/qosmate/ratelimits.js'.
cp: can't stat '/var/run/qosmate-update/FRONTEND/www/luci-static/resources/view/qosmate/ratelimits.js': No such file or directory
Error: Failed to copy file '/var/run/qosmate-update/FRONTEND/www/luci-static/resources/view/qosmate/ratelimits.js' to '/www/luci-static/resources/view/qosmate/ratelimits.js'.
Error: Failed to install new FRONTEND files.
Error: Failed to update QoSmate.
Warning: Failed to fix qosmate installation automatically.
Either connect to the Internet and run '/etc/init.d/qosmate start' to have missing files automatically fetched,
or manually download and save them in designated paths.
root@OpenWrt:~# service qosmate status
==== qosmate Status ====
qosmate autostart is enabled.
qosmate global:enabled is true.
No traffic shaping is active on the egress interface (pppoe-wan).
No traffic shaping is active on the ingress interface (ifb-pppoe-wan).
==== Current Settings ====
Upload rate: 145000 kbps
Download rate: 140000 kbps
Game traffic upload: 22150 kbps
Game traffic download: 21400 kbps
Queue discipline: CAKE (Root qdisc)
==== Version Information ====
Backend versions:
Update channel: snapshot
Current version: 77c391e5a033f75d175252e6155d1313685bce81
Latest version: 77c391e5a033f75d175252e6155d1313685bce81
Frontend versions:
awk: cmd. line:2: fatal: cannot open file `/www/luci-static/resources/view/qosmate/settings.js' for reading: No such file or directory
Error: get_frontend_spec: Failed to get frontend version from file '/www/luci-static/resources/view/qosmate/settings.js'.
Error: Failed to get local FRONTEND version.
To force re-installation of FRONTEND, use the command 'service qosmate update -f -c
FRONTEND'.
==== System Information ====
{
"kernel": "6.12.59",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "GL.iNet GL-MT6000",
"board_name": "glinet,gl-mt6000",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"firmware_url": "https://downloads.openwrt.org/",
"revision": "r32109-67af946dd7",
"target": "mediatek/filogic",
"description": "OpenWrt SNAPSHOT r32109-67af946dd7",
"builddate": "1764201097"
}
}
==== Health Check ====
Error: Missing file: '/www/luci-static/resources/view/qosmate/settings.js'.
Error: Missing file: '/www/luci-static/resources/view/qosmate/rules.js'.
Error: Missing file: '/www/luci-static/resources/view/qosmate/ratelimits.js'.
Error: Missing file: '/www/luci-static/resources/view/qosmate/statistics.js'.
status=service:enabled;nft:failed;tc:failed;config:ok;packages:missing:kmod-sched ip-full kmod-veth tc-full kmod-netem kmod-sched-ctinfo kmod-ifb kmod-sched-cake kmod-sched-red luci-lib-jsonc lua jq ;BACKEND_integrity:ok;FRONTEND_integrity:failed;;errors=4
==== Flow Offloading Check ====
Flow offloading is disabled (compatible with qosmate).
==== WAN Interface Information ====
"l3_device": "pppoe-wan",
"device": "eth1",
==== QoSmate Configuration ====
config global 'global'
option enabled '1'
config settings 'settings'
option WAN 'pppoe-wan'
option DOWNRATE '140000'
option UPRATE '145000'
option ROOT_QDISC 'cake'
config advanced 'advanced'
option PRESERVE_CONFIG_FILES '1'
option WASHDSCPUP '1'
option WASHDSCPDOWN '1'
option BWMAXRATIO '20'
option UDP_RATE_LIMIT_ENABLED '0'
option TCP_UPGRADE_ENABLED '1'
option TCP_DOWNPRIO_INITIAL_ENABLED '1'
option TCP_DOWNPRIO_SUSTAINED_ENABLED '1'
option NFT_HOOK 'forward'
option NFT_PRIORITY '0'
option MAX_CONNECTIONS '0'
option COMMON_LINK_PRESETS 'ethernet'
option OVERHEAD '44'
option MPU '84'
option MSS '536'
config hfsc 'hfsc'
option gameqdisc 'pfifo'
option nongameqdisc 'fq_codel'
option nongameqdiscoptions 'besteffort ack-filter'
option MAXDEL '24'
option PFIFOMIN '5'
option PACKETSIZE '450'
option netemdelayms '30'
option netemjitterms '7'
option netemdist 'normal'
option pktlossp 'none'
option netem_direction 'both'
config cake 'cake'
option PRIORITY_QUEUE_INGRESS 'diffserv4'
option PRIORITY_QUEUE_EGRESS 'diffserv4'
option HOST_ISOLATION '1'
option NAT_INGRESS '1'
option NAT_EGRESS '1'
option ACK_FILTER_EGRESS 'auto'
option AUTORATE_INGRESS '0'
option EXTRA_PARAMETERS_INGRESS 'memlimit 32mb'
option EXTRA_PARAMETERS_EGRESS 'memlimit 16mb'
option RTT '20'
config custom_rules 'custom_rules'
config rule
option name 'Game_Console_Outbound'
option proto 'udp'
list dest_port '!=80'
list dest_port '!=443'
option class 'ef'
option counter '0'
option trace '0'
option enabled '1'
list src_ip '192.168.1.123'
list src_ip '2407:aa80:15:d6c3::138/128'
config rule
option name 'Chrony'
option proto 'udp'
list dest_port '123'
option class 'ef'
option counter '0'
option trace '0'
option enabled '1'
==== Package Status ====
Error: Missing packages: kmod-sched ip-full kmod-veth tc-full kmod-netem kmod-sched-ctinfo kmod-ifb kmod-sched-cake kmod-sched-red luci-lib-jsonc lua jq
Some required packages are missing. QoSmate may not function correctly.
==== Detailed Technical Information ====
Traffic Control (tc) Queues:
/etc/rc.common: line 2092: tc: not found
==== Nftables Ruleset (dscptag) ====
==== Custom Rules Table Status ====
Custom rules table (qosmate_custom) is not active or doesn't exist.
==== Inline Rules Status ====
No inline rules configured.
root@OpenWrt:~#
Am i still missing something to make it survive sysupgrade ?
Edit: i didn't reinstalled qosmate, just did branch update to snapshot for qosmate in advanced, and rebooted, after reboot it's says disabled again in luci startup
but service qosmate status shows it's active, what sorcery this is, I'm unable to understand and confused 