Anthony Chastain
Dabbler
- Joined
- Jul 27, 2017
- Messages
- 16
I renamed a jail using the UI (staff-wiki to just wiki). I then ran into issues (unrelated to the rename). I shut down the jail, rolled it back to the last known good snapshot and attempted to start the jail back up as I have so many times before. This time, I get "jail 'wiki' not found!"
I did indeed roll the jail's root dataset back to before it was renamed using the UI. It didn't even occur to me that this would cause an issue.
Attempting to rename it, start it, delete it, or make any changes at all to it result in the jail-not-found error. In an attempt to fix it, I exported the jail, deleted it completely and its dataset, then imported it again. The import was successful, but the error remains.
If I try to start the jail from command line
There's clearly more than one place that a jail derives its name. Is there some database entry I can alter to fix this?
SYSTEM:
TruNAS CORE 12.0-U8
10TBx7-Disks w/ RAIDZ2
Intel Xeon 2.10GHz x 16 cores
160GB Memory
2 x 10Gb LAGG network interface
I did indeed roll the jail's root dataset back to before it was renamed using the UI. It didn't even occur to me that this would cause an issue.
Attempting to rename it, start it, delete it, or make any changes at all to it result in the jail-not-found error. In an attempt to fix it, I exported the jail, deleted it completely and its dataset, then imported it again. The import was successful, but the error remains.
If I try to start the jail from command line
iocage start wiki
, I get the same error. If I try to start the jail using the old name from command line iocage start staff-wiki
, it acts like it's going to start but fails because .../iocage/jails/staff-wiki: No such file or directory
There's clearly more than one place that a jail derives its name. Is there some database entry I can alter to fix this?
SYSTEM:
TruNAS CORE 12.0-U8
10TBx7-Disks w/ RAIDZ2
Intel Xeon 2.10GHz x 16 cores
160GB Memory
2 x 10Gb LAGG network interface