Noting this to help if others stumble into same situation:
Presentation:
After upgrading an older system from 8.0 to 9.3 (by going through the proper intermediate updates), the WebGUI's datagrid don't populate.
This renders any type of table blank. Users, Pools, Jails, etc.
Very frustrating, since WebGUI becomes useless.
FreeNAS OS:
FreeNAS HW:
presumably any kind
User System:
OS:
Chrome:
Troubleshooting steps:
Issue:
Turns out its a regression in xstyle, which is a component of FreeNAS WebUI
Github Issue: https://github.com/kriszyp/xstyle/issues/44#issuecomment-76512785
Stack Overflow Note: https://stackoverflow.com/questions/50672599/dojo-uncaught-referenceerror-normal-is-not-defined
Fix:
patching the code as mentioned above addressed this problem.
Making this thread, since I wasn't sure what the proper process for 9.3 bugs is.
Hope this helps someone else.
Presentation:
After upgrading an older system from 8.0 to 9.3 (by going through the proper intermediate updates), the WebGUI's datagrid don't populate.
This renders any type of table blank. Users, Pools, Jails, etc.
Very frustrating, since WebGUI becomes useless.
FreeNAS OS:
$ uname -v
FreeBSD 9.3-RELEASE-p5 #0 3b4abc3: Mon Dec 8 15:09:41 PST 2014 root@build3.ixsystems.com:/tank/home/jkh/build/M/FN/objs/os-base/amd64/fusion/jkh/M/FN/FreeBSD/src/sys/FREENAS.amd64
FreeNAS HW:
presumably any kind
User System:
OS:
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.6
Chrome:
Google Chrome 68.0.3440.106 (Official Build) (64-bit)
Revision 1c32c539ce0065a41cb79da7bfcd2c71af1afe62-refs/branch-heads/3440@{#794}
OS Mac OS X
JavaScript V8 6.8.275.26
Troubleshooting steps:
- Verified django was getting proper data from config db
- Verified HTTP GETs were returning data they were supposed to
Issue:
Turns out its a regression in xstyle, which is a component of FreeNAS WebUI
Github Issue: https://github.com/kriszyp/xstyle/issues/44#issuecomment-76512785
Stack Overflow Note: https://stackoverflow.com/questions/50672599/dojo-uncaught-referenceerror-normal-is-not-defined
Fix:
Code:
cd /usr/local/www/freenasUI/static/lib/js/xstyle $ diff -ub css_old.js css.js --- css_old.js 2018-08-21 03:32:30.275151045 -0700 +++ css.js 2018-08-21 03:32:17.113151059 -0700 @@ -37,7 +37,9 @@ } function checkForParser(){ var parser = testElementStyle('x-parse', null, 'content'); - if(parser && parser != 'none'){ + if(parser && parser != 'none' && parser != 'normal'){ // TODO: wait for parser to load require([eval(parser)], callback); }else{
patching the code as mentioned above addressed this problem.
Making this thread, since I wasn't sure what the proper process for 9.3 bugs is.
Hope this helps someone else.