Yorick
Wizard
- Joined
- Nov 4, 2018
- Messages
- 1,912
So I was going to do a video about using @danb35 's plex install script. And, after some changes (interface name bad in 11.3), it sorta worked - only plexmediaserver would never install.
More changes, more changes, and I am now at a point that makes no sense at all. I can reliably reproduce the following behavior.
Create a jail named 'plex'. pkg won't install, complains it can't find pkg:
Try the exact same thing on a jail named 'lex'. And everything works fine:
No, I don't have another jail named plex. I had one called plex-old and one called Plex-Transcode, and I've now renamed them both out of sheer paranoia. And I can repeat this behavior - try it with a "plex" jail it fails; try it with a "lex" jail it succeeds.
If it was 4/1 I'd say FreeNAS is playing an April Fool's on me, but it's 4/4. This. Makes. No. Sense.
What gives? Any ideas, things I can track down?
More changes, more changes, and I am now at a point that makes no sense at all. I can reliably reproduce the following behavior.
Create a jail named 'plex'. pkg won't install, complains it can't find pkg:
Code:
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/latest, please wait... pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:11:amd64/latest/Latest/pkg.txz: Connection reset by peer A pre-built version of pkg could not be found for your system. Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'. Command: pkg install plexmediaserver failed! Failed to install plexmediaserver package
Try the exact same thing on a jail named 'lex'. And everything works fine:
Code:
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/latest, please wait... Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done [lex] Installing pkg-1.13.2... [lex] Extracting pkg-1.13.2: 100% Updating FreeBSD repository catalogue... [lex] Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 [lex] Fetching packagesite.txz: 100% 6 MiB 97.1kB/s 01:07 Processing entries: 100% FreeBSD repository update completed. 31560 packages processed. All repositories are up to date. Updating database digests format: 100% The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: plexmediaserver: 1.18.9.2578 Number of packages to be installed: 1 The process will require 367 MiB more space. 96 MiB to be downloaded. [lex] [1/1] Fetching plexmediaserver-1.18.9.2578.txz: 100% 96 MiB 1.3MB/s 01:17 Checking integrity... done (0 conflicting) [lex] [1/1] Installing plexmediaserver-1.18.9.2578...
No, I don't have another jail named plex. I had one called plex-old and one called Plex-Transcode, and I've now renamed them both out of sheer paranoia. And I can repeat this behavior - try it with a "plex" jail it fails; try it with a "lex" jail it succeeds.
root@freenas[~/freenas-iocage-plex]# iocage list
+-----+------+-------+--------------+------------------+
| JID | NAME | STATE | RELEASE | IP4 |
+=====+======+=======+==============+==================+
| 1 | LMS | up | 11.3-RELEASE | DHCP |
+-----+------+-------+--------------+------------------+
| 66 | PMS | up | 11.3-RELEASE | DHCP |
+-----+------+-------+--------------+------------------+
| 55 | hex | up | 11.3-RELEASE | DHCP |
+-----+------+-------+--------------+------------------+
| 72 | lex | up | 11.3-RELEASE | 192.168.3.129/24 |
+-----+------+-------+--------------+------------------+
If it was 4/1 I'd say FreeNAS is playing an April Fool's on me, but it's 4/4. This. Makes. No. Sense.
What gives? Any ideas, things I can track down?