Many issues installing 2.3 on Watchguard XTM 5


  • Picked up a Watchguard XTM 505 from eBay. Downloaded the 64bit 4GB img to a Transcend 8GB flash card and installed it. RAM is still 1GB as the new sticks have not yet arrived.

    Having quite a few issues:

    1. The box seems to have crashed overnight as I could not get into the web configuration today.
    2. Each time I log in, there is a crash report like:
    PHP Errors:
    [02-May-2016 21:35:33 Etc/GMT-5] PHP Stack trace:
    [02-May-2016 21:35:33 Etc/GMT-5] PHP   1\. {main}() /usr/local/www/pkg_mgr_install.php:0
    [02-May-2016 21:35:33 Etc/GMT-5] PHP   2\. write_config() /usr/local/www/pkg_mgr_install.php:451
    [02-May-2016 21:35:33 Etc/GMT-5] PHP   3\. backup_config() /etc/inc/config.lib.inc:553
    [02-May-2016 21:35:33 Etc/GMT-5] PHP   4\. copy() /etc/inc/config.lib.inc:920
    
    1. The dashboard indicates that there is an upgrade to 2.3_1 but when I attempt to upgrade, I get errors suggesting that the filesystem is read only:
    Warning: copy(/cf/conf/backup/config-1462205501.xml): failed to open stream: Read-only file system in /etc/inc/config.lib.inc on line 920
    Call Stack: 0.0003 233824 
    1\. {main}() /usr/local/www/pkg_mgr_install.php:0 0.0484 1396864 
    2\. write_config() /usr/local/www/pkg_mgr_install.php:451 0.0485 1397264 
    3\. backup_config() /etc/inc/config.lib.inc:553 0.0490 1397736 
    4\. copy() /etc/inc/config.lib.inc:920 Warning: filesize(): stat failed for /cf/conf/backup/config-1462205501.xml in /etc/inc/config.lib.inc on line 927 
    

    Is there something I am missing here or did I just end up with bad hardware? Suggestions on how to proceed would be very welcome.  FWIW, I have not pulled the VPN card out yet.


  • Followup to my own post. It really looks like I can not write to the flash card. Following the suggestions in the 2.3 upgrade post, I did:

    pkg update -f
    pkg upgrade -f
    sync
    reboot
    
    

    and, when the system rebooted, the same list of 129 packaged remained to be updated.

    I wrote the flash using rufus under Windows. I'm hoping that there is just some flag that I need to set to fix this.


  • The culprit appears to be```
    /etc/rc.conf_mount_rw

    I say this because:
    

    [2.3-RELEASE]admin: mount
    /dev/ufs/pfsense0 on / (ufs, local, noatime, synchronous)
    devfs on /dev (devfs, local)
    /dev/ufs/cf on /cf (ufs, local, noatime, read-only, synchronous)
    /dev/md0 on /tmp (ufs, local)
    /dev/md1 on /var (ufs, local)
    devfs on /var/dhcpd/dev (devfs, local)

    [2.3-RELEASE]admin: /etc/rc.conf_mount_rw

    [2.3-RELEASE]admin: mount
    /dev/ufs/pfsense0 on / (ufs, local, noatime, synchronous)
    devfs on /dev (devfs, local)
    /dev/ufs/cf on /cf (ufs, local, noatime, read-only, synchronous)
    /dev/md0 on /tmp (ufs, local)
    /dev/md1 on /var (ufs, local)
    devfs on /var/dhcpd/dev (devfs, local)


  • You'll need to set it permament rw mode under Diag>nanobsd.


  • That worked to do configuration. Is this a bug? Is there some way I can change the scripts to do whatever is being done with this switch from the GUI?