PLEX Plugin in 9.3 won't install

Status
Not open for further replies.

Kirk Gleason

Cadet
Joined
Jan 31, 2015
Messages
6
For whatever it is worth, it still seems to be happening:

Environment:

Software Version: FreeNAS-9.3-STABLE-201501301837
Request Method: POST
Request URL: http://10.0.0.6/plugins/plugin/inst...b2317e31d56f87b0fb950952617b9cdc8e80126c67ba/


Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
105. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
157. return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
22. return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/plugins/views.py" in install_available
282. raise MiddlewareError(e.message)

Exception Type: UnboundLocalError at /plugins/plugin/install/95473cd8b8de9f049d17b2317e31d56f87b0fb950952617b9cdc8e80126c67ba/
Exception Value: local variable 'e' referenced before assignment

This is my first install of FreeNAS, but I'm relatively experienced with FreeBSD. Since my STABLE build has the same date as the most recent NIGHTLY, can I expect to see a difference between STABLE and NIGHTLY?

Also worth noting that this is happening with every plugin, not just Plex.
 

FireNAS

Cadet
Joined
Jan 29, 2015
Messages
2
I'm getting the same problem with the latest STABLE FreeNAS.

Also, this might be for another thread out there but will try to mention here. When I create a new jail, the only directory on the new jail is /usr. Where is the rest? Could this be a bug as well?
 

Bobbyg387

Dabbler
Joined
Jan 31, 2015
Messages
32
I have spent the past few days battling this problem as well. I've deleted all datasets, wiped my HDD, reinstalled 9.3-stable, upgraded to the latest nightly build, all to keep installing plugins for roughly 45+/- minutes just to get an error and see that it dropped a jail, but no plugin anywhere.

I though the problem could have been when I upgraded from 9.2.x to 9.3-stable, I still had a "stale" dataset, but since I have wiped and redid everything, I still get the error.

I don't think it is a permission issue because I haven't gotten to the point in install/configure where I set permissions. It could be in network configuration, but it still doesn't seem like?

I am brand new to FreeNAS and to servers in general. I will say that after spending countless hours trying to resolve this, I have learned to navigate the software pretty well lol

If I can't get this figured out, I'll probably just roll back to an older version so that I can at least start using the Usenet service that I'm paying for.
 

Kirk Gleason

Cadet
Joined
Jan 31, 2015
Messages
6
Bobby,
That's a bummer. Mine was a brand new install -- new everything. Switching to the nightly from 1/30 seemed to do the trick. I've now install started 5 plugins. Working on getting the last one configured now.
 

Bobbyg387

Dabbler
Joined
Jan 31, 2015
Messages
32
It was a bummer, but now I've got them working too! I did update the latest Stable version and then did the nightly build update and that seemed to do the trick.

Can anyone guide me towards setting up the permissions?
 

Tim Skinner

Cadet
Joined
Feb 3, 2015
Messages
1
Also new to FreeNAS, not to FreeBSD, I've been using it almost daily for the last 6 years through work.

Same problems here. I was doing a fresh install and was unable to install plex with the previously posted errors.

I tried the nightly build and that did the trick I was finally able to get the plex plugin installed but when I tried to add storage to the plugin jail to actually use it I was getting this error: Destination must begin with an alphanumeric character and may only contain "-", "_", ":", " ", and "." This seems to indicate that the destination field must start with a start with an alphanumeric and may only contain what is listed, that pretty much excludes everything possible and after trying all combinations of inputs I had to agree.

Ironically another thread says to fix the Destination bug you need to downgrade from nightly to the latest stable, which you cant install the plugin from.

I have reinstalled again using the 9.3-RELEASE version and that fixed both problems and plex is up and running.
 

FireNAS

Cadet
Joined
Jan 29, 2015
Messages
2
I got the same errors with adding storage.

After hours and hours of frustrating trial and error. I decided to downgrade to STABLE 20150124. SSH the root and did pkg update and pkg upgrade. Installed PMS, Transmission, CouchPotato and Sickbeard smoothly after that. Then upgraded STABLE to the most recent one.
 

Bhavin578

