Project

General

Profile

Bug #28207

Unable to create AFP shares after upgrade to 11

Added by Anthony Davis over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Expected
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Seen in:
Severity:
Reason for Closing:
User Configuration Error
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Please see attached screenshot


Related issues

Is duplicate of FreeNAS - Bug #27294: AFP brokenClosed2017-12-17

History

#1 Updated by Anthony Davis over 2 years ago

  • File debug-NAS-20180206021230.txz added
  • Private changed from No to Yes

#3 Updated by Dru Lavigne over 2 years ago

  • Category changed from OS to Middleware
  • Assignee changed from Release Council to William Grzybowski
  • Seen in changed from 11.1-U1 to 11.1-U1

#4 Updated by William Grzybowski over 2 years ago

  • Assignee changed from William Grzybowski to Vladimir Vinogradenko
  • Priority changed from Nice to have to Expected
  • Target version set to 11.1-U2

I believe this is a fallout from the AFP home change?

#5 Updated by William Grzybowski over 2 years ago

  • Due date set to 02/12/2018

#6 Updated by Vladimir Vinogradenko over 2 years ago

  • Status changed from Not Started to Closed
  • Reason for Closing set to Duplicate

#7 Updated by Vladimir Vinogradenko over 2 years ago

#8 Updated by Vladimir Vinogradenko over 2 years ago

Anthony Davis, please see comments at the bottom of https://redmine.ixsystems.com/issues/27294, they will help you to resolve your problem

#9 Updated by Dru Lavigne over 2 years ago

  • File deleted (debug-NAS-20180206021230.txz)

#10 Updated by Dru Lavigne over 2 years ago

  • Target version changed from 11.1-U2 to N/A
  • Private changed from Yes to No

#11 Updated by Anthony Davis over 2 years ago

Vladimir Vinogradenko wrote:

Anthony Davis, please see comments at the bottom of https://redmine.ixsystems.com/issues/27294, they will help you to resolve your problem

Thank you Vladimir - I just recreated that table as described and I am still unable to create new AFP shares. "NOT NULL constraint failed: sharing_afp_share.afp_home"

#12 Updated by Vladimir Vinogradenko over 2 years ago

Anthony, you have issues with different table. Try this:

DROP TABLE "sharing_afp_share";
CREATE TABLE IF NOT EXISTS "sharing_afp_share" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "afp_path" varchar(255) NOT NULL, "afp_name" varchar(120) NOT NULL, "afp_comment" varchar(120) NOT NULL, "afp_allow" varchar(120) NOT NULL, "afp_deny" varchar(120) NOT NULL, "afp_ro" varchar(120) NOT NULL, "afp_rw" varchar(120) NOT NULL, "afp_timemachine" bool NOT NULL, "afp_nodev" bool NOT NULL, "afp_nostat" bool NOT NULL, "afp_upriv" bool NOT NULL, "afp_fperm" varchar(3) NOT NULL, "afp_dperm" varchar(3) NOT NULL, "afp_umask" varchar(3) NOT NULL, "afp_hostsallow" varchar(120) NOT NULL, "afp_hostsdeny" varchar(120) NOT NULL, "afp_auxparams" text NOT NULL, "afp_timemachine_quota" integer NOT NULL);

(all your afp shares settings will be lost, you'll need to recreate them)

#13 Updated by Vladimir Vinogradenko over 2 years ago

  • Reason for Closing changed from Duplicate to User Configuration Error

#14 Updated by Anthony Davis over 2 years ago

Vladimir Vinogradenko wrote:

Anthony, you have issues with different table. Try this:

[...]

(all your afp shares settings will be lost, you'll need to recreate them)

Thanks you Vladimir, this has fixed my issue.

Also available in: Atom PDF