What's new

Skynet WebUI Support on XT8 (388.1_0-gnuton1)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

mattmcspirit

Occasional Visitor
Hey @Adamm,

After a fresh factory-reset-then-install-then-reset of 388.1_0-gnuton1 on my XT8 AiMesh nodes, I've installed Skynet v7.3.6, and the core functionality appears to be running fine (after waiting a few mins for locked files etc) - apart from during install, or later through settings, it seems that the WebUI components aren't getting installed correctly.

The Skynet tab appears in the WebUI, but errors out to a 404 - enabling the WebUI from Settings shows:

Code:
/jffs/scripts/firewall: line 5631: can't open /tmp/mnt/USB/skynet/webui/skynet.asp: no such file
[i] Mounting Skynet Web Page As user2.asp
cp: can't stat '/tmp/mnt/USB/skynet/webui/skynet.asp': No such file or directory
[i] WebUI Enabled
[i] Generating Stats

During the main install (or reinstall), other errors include:

Code:
[*] Updating chart.js Failed
[*] Updating chartjs-plugin-zoom.js Failed
[*] Updating hammerjs.js Failed
[*] Updating skynet.asp Failed

Followed steps here: https://www.snbforums.com/threads/no-web-access.70600/post-668732 to manually pull down the files:

Code:
skynetloc="$(grep -ow "skynetloc=.* # Skynet" /jffs/scripts/firewall-start 2>/dev/null | grep -vE "^#" | awk '{print $1}' | cut -c 11-)"
curl -fL https://raw.githubusercontent.com/Adamm00/IPSet_ASUS/master/webui/chart.js -o "${skynetloc}/webui/chart.js"
curl -fL https://raw.githubusercontent.com/Adamm00/IPSet_ASUS/master/webui/chartjs-plugin-zoom.js -o "${skynetloc}/webui/chartjs-plugin-zoom.js"
curl -fL https://raw.githubusercontent.com/Adamm00/IPSet_ASUS/master/webui/hammerjs.js -o "${skynetloc}/webui/hammerjs.js"
curl -fL https://raw.githubusercontent.com/Adamm00/IPSet_ASUS/master/webui/skynet.asp -o "${skynetloc}/webui/skynet.asp"

and restarted firewall - this fixed the issue and after restarting Skynet, Skynet in WebUI displayed correctly.

Re-testing again, by updating (with force), gave similar install issues:

Code:
[i] Forcing Update
[i] New Version Detected - Updating To  (d41d8cd98f00b204e9800998ecf8427e)
[i] Saving Changes
[i] Unloading Skynet Components
[*] Updating chart.js Failed
[*] Updating chartjs-plugin-zoom.js Failed
[*] Updating hammerjs.js Failed
[*] Updating skynet.asp Failed
[*] Updating firewall.sh Failed
[i] Restarting Firewall Service

Done.

Debug info shows all green, and I guess because I manually downloaded the WebUI files, it's able to successfully show them.

Could something be blocking pulling down the WebUI files during install/update?

Thanks!
Matt
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top