This weekend I had an interesting experience: A plugin failed for to update and left my jail in an odd state halting all downloads. I figured, “Let’s do the Jail thing, copy out the /var/db/ directory, rebuild/replace/resolve!”It wasn’t so simple.
I was reminded of constant errors, related to python compiled SSL 0.9.8, that I had experienced last time I was spinning up new plugins; but now all sources hard-blocked me. SSLError: SSL: TLSV1ALERTPROTOCOLVERSION tlsv1 alert protocol version ( ssl. C: 645 ) So what happened? What could I do?I tried updating python, but the jail’s python was still using the old pyOpenSSL with 0.9.8 while the rest of the system was on 1.0.2.I tried copying updated ssl.so compiled libraries, but as you’d expect with this kind of piecemeal: a lot of dependencies didn’t make it over.I tried to softlink versions of python with a known-good pyOpenSSL, and again ran into directory and dependency problems.Several hours of trying to duct tape my way to success: I gave up. Lets look into the “Why did this really happen?”FreeBSD Jails plugins for FreeNAS were using a compiled version of Python that was wrapped with this outdated OpenSSL library. Any Warden based jail I spun up was impacted by this, which also means that soon my Couchbase, sabNZBD, Transmission, and Plex will all be impacted with this as well on the next update.The solution: IOCage based Jails using an updated FreeBSD kernel!
But 11.1 didn’t have the IOCage plugins enabled in the new UI. Sadder day.I’ve now encountered a laundry list of issues with my build, and a solution was readily available: Get onto 11.2Beta3 with the new UI and IOCage plugins, and updated Python compilations. Time to update!FreeNAS 11.1 made this stupid simple (after backing up my configuration)- Log in to the web UI - System - Update - pick your train and.wait.I made the mistake of getting hasty while it was updating and thought it was frozen, I refreshed the browser and ran into some errors about permissions in the /var/db/freenas directory; I fixed them and re-updated. I was met with being stuck at the NIC instantiation on boot time.
![Configurare Plex In Freenas 11 Configurare Plex In Freenas 11](/uploads/1/2/4/0/124085973/519716966.png)
In addition, Plex may add, modify, or delete any aspect, program, functionality, or feature of the Plex Solution. Your continued use of the Plex Solution following any addition, modification, or deletion will be conclusively deemed acceptance of any change to the terms and conditions of this TOS.
I rebooted again, booted into the alternate partition, and tried again. This time I went and made a sandwich or something and by the time I came back it had finished, rebooted, and entered 11.2 clean and easy.Now that I had the new version 11.2, updated web UI (which is looking good so far, keep up the good work XI!), and access to the plugins it didn’t have the plugins I wanted.Saddest day.I was resolute in my need to get my TV show manager working, but what to do. I looked at as an option, and realized the last commit was in 2015, not wanting that. I was going to go back to and realized that I was a bit bored with it. Then I found.
It seemed easy enough to manage, was really similar to SickRage visually, but seemed to be the current hotness. Lets do this.I was hoping to find a guide to install this, but instead all I had was a generic Jail install guide. So here’s what I did:In FreeNAS, I set up a new Jail using the new UI (the old UI will set up Warden jails, the new UI will set up IOCage jails. The older version of jails (Warden) allowed for configuring these properties in the GUI and through /etc/sysctl.conf. I was just trying to do it on my configuration and found you were right, this does not work; just as you described.What I do for simplifying my ports is using HAProxy, others use NGINX. This setup is pretty simple – I’ll write a post soon about doing HAProxy in various places in my stack; hopefully this will help with your issue.Did you find a workaround in the meantime?
Looks like I missed the comment for a while. I’m editing my answer as the old version of doing this with sysctl.conf changes doesn’t seem to work on 11.2 with iocage.What I use to do port translation is a reverse proxy, specifically HAProxy; others use NGINX.
![Configurare Plex In Freenas 11 Configurare Plex In Freenas 11](/uploads/1/2/4/0/124085973/470176176.jpg)
These allow for header based redirection and port forwarding to non-standard ports, this greatly simplifies bigger configurations and allows for more robust systems in the long run and I highly encourage it.I have a task to add a how-to on configuration of HAProxy for purposes like this, I’ll re-prioritize and post soon!