Cadet
Joined
Feb 5, 2015
Messages
8
I am new user also and been trying for last 3 days to get these plugins to work with no luck. i tried stable, nightly and all but cant get it. Any of you guys who got it to work any advice or tricks?
iam using FreeNAS-9.3-STABLE-201502040431
Current Train: FreeNAS-10-Nightlies ()

this is the log i get :
Feb 5 20:11:34 freenas notifier: Performing sanity check on Samba configuration: OK
Feb 5 20:11:34 freenas manage.py: [common.pipesubr:58] Popen()ing: su - guest -c '/bin/cp -a /nonexistent/* /mnt/tank/media/guest/'
Feb 5 20:16:00 freenas notifier: Stopping collectd.
Feb 5 20:16:05 freenas notifier: Waiting for PIDS: 48514.
Feb 5 20:16:05 freenas notifier: Starting collectd.
Feb 5 20:16:08 freenas manage.py: [common.pipesubr:58] Popen()ing: /sbin/ping -q -t 2 -o 192.168.1.225
Feb 5 20:16:16 freenas manage.py: [common.pipesubr:58] Popen()ing: /sbin/ping -q -t 2 -o 192.168.1.225
Feb 5 20:27:29 freenas manage.py: [common.pipesubr:58] Popen()ing: /sbin/ping -q -t 2 -o 192.168.1.225
Feb 5 21:24:52 freenas warden: Building new Jail... Please wait...
Feb 5 21:24:52 freenas warden: zfs clone tank/jails/.warden-template-pluginjail@clean tank/jails/plexmediaserver_1
Feb 5 21:24:52 freenas warden: Success!
Feb 5 21:24:52 freenas warden: Jail created at /mnt/tank/jails/plexmediaserver_1
Feb 5 21:24:52 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: [Errno 2] No such file or directory: u'/mnt/tank/jails/plexmediaserver_1/.plugins/PLUGIN']
 
Last edited:

eddie408209

Cadet
Joined
Feb 6, 2015
Messages
2
Hello,

I am brand new to the Freenas, just built it a few days ago.

I was having this exact issue and I looked everywhere for an answer but couldn't find anything; currently running freenas 9.3 stable

I noticed someone mentioned updates, so I prodded around looking for anywhere where there could be some way of updating.

I fixed the plex plugin install issue by going to the left hand panel and going to:
system>update>check now

When I clicked on check now, it made a small list of updates for bugs i suppose? (im not quite sure)

Anyway, one of them mentioned something about plugins not being able to install when there is an apostrophe.

After the updates were installed, and the freenas rebooted, I tried again to install the plex plugin and it finally worked.

I havent made any further progress with it, as of yet, so im not 100% sure if it will function correctly, but i say this is progress at least.

Hope i helped someone out there :)
 

Bhavin578

Cadet
Joined
Feb 5, 2015
Messages
8
Yea I did that and now the issue is the install can't find the directory to place the plugins. Can you list how you set up your volumes? Maybe am not creating it correctly. Thanks in advance

so update i actually got the plugins to download. But now when i click my computers network i dont see the nas listed.
 
Last edited:

eddie408209

Cadet
Joined
Feb 6, 2015
Messages
2
That is good news!

Were you able to see the NAS listed in your network prior to this? (dumb question probably ha)

I have personally have trouble with the plugins and jails, they were being glitchy and wouldnt install correctly or erase completely (had to reboot to resolve)
 

Runic

Cadet
Joined
Feb 7, 2015
Messages
1
I am new user also and been trying for last 3 days to get these plugins to work with no luck. i tried stable, nightly and all but cant get it. Any of you guys who got it to work any advice or tricks?
iam using FreeNAS-9.3-STABLE-201502040431
Feb 5 21:24:52 freenas warden: Building new Jail... Please wait...
Feb 5 21:24:52 freenas warden: zfs clone tank/jails/.warden-template-pluginjail@clean tank/jails/plexmediaserver_1
Feb 5 21:24:52 freenas warden: Success!
Feb 5 21:24:52 freenas warden: Jail created at /mnt/tank/jails/plexmediaserver_1
Feb 5 21:24:52 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: [Errno 2] No such file or directory: u'/mnt/tank/jails/plexmediaserver_1/.plugins/PLUGIN']

I am also getting this exact same error running FreeNAS-9.3-STABLE-201502050159.

