How To Manually Update with Magic Wand (for Systems Team members only)

How To Manually Update with Magic Wand (for Systems Team members only)

How To Manually Update with Magic Wand (for Systems Team members only)

Objectives

Document instructions for a sysadmin to manually udpate terminals in the field.

Prerequisites

  1. Device with remote connection
  2. Update Available
  3. finaldeps.zip listed in Feature #499

 

Instructions

 

This should work for all versions. Tested on 6.1.0, 6.2.0, 7.0.1, 7.1.0, 7.2.0, 7.3.0 posx print server. 6.1.0 and 6.2.0 will need updateos.sh ran twice. It will fail the first time with an error from parted, then a reboot is necessary, then it will run correctly the 2nd time.

1. Download the finaldeps.zip from Feature #499. Unzip the archive to its own directory.
2. Copy rpms to target terminal using WinSCP.
3. On the terminal, navigate to directory now containing the copied deps.
4. Run the command:

# zypper --non-interactive --no-gpg-checks install -y *.rpm


5. Create the /home/touchscreen/OSUpdater/device_name file with correct DEVICE=XXXXXX (ie DEVICE=cyprus) variable. Save and quit
6. Add the /etc/sysconfig/fullcount config file variables:

FC_OS_UPDATE_URL=https://updates.fullcount.net/osupdater

FC_OS_UPDATE=yes

FC_OS_UPDATE_FORCE=no

7. Navivate to /home/touchscreen/OSUpdater/ directory. Run the command

# systemctl restart fullcount-checkforupdates

8. The squashfs file should download to the /home/touchscreen/OSUpdater/ directory. Once it's finished run

# bash -x updateos.sh

 

Note: If for whatever reason the new update failed but GRUB is still accesible and the device can boot into the old OS, run this command from the old OS to overwrite the new GRUB with the original bootloader:

# rm /etc/grub.d/05_custom_new_os

 

# grub2-mkconfig -o /boot/efi/EFI/BOOT/grub.cfg && grub2-mkconfig -o /boot/grub/grub.cfg

 

# cp /boot/efi/EFI/BOOT/grub.efi /boot/efi/EFI/BOOT/bootx64.efi


    • Related Articles

    • How Magic Wand Works

      How Magic Wand Works On boot and if enabled in the fullcount config file, the fullcount-checkforupdates.service runs update_checker.sh, which pulls down the latest current_release file and updateos.sh script. update_checker.sh checks whether ...
    • How To Use Magic Wand on OS Image Version 7.5.0+

      How To Use Magic Wand on OS Image Version 7.5.0+ Objectives Update FullCount OS Images to newer versions via Magic Wand. Prerequisites 1. FullCount Device with OS Image 7.5.0+ 2. A new update available 3. Device Management configured to Allow OS ...
    • Workflow for Systems Tasks

      Workflow for Systems Tasks Overview Create a new Tracker task. Check out a working copy. Create a new branch. Make changes within the branch in your working copy. Test your changes. Fix problems discovered during testing. Commit your changes to the ...
    • Outlooks Rules for Development Team

      Outlooks Rules for Development Team Here are a list of Outlook rules that can be set up to help organize the inbox of the development team. Prometheus Alerts – Sender is alertmanager@fullcount.net Applications Alerts - Sender is alerts@fullcount.net ...
    • Update BIOS on DT Research DT315BT Tablets

      Objectives Update the BIOS on DT315BT tabets so OS Images 7.1.0+ install correctly. Prerequisites DT315BT Tablet DT Research dock BIOS update USB drive Keyboard Instructions Insert "BIOS Update" USB drive into the USB port on the left-hand side of ...