[SOLVED] Help please: UI no longer showing TrueNas configuration settings

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
I have been using TrueNas Scale live for about 2 weeks now, and this evening I found that the user & group definitions had disappeared from the UI, and then all the app definitions disappeared too.

It appears that the system dataset may have disappeared.

I have a reasonable set of snapshots, so hopefully it can be restored from somewhere.

But I have no idea how to diagnose and fix this issue - so any help gratefully received
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
P.S. It is possible that I did something stupid, but AFAIK I didn't do anything that should have caused this.

Datasets & Shares are still visible. My SMB shares are still accessible so it looks like the actual users and groups still exist in Linux, just that the UI has lost the definitions. Various other settings are still visible (presumably those that are derived from the underlying configuration rather than those stored in a TrueNas settings dataset.
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
Here are the 3:45am snapshots which I have found:
Code:
ll /var/db/system/configs-f1f5036a6e4448d09a9ddb3c45165866/TrueNAS-SCALE-22.12.3.3
total 1188
drwxr-xr-x 2 root     16 Sep 29 03:45 ./
drwxr-xr-x 3 root      3 Sep 16 11:45 ../
-rw------- 1 root 815104 Sep 16 11:45 20230916.db
-rw------- 1 root 819200 Sep 17 03:45 20230917.db
-rw------- 1 root 819200 Sep 18 03:45 20230918.db
-rw------- 1 root 819200 Sep 19 03:45 20230919.db
-rw------- 1 root 819200 Sep 20 03:45 20230920.db
-rw------- 1 root 819200 Sep 21 03:45 20230921.db
-rw------- 1 root 819200 Sep 22 03:45 20230922.db
-rw------- 1 root 819200 Sep 23 03:45 20230923.db
-rw------- 1 root 819200 Sep 24 03:45 20230924.db
-rw------- 1 root 819200 Sep 25 03:45 20230925.db
-rw------- 1 root 819200 Sep 26 03:45 20230926.db
-rw------- 1 root 819200 Sep 27 03:45 20230927.db
-rw------- 1 root 819200 Sep 28 03:45 20230928.db
-rw------- 1 root 823296 Sep 29 03:45 20230929.db


But I really have no idea where to go from here...
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
Yes - first thing I tried.
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
Browser's cache clearing?
If you have a configuration backup, import it.

Where did you place your system dataset?
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
I don't have one. But I have access to the system backups taken at 3:45am each day. Can I download one of these, combine it with the password seed file and upload it?
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
Clearing browser cache didn't make a difference (wasn't expecting it to).
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
I don't have one. But I have access to the system backups taken at 3:45am each day. Can I download one of these, combine it with the password seed file and upload it?
Backups or snapshots?
Where did you place your system dataset?
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
I have at various time had it in the boot-pool and in the apps-pool (both of these on SSD rather than HDD).
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
These backups are the ones taken automatically by TrueNas Scale at 3:45am local time on every TrueNas Scale system everywhere.
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
Ok - I copied a couple of days of the backup databases, and renamed them and combined them into a tar file in the same format as the config file downloaded from the UI and uploaded them, and they did NOT fix the issue.

Groups and Users lists are still empty (even with the show builtins turned on). My Apps are still running even though the Apps screen is empty of any apps.

And weirdly, in the systems setting shell, the default font size comes out blank but the other font sizes work.
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
The font thing felt like a browser issue, and eventually it turned out that the whole thing was a browser issue - but not one that clearing the cache would solve. But I did track it down and fix it. Phew!!!!
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
@Davvo Thank you so much for your help!!!!!!!!!!
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
The font thing felt like a browser issue, and eventually it turned out that the whole thing was a browser issue - but not one that clearing the cache would solve. But I did track it down and fix it. Phew!!!!
Can you elaborate so that future readers can fix as well?
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
It was an ad blocker that for some unknown reason started blocking javascript even though it had previously been allowing it.
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
As far as I could tell, it tried to hide the footer div but in doing so I think it stopped the JS from working.
 

Protopia

Dabbler
Joined
Jul 11, 2023
Messages
37
P.S. I am just grateful that I can use such a great NAS O/S completely for free - and as such I might well be happy to see a few banner adverts in return for the benefits I get - but instead as far as I can see there are not really any obvious adverts in the WebUI.
 
Top