User Tools

Site Tools


update_everything

Update Everything

A collection of update guides on everything linked from their pages.

Windows:

Mac OS:

  • brew cask upgrade
2019/11/07 10:26 · derek

Ubiquiti:

ESXI:

BIOS:

Intel VPro:

ESXi:

vCenter:

XPEnology:

System:

  • The system will send an email when an update is found.
  • Check XPEnology Community Forum - Updates to see whether the update requires any extra work or causes issues, and to check the release notes.
  • Navigate to the Synology DSM
  • Shutdown the DSM
  • Navigate to ESXi and create a snapshot using the current DSM version as the name
  • Power on the VM again
  • Follow any extra instructions from the forum
  • If not otherwise instructed:
    • DSM > Control Panel > Update & Restore > DSM Update:
      • Download
      • Then Update Now when the download is finished

Packages:

  • A notification will be sent to the web interface when a package needs an update (Optionally receive an email if desired)
  • Package Center > Installed > Attention Required:
    • Click on each of the packages if you want to check the changelogs
    • Either click Update All or Update each package individually
2019/08/24 13:31 · derek

OpenFLIXR:

Windows Server:

Windows Test:

  • FIXME
  • Download a new VMware file from Microsoft
  • Delete old snapshot
  • Replace the old one?
  • Take snapshot called Reset Licence
  • Windows Update?
2020/05/31 17:25 · derek

Docker Host:

  • Update the OS:
Update
  • If desired, Log in to ESXi, navigate to the docker VM and create new snapshot
  • Using an SSH client, connect to <hostname>:50001 then run:
tdnf upgrade
tdnf clean all
reboot  # If desired/needed
2020/05/18 18:24 · derek
  • Then reconnect and run:
# For some reason I needed to re-enable docker starting on boot?
systemctl enable docker

# Update Portainer:
docker pull portainer/portainer
# If it responds with the following:
# Status: Downloaded newer image for portainer/portainer:latest
# then run the following to update the container
docker stop Portainer
docker rm Portainer
docker run --name Portainer --restart=always -d -p 8000:8000 -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
2019/09/17 13:45 · derek

Unifi Controller:

  • Navigate to Portainer and to the Unifi Controller container
  • Click on Recreate
  • Select Pull latest image
  • Click Recreate
2019/09/18 06:21 · derek

AMP Game Server:

  • The management page shows when an update is needed
  • Warning: Updating restarts all game servers!
  • Check https://support.cubecoders.com/ for update notes
  • Run as root from the ESXi interface (because root is blocked from ssh)
  • Update the instance manager command line tool:
  • apt update
  • apt upgrade
  • Update the AMP instances
  • runuser -l AMP -c "ampinstmgr upgradeall"
  • Use Shift+F5 or Shift+Command+R to refresh with a clear cache after updating
2019/09/19 07:19 · derek

Terraria Server:

  • If desired, Log in to ESXi, navigate to the docker VM and create new snapshot
  • Using an SSH client, connect to <hostname>:50001 then run:
tdnf upgrade
tdnf clean all
reboot  # If desired/needed
2020/05/18 18:24 · derek
  • Check the PC Dedicated Server link at the bottom of https://terraria.org for the latest server file and change all the 1402 references to the correct version and link
# Download
cd /tmp
curl --output terraria-server.zip https://terraria.org/system/dedicated_servers/archives/000/000/036/original/terraria-server-1402.zip?1589675482
unzip terraria-server.zip
 
# Stop the server
tmux send-keys -t terraria "exit" Enter
 
# Replace server files FIXME
rm -r /terraria/server
mv 1402/Linux /terraria/server
chmod u+x /terraria/server/TerrariaServer*
 
# Remove temp files
rm terraria-server.zip
rm -r 1402
 
# Start the server
tmux new -d -s terraria "/terraria/server/TerrariaServer.bin.x86_64 -config /terraria/serverconfig.txt" \; pipe-pane -o -t terraria "cat >>/terraria/server.log"
 
exit
2020/05/20 15:50 · derek

Caddy Server:

  • If desired, Log in to ESXi, navigate to the docker VM and create new snapshot
  • Using an SSH client, connect to <hostname>:50001 then run:
tdnf upgrade
tdnf clean all
reboot  # If desired/needed
2020/05/18 18:24 · derek
# Update Caddy
caddy version
# Compare with the version from https://github.com/caddyserver/caddy/releases/latest and copy the link for the "caddy_2.x.x_linux_amd64.tar.gz" file if newer
curl -L -o /tmp/caddydir/caddy.tar.gz "<DownloadLink>"
tar -xzf caddy.tar.gz -C /tmp/caddydir
mv /tmp/caddydir/caddy /usr/bin/
rm /tmp/caddydir/*
systemctl reload caddy
 
# Update just config
# Generate a GitHub Personal Access Token at https://github.com/settings/tokens
fetch --repo="https://github.com/Archer4499/Configs" --branch="master" --source-path="/Server/Caddy/Caddyfile" --github-oauth-token="<GitHub PAT>" /etc/caddy/Caddyfile
 
# Update Config and HTML
rm -r /etc/caddy
# Generate a GitHub Personal Access Token at https://github.com/settings/tokens
fetch --repo="https://github.com/Archer4499/Configs" --branch="master" --source-path="/Server/Caddy" --github-oauth-token="<GitHub PAT>" /etc/caddy
chmod -R a=r,u+w,a+X /etc/caddy
 
# Use updated config file
systemctl reload caddy
2020/07/03 15:36 · derek
update_everything.txt · Last modified: 2020/07/05 17:22 by derek