The app looks nice! But when I’m trying to install the “Router daemon” I get the following error on the Mudi 7 (GL-E5800) EU version:
install failed: Error Domain=Glint.Daemon Code=2 "daemon didn't come up
last install log:
[10:41:35] glintd installer starting
[10:41:35] installing dependencies: python3-sqlite3 python3-urllib python3-openssl python3-codecs
[10:41:43] opkg update succeeded
[10:41:47] installing from /tmp/glintd-bundle
[10:41:47] stopping previous glintd
[10:42:01] ERROR: daemon didn't answer ubus ping within 10s - see /tmp/glintd-install.log and 'logread | grep glintd'
rg650v/packages/aarch64_cortex-a53/glinet/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_pub
Downloading https://fw.gl-inet.com/releases/sdx72_v1.2/rg650v/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_packages
Updating database.
Database update completed.
[10:41:43] opkg update succeeded
Package python3-sqlite3 (3.11.7-1) installed in root is up to date.
Package python3-urllib (3.11.7-1) installed in root is up to date.
Package python3-openssl (3.11.7-1) installed in root is up to date.
Package python3-codecs (3.11.7-1) installed in root is up to date.
Updating database.
Database update completed.
[10:41:47] installing from /tmp/glintd-bundle
[10:41:47] stopping previous glintd
[10:42:01] ERROR: daemon didn't answer ubus ping within 10s - see /tmp/glintd-install.log and 'logread | grep glintd'
" UserInfo={NSLocalizedDescription=daemon didn't come up
last install log:
[10:41:35] glintd installer starting
[10:41:35] installing dependencies: python3-sqlite3 python3-urllib python3-openssl python3-codecs
[10:41:43] opkg update succeeded
[10:41:47] installing from /tmp/glintd-bundle
[10:41:47] stopping previous glintd
[10:42:01] ERROR: daemon didn't answer ubus ping within 10s - see /tmp/glintd-install.log and 'logread | grep glintd'
rg650v/packages/aarch64_cortex-a53/glinet/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_pub
Downloading https://fw.gl-inet.com/releases/sdx72_v1.2/rg650v/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_packages
Updating database.
Database update completed.
[10:41:43] opkg update succeeded
Package python3-sqlite3 (3.11.7-1) installed in root is up to date.
Package python3-urllib (3.11.7-1) installed in root is up to date.
Package python3-openssl (3.11.7-1) installed in root is up to date.
Package python3-codecs (3.11.7-1) installed in root is up to date.
Updating database.
Database update completed.
[10:41:47] installing from /tmp/glintd-bundle
[10:41:47] stopping previous glintd
[10:42:01] ERROR: daemon didn't answer ubus ping within 10s - see /tmp/glintd-install.log and 'logread | grep glintd'
}
I’m getting the same error on both the Beta 4.10.0 firmware and the new Stable firmware: e5800-4.10.0_release5-1092-0825-1787643675
I did some additional troubleshooting on the router and found something that might be relevant:
glintd itself starts and runs normally. /etc/init.d/glintd status reports it as running, and logread shows the daemon continuously executing its collectors/ticks.
However, mudi.glintd is never registered with ubus:
ubus call mudi.glintd ping Command failed: Not found
ubus list | grep -Ei 'mudi.glintd|glintd' returns nothing.
The RPC wrapper and rpcd plugin are installed:
/etc/glintd/glintd-rpc.sh
/usr/libexec/rpcd/mudi.glintd
/usr/share/rpcd/acl.d/glintd.json
The router's ubusd is running and normal ubus services work.
However, rpcd appears to be inactive: /etc/init.d/rpcd status inactive
rpcd itself exists at /rom/sbin/rpcd.
So I’m wondering if the daemon installer expects rpcd to be running in order to register mudi.glintd, and whether this could be related to compatibility with GL.iNet firmware 4.10.0.
The required Python packages are also already installed and up to date:
python3-codecs - 3.11.7-1
python3-openssl - 3.11.7-1
python3-sqlite3 - 3.11.7-1
python3-urllib - 3.11.7-1
I’ve currently uninstalled the daemon again. Happy to provide any additional logs or diagnostics if that would help troubleshoot the Mudi 7 / GL-E5800 compatibility.
You nailed it - it's rpcd. It's what publishes mudi.glintd on ubus, and stock 4.10 on the E5800 ships rpcd disabled and not running. Our installer only sent rpcd reload, which procd ignores when the service isn't running - hence a healthy daemon with no object on the bus.
Workaround right now: ssh root@192.168.8.1 '/etc/init.d/rpcd enable && /etc/init.d/rpcd start', then hit Install again in the app.
Fixed in glintd 1.0.4: the installer enables and starts rpcd itself, and the init script re-asserts it on every boot. Verified here on a 4.10.0 E5800, including across a reboot. Thanks for the troubleshooting.