update.ombi.cron.sh - quickly coded bash auto-update script

This page summarizes the projects mentioned and recommended in the original post on /r/Ombi

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Ombi

    Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!

  • #!/bin/bash #devnotes: # * uses an ombi 4 default install # * ombi's .db files should be located in /etc and not /opt/Ombi # * this will autoinstall the latest version the app will prompt you to update to. (pre-release by default) # * install with: crontab -e, add line: @weekly /bin/bash ~/update.ombi.cron.sh &>/dev/null # * heads up: if you run this script too quickly a few times github will rate limit you and the download request will fail. the script is working, just wait 10 minutes. f=/tmp/linux-x64.tar.gz v=`curl "https://api.github.com/repos/Ombi-app/Ombi/tags" | jq '.[].name' | sort -n | tail -n1|tr -d '"'` bak=/opt/Ombi.bak.tgz if [[ "$v" =~ ^"v." ]]; then latest_release_url=`curl -s https://api.github.com/repos/Ombi-app/Ombi/releases/latest | grep "linux-x64.tar.gz" | cut -d '"' -f 4 | grep -i 'https://'` else latest_release_url="https://github.com/Ombi-app/Ombi/releases/download/$v/linux-x64.tar.gz" fi echo using release: `tput setaf 2`$latest_release_url`tput op` mkdir -p /etc/Ombi/backup &>/dev/null cd /tmp if [[ -f $f ]]; then rm -f "$f" &>/dev/null fi if curl --output /dev/null --silent --head --fail $latest_release_url; then wget -qO $f $latest_release_url if [[ ( $? -eq 0 ) && ( -f $f ) ]]; then systemctl stop ombi tar czpf $bak /opt/Ombi tar xf $f -C /opt/Ombi chown -R ombi:nogroup /opt/Ombi systemctl start ombi fi fi rm -f $f &>/dev/null exit 0

  • watchtower

    A process for automating Docker container base image updates.

  • Advantages over docker and watchtower combination?

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What to use with Docker?

    12 projects | /r/synology | 24 Mar 2023
  • Made a script to check for image updates without pulling, then giving the option to update all (compose-)containers with newer images.

    5 projects | /r/docker | 18 Jan 2023
  • PSA - Run "docker image prune" once in a while.

    5 projects | /r/selfhosted | 7 Dec 2023
  • Moving full time to Plexamp

    2 projects | /r/plexamp | 7 Dec 2023
  • Ask HN: How do you monitor your systemd services?

    9 projects | news.ycombinator.com | 31 Jul 2023