Two problems, completely lost on both

Aotearoaboi

Dabbler
Joined
Feb 17, 2023
Messages
45
Hi everyone

I set up my server with TrueNAS Core about a week or so ago. I had it running at one point but now I'm back to square one.. Ive spent hours every night after work looking through forums and watching youtube videos but I have to admit defeat and say I need some help. I am not technically inclined. I was recommend TrueNAS Core because I was told it was user friendly. Which I believe is true, I'm just not getting it right.

Heres my issues
1) I can no longer access the folders on TrueNAS Core. When I open file explorer and click on network on the right. It comes up at TRUENAS. I click it and am greeted with the below error message. It does give me a login window too but my usual windows credientials don't do anything.

truenaserror.png


2) I am unable to install the plexplugin. When I attempt to install the plex plugin, it takes about ten mins and then it gives me this error message:

truenasplexerror.png



I have already loaded a great deal of data onto the TrueNAS Core drives. Stuff that I cant afford to lose. Im guessing its still there but since I cant access it I don't know what to do. I appreciate this information isn't very helpful without logs. What is the best way to retrieve logs to post here?

Thank you for reading, any help greatly appriciated
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Let's tackle each problem in turn. For the first problem, it's very likely you've messed up either the ownership of the Windows share dataset, or the permissions/ACLs, or both.

Can you provide screen shots of the share definition under Sharing->Windows, and the dataset under Storage->Pools?
 

Aotearoaboi

Dabbler
Joined
Feb 17, 2023
Messages
45
Hi Samuel

Thank you so much for your reply. Heres the screenshots. Ive tried to number them to organize them better.

Shares
Shares1
Sharing1.png

Shares2
sharing2.png

Shares3
sharing3.png



Storage
Storage1
stoarage1.png

Storage2
storage2.png

Storage3

stoarage3.png
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Try re-applying the ACL on Bigdata, but check the boxes for Apply User and Apply Group.
 
Joined
Oct 22, 2019
Messages
3,641
To rule something else out, what happens if you type this into Windows Explorer's address field:
\\truenas\Bigdata

If that still doesn't work, what about:
\\192.168.1.107\Bigdata
 
Last edited:

Aotearoaboi

Dabbler
Joined
Feb 17, 2023
Messages
45
Try re-applying the ACL on Bigdata, but check the boxes for Apply User and Apply Group.
Hi Samuel, thank you for replying.

Unfortunately this hasn't done anything. I know I'm getting something majorly wrong here but have no idea what it is


 

Aotearoaboi

Dabbler
Joined
Feb 17, 2023
Messages
45
To rule something else out, what happens if you type this into Windows Explorer's address field:
\\truenas\Bigdata

If that still doesn't work, what about:
\\192.168.0.100\Bigdata

Replace 192.168.0.100 with your server's IP address.
Hello

Thank you for your message

The first one resulted in the login page also with the error
The second one only the login but the password I set on account/users/edit is not working
 
Joined
Oct 22, 2019
Messages
3,641
Can you run in a CMD prompt in Windows:
net use * /d /y

Then reboot Windows (for good measure, at least to test this out).

Then try again (manually entering the address and sharename).
\\192.168.1.107\Bigdata
 

Aotearoaboi

Dabbler
Joined
Feb 17, 2023
Messages
45
Can you run in a CMD prompt in Windows:
net use * /d /y

Then reboot Windows (for good measure, at least to test this out).

Then try again (manually entering the address and sharename).
\\192.168.1.107\Bigdata

First line
Please forgive my ignorance but to you mean?
net use * /D:/Y:
I tried
net use * /d /y
and it came back with
There are no entries in the list.

Second line
\\192.168.1.107\Bigdata
gives me
The user name or password is incorrect.

Again, I apologize about my lack of knowledge
 

Aotearoaboi

Dabbler
Joined
Feb 17, 2023
Messages
45
@Samuel Tai @winnielinnie



Ive noticed a issue. When ive looked at the permissions this drive has. The benjamin user is not listen. only root and wheel. This is despite me having logged a user and editing the permission of the dataset for the benjamin user to be able to access this dataset. Is there some setting I'm missing?
 
