-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script fails in TrueNAS 12.2 #17
Comments
I 'm reading your script, and it is reporting for FreeNAS 11.x. It should work in TrueNAS 12? |
I am having a similar issue on TrueNAS 13:
|
I either missed or overlooked the original issue, likely because there's no such thing as TrueNAS 12.2. But the problem, both in the OP and for @GJSchaller, is networking for the jail in question. |
My config is simple, and works for other Jails / scripts with the same network settings: JAIL_IP="10.0.0.245" |
As a test, I created several Jails and tried to run "pkg install plex" on them. Base jail, 13.1, hardcoded IP address - pkg would not install I'm guessing something about the jail creation is not picking up DNS? |
I tried modifying the script a bit - with the following changes, it successfully installs pkg, but then fails when updating the manifest. I'm trying to compare the script to other, working scripts (like Nextcloud) to see why one works, and one does not, if that will help clear things up.
|
OK, I tired adding some comments to the script to see where it failed. After doing this, the script ran, created the jail, and completed without error - I got the final message to browse to the IP and configure Plex. Once I browsed to the URL, I got the UI and was able to log into Plex. My modified script is attached, if that helps clear things up. |
After follow the procedure in a new TrueNAS 12.2 install, i get
root@truenas12[/truenas-plex/freenas-iocage-plex]# ./plex-jail.sh
Netmask not set, defaulting to /24 (255.255.255.0)
Plex metadata path not set, defaulting to /mnt/Data/plex_data
Plex media path not set, please mount media directory manually when done
Not configuring hardware transcode
Using stable-release plexmediaserver code
Creating jail pms. This may take a minute, please be patient.
pms successfully created!
No default gateway found for ipv6.
Successfully added mount to pms's fstab
Successfully added mount to pms's fstab
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/latest, please wait...
pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/Latest/pkg.txz: No address record
Address resolution failed for http://pkg.FreeBSD.org/FreeBSD:12:amd64/latest.
Consider changing PACKAGESITE.
Command: pkg install plexmediaserver failed!
Failed to install plexmediaserver package
Destroying pms
I have the plex-config
JAIL_IP="192.168.1.19"
DEFAULT_GW_IP="192.168.1.1"
POOL_PATH="/mnt/Data"
and ran the ./plex-jail.sh from the directory I created for the download from git
My server has different NICs (Total 8), and the IP is in the same subnet of my Default Gateway.
I believe that this should be related to the pkg install problem, but not sure since I don't know your script
The text was updated successfully, but these errors were encountered: