i need help please

Joined
Jan 18, 2021
Messages
1
Hello everyone


i have this problem on my freenas icant accesses my dashbord
i don't now what cues this problem I and I don't now how to fix it !!


Error getting pool data.
Unexpected token < in JSON at position 0


Error: SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at e.t.json (http://192.168.1.131/ui/main.a4d1eae2e101826c3a06.js:1:3538931)
at e.t.handleError [as selector] (http://192.168.1.131/ui/main.a4d1eae2e101826c3a06.js:1:3659178)
at e.error (http://192.168.1.131/ui/main.a4d1eae2e101826c3a06.js:1:358743)
at e._error (http://192.168.1.131/ui/main.a4d1eae2e101826c3a06.js:1:818682)
at e.error (http://192.168.1.131/ui/main.a4d1eae2e101826c3a06.js:1:818376)
at XMLHttpRequest.a (http://192.168.1.131/ui/main.a4d1eae2e101826c3a06.js:1:3541104)
at e.invokeTask (http://192.168.1.131/ui/polyfills.7e8b7245bea9e7f792a7.js:1:16894)
at Object.onInvokeTask (http://192.168.1.131/ui/main.a4d1eae2e101826c3a06.js:1:626289)
at e.invokeTask (http://192.168.1.131/ui/polyfills.7e8b7245bea9e7f792a7.js:1:16815)
 

praetorian46

Dabbler
Joined
Apr 26, 2013
Messages
15
I have this exact same issue. I can't access the UI at all.
I have the following issues in the "Console" of Firefox. (I've tested from multiple machines across Chrome and Firefox.
Code:
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. ui
Loading failed for the <script> with source “http://192.168.170.10/ui/main.a4d1eae2e101826c3a06.js”. ui:51:1
Loading failed for the <script> with source “http://192.168.170.10/ui/runtime.5efc50d3d6f32ecb6f26.js”. ui:51:1


I did lose a USB Drive in my mirrored `freenas-boot`

I've tried to replace this USB 3x or 4x times and the resilvering never finishes.

Maybe I need to "Reinstall" the missing/corrupt files.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Hi,

What do you see on the console ? Did you tried another browser ? Did you try to empty your cache and reload ? Did you tried putting your browser in Incognito / Private mode ?
 

praetorian46

Dabbler
Joined
Apr 26, 2013
Messages
15
Yes. I've tried from multiple different systems (Mac, Windows, Etc...) I've tried from Firefox as well as Chrome. I've also done Incognito/Private Mode. And I've cleared all cache... All I get is the "Shark Logo"

The Console (Monitor) of the NAS shows errors on the USB drive as I explained above. But that's about it.

Is there a way to "Reinstall" to a fresh USB drive without rebooting? Or to get a clean backup via the console so that I can install to a fresh USB drive and then restore from backup?
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Ok ; lets forget about the Web UI then...

Can you SSH in the box ? If so, the safest way would be to backup your config, do a clean install on a new drive (USB are not ideal but if this is all you got....), do a clean shutdown on the NAS, boot it with the new boot device and restore your config.
 

praetorian46

Dabbler
Joined
Apr 26, 2013
Messages
15
I can SSH in. I also have IPMI access. What is the command via the CLI to generate a config backup?
Or where is the location to back it up?

I see some old posts online pointing at: /data/freenas-v1.db
Is that the file I need to download?
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Top