"The value of DISTDIR cannot be empty"

Status
Not open for further replies.

sremick

Patron
Joined
Sep 24, 2014
Messages
323
I now get this error while trying to run portmaster in a jail.

HW Specs: see sig (but probably unrelated)

Background: Was running 9.2, "upgraded" to 9.10 by installing a clean FreeNAS to a new USB flash drive, then importing my 9.2 config.

No plugins, just 1 generic FreeBSD jail that I run Plex Media Server in. Initially after the 9.2 -> 9.10 transition, everything was fine. Ran a few "portmaster -a" cycles with no problem updating some ports. But for the last 2 days (at least, that I've noticed since trying) I get:

Code:
===>>> The value of DISTDIR cannot be empty
===>>> Aborting update
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Jails made on 9.2 will not work very well on 9.10. you need to rebuild them. This was all in the release notes.
 

sremick

Patron
Joined
Sep 24, 2014
Messages
323

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
If Plex is all you have installed in that jail, I'd suggest something like this:
  • Back up your Plex data outside the jail
  • Destroy your jails dataset
  • Create a new jail
  • In the jail, run pkg upgrade
  • pkg install plexmediaserver (or plexmediaserver-plexpass, if you have a subscription)
  • sysrc plexmediaserver_enable=YES (I don't recall the exact command off the top of my head, but the install notes should tell you)
  • service plexmediaserver start
  • service plexmediaserver stop
  • Restore your backed up Plex data
  • service plexmediaserver start
 
Status
Not open for further replies.
Top