I am having all kinds of problems with this. I upgraded from 11.3-U5 to TrueNAS Core 12.0 tonight. Plex did not start. After much online searching I found a few places that talked about using the
iocage upgrade
command. That didn't work for me, and after a lot of head scratching I figured out (I think) that I had to do a
iocage fetch
and then fetch the 12.1-RELEASE. That worked fine.
Now, when I do a
iocage upgrade -r 12.1-RELEASE plex
I get an error (below) about not finding a file called plex.json. There is a file in that folder named "plexmediaserver-plexpass.json", but not just plex.json.
Here is what I'm getting:
Code:
root@freenas[~]# iocage upgrade -r 12.1-RELEASE plex
Snapshotting plex...
Snapshot already exists
Updating plugin INDEX...
Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/iocage_cli/upgrade.py", line 40, in cli
ioc.IOCage(jail=jail, skip_jails=skip_jails).upgrade(release)
File "/usr/local/lib/python3.8/site-packages/iocage_lib/iocage.py", line 2102, in upgrade
new_release = ioc_plugin.IOCPlugin(
File "/usr/local/lib/python3.8/site-packages/iocage_lib/ioc_plugin.py", line 1307, in upgrade
shutil.copy(
File "/usr/local/lib/python3.8/shutil.py", line 415, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/local/lib/python3.8/shutil.py", line 261, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/BigPool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git/plex.json'
Here's the contents of that directory:
Code:
root@freenas[~]# ls /mnt/BigPool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git
.git icons README.md
asigra-11.1.json INDEX syncthing.json
asigra.json nextcloud.json tarsnap.json
bitcoin-node.json plexmediaserver-plexpass.json template
iconik.json plexmediaserver.json
HELP!
Andy Ostrom