Iocage Jail for Syncthing does not start after update to 11.1-U6

Status
Not open for further replies.

Baenwort

Explorer
Joined
Feb 19, 2015
Messages
93
After updating to 11.1-U6 my previously working just fine Syncthing jail now will not start. When I issue the iocage start command it gives me this error:
Code:
iocage start syncthing

Host: 11.1 is not greater than jail: 11.2
This is unsupported.


I'd rather not wait a couple months to use Syncthing again and I'd rather not spend several weekend building a new Syncthing jail. Any other solutions?
 

8-bit Yoda

Explorer
Joined
Jun 16, 2018
Messages
68
Try iocage console syncthing and then just exit out.

*** comment added ***
Now check that status of your jail is "up" by running iocage list.
Note that executing iocage start syncthing will still fail, but it's no longer needed, as your jail is already running.
 
Last edited:

Baenwort

Explorer
Joined
Feb 19, 2015
Messages
93
Try iocage console syncthing and then just exit out.
Did not work. Was the aim to force a status change? All Exit did was drop me back to the main root.

Code:
root@thing:~ # iocage console syncthing
Last login: Sun Aug 19 10:47:19 on pts/1
FreeBSD 11.1-STABLE (FreeNAS.amd64) #0 r321665+9902d126c39(freenas/11.1-stable): Tue Aug 21 12:24:37 EDT 2018

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories:   https://www.FreeBSD.org/security/
FreeBSD Handbook:	  https://www.FreeBSD.org/handbook/
FreeBSD FAQ:		   https://www.FreeBSD.org/faq/
Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/
FreeBSD Forums:		https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:	  man hier

Edit /etc/motd to change this login announcement.
root@syncthing:~ # exit
logout
root@thing:~ # iocage start syncthing

Host: 11.1 is not greater than jail: 11.2
This is unsupported.
 

Baenwort

Explorer
Joined
Feb 19, 2015
Messages
93
However the following seems to have worked for anyone else who ran into this problem.

Code:
root@syncthing:~ # service -R
Stopping nginx.
Waiting for PIDS: 4373.
Stopping syncthing.
Waiting for PIDS: 4346.
Starting syncthing.
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Starting nginx.
root@syncthing:~ #
root@syncthing:~ # exit
logout
root@thing:~ # iocage list
+-----+------------------+-------+--------------+---------------+
| JID |	   NAME	   | STATE |   RELEASE	|	  IP4	  |
+=====+==================+=======+==============+===============+
| 6   | syncthing		| up	| 11.2-RELEASE | 192.168.1.191 |
+-----+------------------+-------+--------------+---------------+
| 2   | unifi_control	| up	| 11.1-RELEASE | 192.168.1.6   |
+-----+------------------+-------+--------------+---------------+


So force restarting the services from within the jail console flipped the iocage list state to "UP" and the Syncthing GUI is functioning. I'll report back if the clients don't sync but so far everything looks back to functional.
 

8-bit Yoda

Explorer
Joined
Jun 16, 2018
Messages
68
It's going into the console that triggers the jail to start up. The
Code:
iocage start syncthing
will still fail, but it's not needed, as your jail is already running.
 

rio236

Dabbler
Joined
Aug 19, 2016
Messages
38
Baenwort.
Could you provide your Syncthing iocage installation steps.
Thanks in advance.
 
Status
Not open for further replies.
Top