felthamn
Dabbler
- Joined
- Jan 25, 2018
- Messages
- 40
Good morning folks. I was trying to create an iocage instance last night and ran into a couple of issues which have me completely baffled. I have followed the previous procedure suggested which has worked well in the past which was.
cd /tmp
git clone --recursive https://github.com/iocage/iocage
so far so good. Then I ran into the following issue when trying to copy the iocage files from the tmp folder using
cp -R iocage/iocage/lib/ /usr/local/lib/python3.6/site-packages/iocage/lib
and got the following error
cp: iocage/iocage/lib/: Not a directory
Now I managed to sort this one or at least I think I did with the following (it looked like the folder structure changed from iocage/iocage/lib to iocage/iocage_lib)
cp -R iocage/iocage_lib/ /usr/local/lib/python3.6/site-packages/iocage/lib
Moving onto the next step I tried to create a plex jail with.
iocage create --name "PLEX" -r 11.1-RELEASE ip4_addr="vnet0|{IP Addres}/24" defaultrouter="{Default Gateway}" boot="on" host_hostname="PLEX" vnet="on"
I have removed the IP addresses for the purposes of this post. I now get the following...
Creating homenet/iocage
Creating homenet/iocage/download
Creating homenet/iocage/images
Creating homenet/iocage/jails
Creating homenet/iocage/log
Creating homenet/iocage/releases
Creating homenet/iocage/templates
Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/iocage/cli/create.py", line 147, in cli
iocage = ioc.IOCage(exit_on_error=True, skip_jails=True)
TypeError: __init__() got an unexpected keyword argument 'exit_on_error'
I am now completely stumped. I was wondering if it was worth while rolling back to 11.1-U4 to see if that would resolve things or am I missing something blatantly obvious. Any suggestions?
cd /tmp
git clone --recursive https://github.com/iocage/iocage
so far so good. Then I ran into the following issue when trying to copy the iocage files from the tmp folder using
cp -R iocage/iocage/lib/ /usr/local/lib/python3.6/site-packages/iocage/lib
and got the following error
cp: iocage/iocage/lib/: Not a directory
Now I managed to sort this one or at least I think I did with the following (it looked like the folder structure changed from iocage/iocage/lib to iocage/iocage_lib)
cp -R iocage/iocage_lib/ /usr/local/lib/python3.6/site-packages/iocage/lib
Moving onto the next step I tried to create a plex jail with.
iocage create --name "PLEX" -r 11.1-RELEASE ip4_addr="vnet0|{IP Addres}/24" defaultrouter="{Default Gateway}" boot="on" host_hostname="PLEX" vnet="on"
I have removed the IP addresses for the purposes of this post. I now get the following...
Creating homenet/iocage
Creating homenet/iocage/download
Creating homenet/iocage/images
Creating homenet/iocage/jails
Creating homenet/iocage/log
Creating homenet/iocage/releases
Creating homenet/iocage/templates
Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/iocage/cli/create.py", line 147, in cli
iocage = ioc.IOCage(exit_on_error=True, skip_jails=True)
TypeError: __init__() got an unexpected keyword argument 'exit_on_error'
I am now completely stumped. I was wondering if it was worth while rolling back to 11.1-U4 to see if that would resolve things or am I missing something blatantly obvious. Any suggestions?