I manually installed PlexPass on a fresh 11.3 iocage jail using old settings. Works like a charm.
I just created a 11.3 jail and i have installed Plexpass from the pkg, but i can't access IP:32400. Do you know of a good walkthrough? The few i have followed are great up until it asks me to tunnel in using putty - here it breaks and i can't access the login page for plexpass.
I had the same issue with "file could not be merged automatically" and being unable to get to the jail shell / console ("invalid login") when upgrading a jail from 11.2 U7 to 11.3 RC1 . So how can I avoid this? For now I have rolled back the snapshots...That's a lot of unnecessary work. I just want to point that out for anyone who happens across this thread so they don't think that this is the way you have to do this. An in place upgrade of your jails from 11.2 to 11.3 is simple and works fine.
Go with my instructions on post 2 and you should not have problems upgrading.
Yes this does work. Thanks for the middle button paste into vi hint! I hate vi. Great work!SOLVED !
- Update jails you wanna upgrade to latest patchlevel -
iocage update [B]jailname[/B]
- Make sure you have a snapshot of currently functional jail - GUI > Storage > Pools > dataset > iocage> jails > click menu on your jail > Create snapshot
- SSH to you freenas box and call this command:
iocage upgrade -r 11.3-RELEASE jailname
- Now spoiler part for every question
Here answer YES
Code:The following components of FreeBSD seem to be installed: world/base world/doc world/lib32 The following components of FreeBSD do not seem to be installed: world/base-dbg world/lib32-dbg Does this look reasonable (y/n)? y
Here copy everything from /etc/freebsd-update.conf to vi editor and save/close
Code:The following file could not be merged automatically: /etc/freebsd-update.conf Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Same as above
Code:The following file could not be merged automatically: /etc/group Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Same as above
Code:The following file could not be merged automatically: /etc/hosts Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Same as above
Code:The following file could not be merged automatically: /etc/master.passwd Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Same as above
Code:The following file could not be merged automatically: /etc/passwd Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Same as above
Code:The following file could not be merged automatically: /etc/pkg/FreeBSD.conf Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Now 6th times answer YES when bsd asks if this does look reasonable it will confirm changes.
And finallyiocage console jail1
and test pkg update && pkg upgrade
Voila....
Of course after every upgrade check if everything works for you, if not then roll back with snapshot we created earlier.
Snapshotting transmission... Updating plugin INDEX... Running upgrade... Testing SRV response to iocage-plugins Testing DNSSEC response to iocage-plugins Installing plugin packages: - net-p2p/transmission-daemon... - www/transmission-web... Cloning git repository Branch 11.2-RELEASE does not exist at https://github.com/freenas/iocage-plugin-transmission.git! Using "master" branch for plugin, this may not work with your RELEASE transmission successfully upgraded!
SOLVED !
- Update jails you wanna upgrade to latest patchlevel -
iocage update [B]jailname[/B]
- Make sure you have a snapshot of currently functional jail - GUI > Storage > Pools > dataset > iocage> jails > click menu on your jail > Create snapshot
- SSH to you freenas box and call this command:
iocage upgrade -r 11.3-RELEASE jailname
- Now spoiler part for every question
Here answer YES
Code:The following components of FreeBSD seem to be installed: world/base world/doc world/lib32 The following components of FreeBSD do not seem to be installed: world/base-dbg world/lib32-dbg Does this look reasonable (y/n)? y
Here copy everything from /etc/freebsd-update.conf to vi editor and save/close
Code:The following file could not be merged automatically: /etc/freebsd-update.conf Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Same as above
Code:The following file could not be merged automatically: /etc/group Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Same as above
Code:The following file could not be merged automatically: /etc/hosts Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Same as above
Code:The following file could not be merged automatically: /etc/master.passwd Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Same as above
Code:The following file could not be merged automatically: /etc/passwd Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Same as above
Code:The following file could not be merged automatically: /etc/pkg/FreeBSD.conf Press Enter to edit this file in /usr/bin/vi and resolve the conflicts manually...
Now 6th times answer YES when bsd asks if this does look reasonable it will confirm changes.
And finallyiocage console jail1
and test pkg update && pkg upgrade
Voila....
Of course after every upgrade check if everything works for you, if not then roll back with snapshot we created earlier.
The following file could not be merged automatically: /etc/master.passwd
Press Enter to edit this file in /usr/bin/vi and resolve the conflicts
manually...
To install the downloaded upgrades, run "/tmp/tmpyovseay_ install". src component not installed, skipped Installing updates... Kernel updates have been installed. Please reboot and run "/tmp/tmpyovseay_ install" again to finish installing updates. src component not installed, skipped Installing updates...pwd_mkdb: 36Z bcr $ gid is incorrect pwd_mkdb: at line #1 pwd_mkdb: /mnt/jailhouse/iocage/jails/nextcloud/root/etc/master.passwd: Inappropriate file type or format done. nextcloud successfully upgraded from 11.2-RELEASE-p15 to 11.3-RELEASE-p5!
src component not installed, skipped
which I really don't know what it means.Message from postfix-sasl-3.4.8,1: -- If you are upgrading from prior postfix version, please see the README files for recommended changes to your configuration and additional http://www.postfix.org/COMPATIBILITY_README.html ===== Message from mariadb103-server-10.3.21: -- Remember to run mysql_upgrade (with the optional --datadir=<dbdir> flag) the first time you start the MySQL server after an upgrade from an earlier version. Message from postfix-sasl-3.4.8,1: -- If you are upgrading from prior postfix version, please see the README files for recommended changes to your configuration and additiona http://www.postfix.org/COMPATIBILITY_README.html ===== Message from mariadb103-server-10.3.21: -- Remember to run mysql_upgrade (with the optional --datadir=<dbdir> flag) the first time you start the MySQL server after an upgrade from an earlier version.
Go with my instructions on post 2 and you should not have problems upgrading.
"iocage upgrade -r 11.3-RELEASE jailname" was all I needed to update all my jails to 11.3. I got no additional prompts or errors. Run command, wait, and done.
Plugins on the other hand I get...
[...]
... and it is still on 11.2-RELEASE-p12
For mysql upgrade notice just SSH to your jail as root and run mysql_upgrade, if it throws an error just use this commands:Oh, Thanks!
This save my life, I was ready to destroy the nextcloud jail and manually install all over again. I spent a week figuring this out, and another 2 days how to deal with:
I ended up opening the jail on Transmit FTP connection searching for each individual file, copy and paste on vi, not to mention took me almost an hour how to properly save & exit on vi: shift-z-z
Well everything when well just had a few messages:
#1
Code:To install the downloaded upgrades, run "/tmp/tmpyovseay_ install". src component not installed, skipped Installing updates... Kernel updates have been installed. Please reboot and run "/tmp/tmpyovseay_ install" again to finish installing updates. src component not installed, skipped Installing updates...pwd_mkdb: 36Z bcr $ gid is incorrect pwd_mkdb: at line #1 pwd_mkdb: /mnt/jailhouse/iocage/jails/nextcloud/root/etc/master.passwd: Inappropriate file type or format done. nextcloud successfully upgraded from 11.2-RELEASE-p15 to 11.3-RELEASE-p5!
still working aftersrc component not installed, skipped
which I really don't know what it means.
#2
Code:Message from postfix-sasl-3.4.8,1: -- If you are upgrading from prior postfix version, please see the README files for recommended changes to your configuration and additional http://www.postfix.org/COMPATIBILITY_README.html ===== Message from mariadb103-server-10.3.21: -- Remember to run mysql_upgrade (with the optional --datadir=<dbdir> flag) the first time you start the MySQL server after an upgrade from an earlier version. Message from postfix-sasl-3.4.8,1: -- If you are upgrading from prior postfix version, please see the README files for recommended changes to your configuration and additiona http://www.postfix.org/COMPATIBILITY_README.html ===== Message from mariadb103-server-10.3.21: -- Remember to run mysql_upgrade (with the optional --datadir=<dbdir> flag) the first time you start the MySQL server after an upgrade from an earlier version.
This, I do know is about updating mariaDB and postfix, which I'll do another day everything is working fine and all my configuration are intact. I'm totally new at this, but was able to mange I'm proud of my self Lol.
UNRELATED
I Notice that on nexcloud GUI said 17.0.2, but on the security scan said 17.1.1
service mysql stop
mysqld_safe --skip-grant-tables
service mysql start
For mysql upgrade notice just SSH to your jail as root and run mysql_upgrade, if it throws an error just use this commands:
service mysql stop
mysqld_safe --skip-grant-tables
service mysql start
and then run again mysql_upgrade and you should be done
Sure, I am using mariadb too...Thanks, I'm using mariadb would mysql_upgrade work?
Maybe its possible but It would be more work than do it the "old way". But if you can do it feel free to share it here afterwards.If multiple jails are being upgraded, is there any way to change the download directory to a shared directory so that I'm not downloading the same packages a dozen times?
It does not work for plugins, you must install plex from scratch made jailThanks for the guide, have every jail upgraded apart from my PMS which is throwing me off a little.
I have absolutely no idea why i'm getting this error. I installed the Plugin for Plex but manually update it with PMS_Updater, i have a cron job which does it automatically for me. If anyone can disect what it is that's the matter and give me a heads up to fix i'd really appreciate it.
View attachment 35161