I have a custom build of 4.4.8 using the glbuilder repo. It all works well apart from goodcloud. When I enable it via the admin panel, I do not see the device show up on the good cloud web panel, even after adding it manually. I see these crashes in the logs:
Tue May 21 13:46:38 2024 daemon.err eco: (...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud: 30) ...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud:683: bad argument #1 to 'bor' (number expected, got nil)
Tue May 21 13:46:43 2024 daemon.err eco: (...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud: 30) ...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud:683: bad argument #1 to 'bor' (number expected, got nil)
Tue May 21 13:47:11 2024 daemon.err eco: (...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud: 30) ...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud:683: bad argument #1 to 'bor' (number expected, got nil)
Tue May 21 13:47:16 2024 daemon.err eco: (...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud: 30) ...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud:683: bad argument #1 to 'bor' (number expected, got nil)
Tue May 21 13:47:21 2024 daemon.err eco: (...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud: 30) ...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud:683: bad argument #1 to 'bor' (number expected, got nil)
Tue May 21 13:47:26 2024 daemon.err eco: (...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud: 30) ...kg-aarch64_cortex-a53/gl-sdk4-cloud/usr/bin/gl-cloud:683: bad argument #1 to 'bor' (number expected, got nil)
Tue May 21 13:47:26 2024 daemon.info procd: Instance gl-cloud::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
However Goodcloud works if I use stock 4.4.8 firmware. Both seem to have the exact same version of the glcloud package.
Here is the file I use in /etc/uci-defaults to configure good cloud on first run for the custom firmware:
#!/bin/sh
uci set glconfig.brand=service
uci commit glconfig
uci set gl-cloud.@cloud[0].enable="1"
uci set gl-cloud.@cloud[0].server="gslb-eu.goodcloud.xyz"
uci commit gl-cloud
uci set rtty.general.ssh_en="1"
uci set rtty.general.web_en="1"
uci commit rtty
/etc/init.d/gl-cloud restart
There are no longer crash reports in the logs, however when I add the device it only shows as offline with very old information in GoodCloud from when I had stock firmware installed. Things I tried with no effect:
The device authenticates using a certificate stored in the factory partition. If your firmware did not handle this, you may lost your access to GoodCloud because of this.
The 2nd error up there (TLS) is after updating via opkg. The first error (bad argument) is after a fresh install. A fresh install provides the same versions you are seeing:
I agree with admon's view,GitHub - gl-inet/gl-feeds at common .You seem to be using the latest feeds, which have compatibility issues with older versions of cloud.