Opened 2 years ago

Closed 18 months ago

#243 closed defect (fixed)

Can't create an NFS share

Reported by: survive Owned by: jhixson
Priority: major Milestone:
Component: Backend Version: 8.0.1-RELEASE
Keywords: NFS Share Cc:

Description

Hi guys,

I just installed RC-5 and it seems I can't create a Unix share. I have done all the basic system & network configuration and volume creation and have a share created and authenticating with AD, but when I go to "Add Unix Share" I simply get a FreeNAS pop-up window that says "Sorry, an error occurred". I have the NFS service started.

-Will

Attachments (3)

NFS_Share_Error.png (111.8 KB) - added by survive 2 years ago.
NSF_Share_Err2.png (115.1 KB) - added by survive 2 years ago.
NFS_Share_Err.txt (78.1 KB) - added by survive 2 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 Changed 2 years ago by jpaetzel

  • Owner set to john
  • Status changed from new to assigned

This may have something to do with AD. The NFS share dialog attempts to fetch the users and groups available to the system for use in the maproot and mapall sections.

If this is the problem switching off AD will allow the page to load properly.

Firefox + Firebug will give access to the underlying django traceback which will be useful in troubleshooting.

Are other aspects of AD working as expected?

comment:2 Changed 2 years ago by survive

Hi John,

I did a quick install last night just to check and see how things were coming along. I have AD authentication set up and it appears that my users are being imported properly. AD was a bit crabby about importing them, I had to actually reboot for it to come up & get the users.

I'll have to look at it more thoroughly tonight. I'll disable the AD service & see if that changes anything. I'll also run a "freenas-debug" & see how things look there.

I did speak to one user on IRC last night who saw the same behavior. I believe he runs AD auth as well.

-Will

comment:3 Changed 2 years ago by jpaetzel

  • Owner changed from john to jhixson

comment:4 Changed 2 years ago by survive

Hi jhixson,

As john requested I disabled the Active Directory service and was able to get the Unix share creation window.

I have installed firebug, but don't know what to do with it....if you can tell me what you need I would be happy to provide it.

-Will

comment:5 follow-up: Changed 2 years ago by survive

Hi jhixson,

As john requested I tried getting a traceback using Firefox + Firebug.

Attached is the what I think is the error.

-Will

Last edited 2 years ago by survive (previous) (diff)

Changed 2 years ago by survive

comment:6 in reply to: ↑ 5 Changed 2 years ago by jhixson

Hi Will,

In Firebug, if you could click the "All" tab, there will be a line with a "GET" request and a "+" to the left of it, if you click that you will get html dump of the page, from there please click on the "HTML" tab that now appears and upload a screenshot. This will help me debug this issue.

  • John

Changed 2 years ago by survive

Changed 2 years ago by survive

comment:7 Changed 2 years ago by survive

Hi John,

Please take a look at the 2 attached files.

-Will

comment:8 Changed 2 years ago by linux203

I receive the same error message creating NFS shares. However, I have LDAP enabled, not Active Directory.

If I disable the LDAP service, the dialog displays properly.

comment:9 Changed 2 years ago by linux203

After upgrading to FreeNAS-8.0-RELEASE-amd64 from FreeNAS-8.0-RC5-amd64, I can now create NFS shares with LDAP enabled. The LDAP users and groups are properly displayed in the GUI for selection.

comment:10 Changed 2 years ago by william

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:11 Changed 20 months ago by primesoftnz

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version changed from 8.0-RC5 to 8.0.1-RELEASE

comment:12 Changed 20 months ago by gcooper

I CAN HAZ INFO PLS?

comment:13 Changed 20 months ago by primesoftnz

I turned off active directory and I can now create the nfs share

comment:14 Changed 18 months ago by gcooper

  • Resolution set to fixed
  • Status changed from reopened to closed

Ok... so issues still exist in the permissions panes, but this is definitely a known problem that needs to seriously be buffed and polished in future (not 8.2, but the one after) releases.

Note: See TracTickets for help on using tickets.