Last edited:
Joined
Oct 22, 2019
Messages
3,641
Are you trying to share a folder that lives inside the root dataset? :oops:

You shouldn't share anything in the root dataset nor modify its permissions. You need to create children datasets underneath (with proper permissions/ACLs), and share those. (Datasets are essentially filesystems. Even though they may appear as part of the same file/folder tree structure, you should treat them as separate filesystems.)

As a side note: Try to avoid using "spaces" when you name your pools, datasets, and snapshots. Use "hyphens" or "underscores" instead.
 

Aotearoaboi

Dabbler
Joined
Feb 17, 2023
Messages
45
Are you trying to share a folder that lives inside the root dataset? :oops:

You shouldn't share anything in the root dataset nor modify its permissions. You need to create children datasets underneath (with proper permissions/ACLs), and share those. (Datasets are essentially filesystems. Even though they may appear as part of the same file/folder tree structure, you should treat them as separate filesystems.)

As a side note: Try to avoid using "spaces" when you name your pools, datasets, and snapshots. Use "hyphens" or "underscores" instead.
Ok thank you

I've deleted the photo.

Hmmm, it is possible that the spaces are messing with everything?

I've got a seperate data set and another one inside that dataset. That's the one I'm struggling to access through windows. It either says I don't have permission or it declines my username and password
 
Joined
Oct 22, 2019
Messages
3,641
What are the current permissions for the root dataset and the child dataset?

Code:
getfacl "/mnt/Mirror - 2x 4TB"

getfacl "/mnt/Mirror - 2x 4TB/Bigdata"
 
Joined
Oct 22, 2019
Messages
3,641
On your Windows client:
  1. Close all Explorer windows
  2. Windows Key + R
  3. Type in notepad (but don't click "OK" yet!)
  4. While holding down CTRL + SHIFT, click "OK" (to open up Notepad with administrative privileges)
  5. CTRL + O to bring up the "Open file" dialog
  6. Change the drop-down from "Text documents" to "All files"
  7. Browse to the folder C:\Windows\System32\drivers\etc\
  8. Open up the file named hosts
  9. Add the following line to the end of the file:
    • 192.168.1.107 mynas.home
  10. CTRL + S to save the file (and then exit Notepad)
  11. Open up a new Explorer window, and type this into the address field:
    • \\mynas.home\Bigdata

What message do you get or what does it prompt you with?
 
Last edited:

Aotearoaboi

Dabbler
Joined
Feb 17, 2023
Messages
45
On your Windows client:
  1. Close all Explorer windows
  2. Windows Key + R
  3. Type in notepad (but don't click "OK" yet!)
  4. While holding down CTRL + SHIFT, click "OK" (to open up Notepad with administrative privileges)
  5. CTRL + O to bring up the "Open file" dialog
  6. Change the drop-down from "Text documents" to "All files"
  7. Browse to the folder C:\Windows\System32\drivers\etc\
  8. Open up the file named hosts
  9. Add the following line to the end of the file:
    • 192.168.1.107 mynas.home
  10. CTRL + S to save the file (and then exit Notepad)
  11. Open up a new Explorer window, and type this into the address field:
    • \\mynas.home\Bigdata

What message do you get or what does it prompt you with?

Thank you

Im just struggling with step 7. I don't see to have a folder called drives within system32

Screenshot 2023-02-26 213438.png
 

Aotearoaboi

Dabbler
Joined
Feb 17, 2023
Messages
45
That’s a web browser. I said Explorer. (The Windows file manager.)

Doh!

Sorry, im not the brightest spark sometimes. Heres what I got:
Screenshot 2023-02-27 175607.png


Following that it gave me error code 0x80004005 which I think it fixed by running gpupdate in cmd

The thing I just don't understand, is I have Microsoft authentication turned onso shouldn't that allow me to bypass this whole login screen? I don't even know what details it asking for? which username and password is it referring to?

One other question, should I do a static IP? whats the best way to choose an IP or to see what ip's are available on the network?
 
Last edited:
Top