My Log:
Code:
Feb  7 00:11:12 freenas manage.py: [common.pipesubr:58] Popen()ing: /sbin/ping -q -t 2 -o 192.168.1.1
Feb  7 00:11:14 freenas manage.py: [common.pipesubr:58] Popen()ing: /sbin/ping -q -t 2 -o 192.168.1.2
Feb  7 00:11:15 freenas manage.py: [common.pipesubr:58] Popen()ing: /sbin/ping -q -t 2 -o 192.168.1.3
Feb  7 00:11:19 freenas warden: Building new Jail... Please wait...
Feb  7 00:11:19 freenas warden: zfs clone v1/jails/.warden-template-pluginjail@clean v1/jails/sabnzbd_1
Feb  7 00:11:28 freenas warden: Success!
Feb  7 00:11:28 freenas warden: Jail created at /mnt/v1/jails/sabnzbd_1
Feb  7 00:11:28 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: [Errno 2] No such file or directory: u'/mnt/v1/jails/sabnzbd_1/.plugins/PLUGIN']


Edit:
I got the same error installing plexmediaserver plugin, i just happened to save the logs of the same error occuring for sabnzbd. Clicking on jail shell auto closes as well.
 

Bhavin578

Cadet
Joined
Feb 5, 2015
Messages
8
yea am back to the lab again since am still having same issues. i think the answer might be clean the usb and install totally fresh. will keep you guys updated.
 

flowgoode

Cadet
Joined
Feb 7, 2015
Messages
2
I just did my 3rd clean install of FreeNAS-9.3-STABLE-201502060108

getting the following what I install plex:

Code:
[root@freenas ~]# tail /var/log/messages                                      
Feb  9 13:24:30 freenas nmbd[8598]:   STATUS=daemon 'nmbd' finished starting up
and ready to serve connections*****                                           
Feb  9 13:24:30 freenas nmbd[8598]:                                           
Feb  9 13:24:30 freenas nmbd[8598]:   Samba name server FREENAS is now a local m
aster browser for workgroup WORKGROUP on subnet 192.168.1.189                 
Feb  9 13:24:30 freenas nmbd[8598]:                                           
Feb  9 13:24:30 freenas nmbd[8598]:   *****                                   
Feb  9 13:37:28 freenas warden: Building new Jail... Please wait...           
Feb  9 13:37:28 freenas warden: zfs clone SSD1/Jails/.warden-template-pluginjail
@clean SSD1/Jails/plexmediaserver_1                                           
Feb  9 13:37:28 freenas warden: Success!                                      
Feb  9 13:37:28 freenas warden: Jail created at /mnt/SSD1/Jails/plexmediaserver_
1                                                                             
Feb  9 13:37:28 freenas manage.py: [middleware.exceptions:38] [MiddlewareError:
[Errno 2] No such file or directory: u'/mnt/SSD1/Jails/plexmediaserver_1/.plugin
s/PLUGIN'] 


edit: Going to install updates and reboot and see if that fixes it.
 
Last edited:

Bhavin578

Cadet
Joined
Feb 5, 2015
Messages
8
join the club we all in the same boat
 

flowgoode

Cadet
Joined
Feb 7, 2015
Messages
2
Just installed all updates for 9.3 STABLE and deleted all jail data sets, rebooted, and reinstalled. Plex plugin installed successfully!

System > Update > Check Now
 

c0re

Dabbler
Joined
Feb 11, 2013
Messages
26
Just installed all updates for 9.3 STABLE and deleted all jail data sets, rebooted, and reinstalled. Plex plugin installed successfully!

System > Update > Check Now

Thanks, I can confirm that the latest stable build works fine!
 

Bhavin578

Cadet
Joined
Feb 5, 2015
Messages
8
any chance you can share how you set up your volumes and jail config? Jail root?
 

Ziferius

Dabbler
Joined
Jun 9, 2014
Messages
27
Apparently, this is ongoing frustration - it's happening on the latest STABLE/Nightly build -- FreeNAS-9.3-STABLE-201502232343
 

Ziferius

Dabbler
Joined
Jun 9, 2014
Messages
27
just FYI, I didn't downgrade or anything -- just removed all my jails, rebooted. In this case, the crashplan plugin and corresponding jail installed fine. I neglected to reboot after a manual update last night.
 
Status
Not open for further replies.
Top