SOLVED No Pools - Error Gettin pool data - JSON.parse: unexpected character at line 1 column 1 of the JSON data

GEOptic

Dabbler
Joined
Apr 18, 2018
Messages
42
Good day everyone!!

I lately update from 11.1U7 to 11.2U6. All went fine. Really happy how it went.
Yesterday, I was trying to get the things done fast. Then I got disturbed (well many people came to ask stuff about our new mail server...).
And the thing to get done is just a new SMB share. But my first with Freenas (I usually share with iSCSI or NFS).
So I had to switch back and forth from Storage-Pools to Sharing-SMB and/or Service SMB start-stop.
Going back to Storage-Pools you have to open the Volume details to see all the zvol and Dataset in it (we only have on Volume, maybe not the best idea ...).
So, creating and deleting the new SMB share, I had to set permissions again and again!
You get what I did when I was asked more questions ... I forgot to open Volume Details and indeed set Windows permission on the entire volume.

Not a good day for stress. I do have backups, but the hundreds of users here don't have time to wait!

I did reset the permission on command line to root:wheel on /mnt/Vol1 , and it worked for a couple hours. Then, after I tried to set permission to specific AD Group on the share ... the WEB interface tells me the error in title and display no pool.
I also remove additionnal ACL with setfacl -bn
Code:
find <directory>/ -exec setfacl <your_options> {} \;


I still got the error :

Code:
Error: NOoU/_</t.prototype.json@https://stk01/ui/main.91d3f9c4fb631de7493d.bundle.js:1:1220380
NdJX/u</t.prototype.handleError@https://stk01/ui/main.91d3f9c4fb631de7493d.bundle.js:1:1231250
LxNc/l</e.prototype.error@https://stk01/ui/main.91d3f9c4fb631de7493d.bundle.js:1:1110016
mmVS/s</e.prototype._error@https://stk01/ui/main.91d3f9c4fb631de7493d.bundle.js:1:3012435
mmVS/s</e.prototype.error@https://stk01/ui/main.91d3f9c4fb631de7493d.bundle.js:1:3012129
a@https://stk01/ui/main.91d3f9c4fb631de7493d.bundle.js:1:1222540
r@https://stk01/ui/main.91d3f9c4fb631de7493d.bundle.js:1:865255
ZSR1/</</</u</t.prototype.invokeTask@https://stk01/ui/polyfills.4e42ab25a6112b333361.bundle.js:1:44121
onInvokeTask@https://stk01/ui/main.91d3f9c4fb631de7493d.bundle.js:1:1881059
ZSR1/</</</u</t.prototype.invokeTask@https://stk01/ui/polyfills.4e42ab25a6112b333361.bundle.js:1:44042
ZSR1/</</</o</n.prototype.runTask@https://stk01/ui/polyfills.4e42ab25a6112b333361.bundle.js:1:39299
ZSR1/</</</c</n.invokeTask@https://stk01/ui/polyfills.4e42ab25a6112b333361.bundle.js:1:45211
m@https://stk01/ui/polyfills.4e42ab25a6112b333361.bundle.js:1:55907
b@https://stk01/ui/polyfills.4e42ab25a6112b333361.bundle.js:1:56138


Any suggestions ? Solutions? Work Around?

Any ways to restart just the UI ?
The storage server hold about eveything, Data, VMs, etc. So if I restart the storage server, I have to restart all system.

Did I mention I have access to the iSCSI and NFS share, it's just the UI that says no Volume! :(


Tks! :)
System details are in the signature
 
Last edited:

GEOptic

Dabbler
Joined
Apr 18, 2018
Messages
42
Oh ! Christmas time already?? :(

I contacted iXSystems, but they look busy as well! Then, this is FreeNas … not TrueNas!
 

GEOptic

Dabbler
Joined
Apr 18, 2018
Messages
42
Looks like it was not due to SMB permissions messup, but just interface bug.

Reloading interface solve this issue !!

Code:
pkill -9 -f middlewared
service nginx restart
service middlewared start
service django restart


Have a nice holidays all!
 
Top