Freenas upgrade

Status
Not open for further replies.

Scareh

Contributor
Joined
Jul 31, 2012
Messages
182
Hiya,

just upgraded my freenas server from 8.3 to 9.1 release.

Couldn't upgrade through the GUI so I just made a new USB drive and booted from that, uploaded my config worked like a charm.

Used the : /root/migrate_pluginjail.sh -D
command to upgrade my jail since I had an Ajaxplorer/Teamspeak/... installation on it.

when verifying if everything works i get something "weird":


<code>
Jail# sockstat
sockstat: struct xtcpcb size mismatch
sockstat: struct xinpcb size mismatch
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
www-ajaxplorer php-fpm10980 0 stream/var/run/php-fpm-ajaxplorer.sock
www-ajaxplorer php-fpm10980 9 stream(not connected)
www-ajaxplorer php-fpm10979 0 stream/var/run/php-fpm-ajaxplorer.sock
www-ajaxplorer php-fpm10979 9 stream(not connected)
root php-fpm 10978 5 stream -> ??
root php-fpm 10978 7 stream -> ??
root php-fpm 10978 8 stream /var/run/php-fpm-ajaxplorer.sock
root php-fpm 10978 9 stream (not connected)
www nginx 10958 3 stream -> ??
www nginx 10958 10 stream -> ??
www nginx 10957 3 stream -> ??
www nginx 10957 8 stream -> ??
root nginx 10956 3 stream -> ??
root nginx 10956 8 stream -> ??
root nginx 10956 9 stream -> ??
root nginx 10956 10 stream -> ??
Jail#
</code>
when googling i found on freebsd forums something about my kernel being out of sync with the world?
http://forums.freebsd.org/showthread.php?t=4077 (for reference)
Havn't done anything yet, kinda worried atm so if anyone could come relax me i'd appreciate it ^^
 
D

dlavigne

Guest
Correct. You need to reinstall your applications as 8.x apps don't work on 9.x due to ABI incompatibilities.
 

Scareh

Contributor
Joined
Jul 31, 2012
Messages
182
as in make reinstall clean for the ports?
am I not better off deleting the jail completely?

I only have ports anyway
 
D

dlavigne

Guest
That should work. It wouldn't hurt to backup your app config files first then verify that they still work after the upgrade.

Alternately, you can make deinstall then make.
 

Scareh

Contributor
Joined
Jul 31, 2012
Messages
182
could you be a bit more specific on the "make deinstall then make" ?

Jail# service nginx make uninstall
/usr/local/etc/rc.d/nginx: extra argument ignored
/usr/local/etc/rc.d/nginx: unknown directive 'make'.
Usage: /usr/local/etc/rc.d/nginx [fast|force|one|quiet](start|stop|restart|rcvar|reload|configtest|upgrade|gracefulstop|status|poll)

i'm guessing i'm doing something wrong still
 
D

dlavigne

Guest
service is the command used to manage the startup scripts. To uninstall a port, cd into its ports subdir first:

cd /usr/ports/www/nginx (this assumes the ports tree is installed)
make deinstall
make install clean
 
Status
Not open for further replies.
Top