Applies to Models: WRN-816S/WRN-1632/WRN-1632S
Issue Summary
This article explains steps to prevent the occurrence of WRN failure to boot to OS and freezing at the BIOS splash screen, or freezing on a black screen with no prompt.
WAVE reports that the OS drive is running out of drive space even though the drive is reserved and not used for recording or motion/object metadata storage. In some cases, this is caused by the Linux Ubuntu system log growing to a file size that uses all available free space on the 32GB eMMC(SSD) OS drive – resulting in performance/boot issues.
Resolution
Prepare Removable Media
To prepare the removable media:
- Download fix_wrn_failboot_log_cs_250314.sh (attached at the bottom of this article).
- Run the fix_wrn_failboot_log_cs_250314.sh script to delete the current Linux system log.
- Set a maximum syslog file size to ensure the issue does not manifest.
NOTE: In the script, the log size is set to 100MB and the journal maximum size is set
to 1GB max + rotation. - Copy the attached script to a removable media device (named MAINTENANCE in this example).
)
- Extract files from the .zip file so that the file fix_wrn_failboot_log_cs_25031.sh is in the root directory.
- Connect the removable media via a USB port on the WRN.
Connect to the WRN via Cockpit
To connect to the WRN via cockpit:
- From the WAVE Client workstation, or another PC with network access to the WRN, open the Chrome web browser.
- Connect to the WRN using the following syntax: https://<IP ADDRESS>:9090.
- Enter the server credentials:
Default username: wave
Password: set at initial server setup
Locate the Flash Drive Mount
To locate the flash drive mount:
- Click Storage.
- Locate the USB drive that was inserted in the Drives widget at the top righthand side of the storage dashboard.
- Click on the drive name.
- Click Mount and take note of the existing mounting point.
- Click Cancel.
Launch a Terminal Session via Cockpit
To launch a terminal session via cockpit:
- Open a terminal session by clicking terminal at the bottom of the left hand menu bar.
- Change directory to the mounted location of the USB Drive in Locate the Flash Mount Drive using the cd command cd /media/wave/MAINTENANCE.
- Run the fix script using the sudo /bin/bash command: sudo /bin/bash fix_wrn_failboot_log_cs_250314.sh
- If prompted, enter the server password for the WAVE account (the same used to log into cockpit).
If executed properly – success to remove wrn bug appears, and system maintenance is complete.