From 48ed99c15cfb5b4c4890dbf26d146cd03e8cb4d6 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Wed, 17 Oct 2018 19:57:04 -0600 Subject: [PATCH 01/44] Update Netdata-remove.sh --- install/apps/Netdata-remove.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install/apps/Netdata-remove.sh b/install/apps/Netdata-remove.sh index 2ebb4954..8920ea96 100644 --- a/install/apps/Netdata-remove.sh +++ b/install/apps/Netdata-remove.sh @@ -11,14 +11,17 @@ else EXPLAINTASK - CONFIRMDELETE + CONFIRMATION if [[ ${REPLY} =~ ^[Yy]$ ]]; then GOAHEAD + RUNPATCHES + + # Main script docker container stop netdata - docker container rm netdata + docker container start netdata TASKCOMPLETE From 168e2c7d9d8f51dc64c0f08cf231612d7c2375cc Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Wed, 17 Oct 2018 20:01:48 -0600 Subject: [PATCH 02/44] Update Netdata-remove.sh --- install/apps/Netdata-remove.sh | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/install/apps/Netdata-remove.sh b/install/apps/Netdata-remove.sh index 8920ea96..fbc59f67 100644 --- a/install/apps/Netdata-remove.sh +++ b/install/apps/Netdata-remove.sh @@ -1,6 +1,8 @@ #!/bin/bash -docker ps -q -f name=netdata > /tmp/checkapp.txt +APP="netdata" + +docker ps -q -f name=$APP > /tmp/checkapp.txt clear if [ ! -s /tmp/checkapp.txt ]; then @@ -9,19 +11,20 @@ if [ ! -s /tmp/checkapp.txt ]; then else - EXPLAINTASK + EXPLAINAPP CONFIRMATION if [[ ${REPLY} =~ ^[Yy]$ ]]; then GOAHEAD - RUNPATCHES - - # Main script - docker container stop netdata - docker container start netdata + cd $CONFIGS/Docker + /usr/local/bin/docker-compose down + sudo rm $CONFIGS/Docker/components/02-netdata* + source /opt/GooPlex/install/misc/environment-build.sh rebuild + /usr/local/bin/docker-compose up -d --remove-orphans ${@:2} + cd "${CURDIR}" TASKCOMPLETE From a99ffcf51768569cf744e6b28d505d197d21bd03 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Wed, 17 Oct 2018 20:07:24 -0600 Subject: [PATCH 03/44] Update Netdata-remove.sh --- install/apps/Netdata-remove.sh | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/install/apps/Netdata-remove.sh b/install/apps/Netdata-remove.sh index fbc59f67..2ebb4954 100644 --- a/install/apps/Netdata-remove.sh +++ b/install/apps/Netdata-remove.sh @@ -1,8 +1,6 @@ #!/bin/bash -APP="netdata" - -docker ps -q -f name=$APP > /tmp/checkapp.txt +docker ps -q -f name=netdata > /tmp/checkapp.txt clear if [ ! -s /tmp/checkapp.txt ]; then @@ -11,20 +9,16 @@ if [ ! -s /tmp/checkapp.txt ]; then else - EXPLAINAPP + EXPLAINTASK - CONFIRMATION + CONFIRMDELETE if [[ ${REPLY} =~ ^[Yy]$ ]]; then GOAHEAD - cd $CONFIGS/Docker - /usr/local/bin/docker-compose down - sudo rm $CONFIGS/Docker/components/02-netdata* - source /opt/GooPlex/install/misc/environment-build.sh rebuild - /usr/local/bin/docker-compose up -d --remove-orphans ${@:2} - cd "${CURDIR}" + docker container stop netdata + docker container rm netdata TASKCOMPLETE From 00e94915c503e8dd68dd40d25f73b022c29731d9 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 12:53:23 -0600 Subject: [PATCH 04/44] Update appsdownload.sh --- menus/appsdownload.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/menus/appsdownload.sh b/menus/appsdownload.sh index 9f05fa19..29911eb9 100644 --- a/menus/appsdownload.sh +++ b/menus/appsdownload.sh @@ -54,7 +54,6 @@ read_options(){ [Bb]) RADARR ;; [Cc]) DELUGE ;; [Dd]) NZBGET ;; - [Gg]) ORGANIZR ;; [Zz]) QUIT ;; *) echo "${LRED}Please select a valid option${STD}" && sleep 2 esac From 9649d0cbed9f334e3149ff7e438fdcc441d27e94 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:43:29 -0600 Subject: [PATCH 05/44] Rename 20-plex-beta-cf.yaml to 20-plex-pp-cf.yaml --- scripts/components/{20-plex-beta-cf.yaml => 20-plex-pp-cf.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename scripts/components/{20-plex-beta-cf.yaml => 20-plex-pp-cf.yaml} (100%) diff --git a/scripts/components/20-plex-beta-cf.yaml b/scripts/components/20-plex-pp-cf.yaml similarity index 100% rename from scripts/components/20-plex-beta-cf.yaml rename to scripts/components/20-plex-pp-cf.yaml From 88c0be4d3beb95a9c66851cb671dcf1b8840151e Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:45:18 -0600 Subject: [PATCH 06/44] Create 20-plex-cf.yaml --- scripts/components/20-plex-cf.yaml | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 scripts/components/20-plex-cf.yaml diff --git a/scripts/components/20-plex-cf.yaml b/scripts/components/20-plex-cf.yaml new file mode 100644 index 00000000..8bc8cf24 --- /dev/null +++ b/scripts/components/20-plex-cf.yaml @@ -0,0 +1,33 @@ +# +# Plex - Meadia streaming server +# + plex: + restart: unless-stopped + image: plexinc/pms-docker + container_name: plex + hostname: plex + cpu_shares: 8192 + ports: + - 8443:32400 + volumes: + - /etc/localtime:/etc/localtime:ro + - ${CONFIGS}/Plex:/config + - /tmp:/transcode + - /bin/netstat:/bin/netstat:ro + - ${MEDIA}:/media + environment: + - ADVERTISE_IP=https://plex.${MYDOMAIN}:8443 + - PUID=${USERID} + - PGID=${GROUPID} + - TZ=${TIMEZONE} + - VIRTUAL_HOST=plex.${MYDOMAIN} + - VIRTUAL_PORT=32400 + - VIRTUAL_PROTO=https + - VIRTUAL_NETWORK=nginx-proxy + - LETSENCRYPT_HOST=plex.${MYDOMAIN} + - LETSENCRYPT_EMAIL=${MYEMAIL} + healthcheck: + test: ["CMD-SHELL", "netstat -ntlp | grep :32400 && mountpoint /media"] + interval: 10s + timeout: 2s + retries: 3 From c49ae456c6c101eed09ef3683e561d8f66b9c479 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:46:38 -0600 Subject: [PATCH 07/44] Create 20-plex.yaml --- scripts/components/20-plex.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 scripts/components/20-plex.yaml diff --git a/scripts/components/20-plex.yaml b/scripts/components/20-plex.yaml new file mode 100644 index 00000000..b6b28752 --- /dev/null +++ b/scripts/components/20-plex.yaml @@ -0,0 +1,30 @@ +# +# Plex - Meadia streaming server +# + plex: + restart: unless-stopped + image: plexinc/pms-docker + container_name: plex + hostname: plex + cpu_shares: 8192 + volumes: + - /etc/localtime:/etc/localtime:ro + - ${CONFIGS}/Plex:/config + - /tmp:/transcode + - /bin/netstat:/bin/netstat:ro + - ${MEDIA}:/media + environment: + - PUID=${USERID} + - PGID=${GROUPID} + - TZ=${TIMEZONE} + - VIRTUAL_HOST=plex.${MYDOMAIN} + - VIRTUAL_PORT=32400 + - VIRTUAL_PROTO=https + - VIRTUAL_NETWORK=nginx-proxy + - LETSENCRYPT_HOST=plex.${MYDOMAIN} + - LETSENCRYPT_EMAIL=${MYEMAIL} + healthcheck: + test: ["CMD-SHELL", "netstat -ntlp | grep :32400 && mountpoint /media"] + interval: 10s + timeout: 2s + retries: 3 From bc16cb60065009e279783217967dc074dada9e3d Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:47:21 -0600 Subject: [PATCH 08/44] Create 20-plex-pp.yaml --- scripts/components/20-plex-pp.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 scripts/components/20-plex-pp.yaml diff --git a/scripts/components/20-plex-pp.yaml b/scripts/components/20-plex-pp.yaml new file mode 100644 index 00000000..72f16ebe --- /dev/null +++ b/scripts/components/20-plex-pp.yaml @@ -0,0 +1,30 @@ +# +# Plex - Meadia streaming server +# + plex: + restart: unless-stopped + image: plexinc/pms-docker:beta + container_name: plex + hostname: plex + cpu_shares: 8192 + volumes: + - /etc/localtime:/etc/localtime:ro + - ${CONFIGS}/Plex:/config + - /tmp:/transcode + - /bin/netstat:/bin/netstat:ro + - ${MEDIA}:/media + environment: + - PUID=${USERID} + - PGID=${GROUPID} + - TZ=${TIMEZONE} + - VIRTUAL_HOST=plex.${MYDOMAIN} + - VIRTUAL_PORT=32400 + - VIRTUAL_PROTO=https + - VIRTUAL_NETWORK=nginx-proxy + - LETSENCRYPT_HOST=plex.${MYDOMAIN} + - LETSENCRYPT_EMAIL=${MYEMAIL} + healthcheck: + test: ["CMD-SHELL", "netstat -ntlp | grep :32400 && mountpoint /media"] + interval: 10s + timeout: 2s + retries: 3 From 4d12be97b6ff08d6b5a4150d2ea04f72a31661b1 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:50:32 -0600 Subject: [PATCH 09/44] Delete 20-plex-cf.yaml --- scripts/components/20-plex-cf.yaml | 33 ------------------------------ 1 file changed, 33 deletions(-) delete mode 100644 scripts/components/20-plex-cf.yaml diff --git a/scripts/components/20-plex-cf.yaml b/scripts/components/20-plex-cf.yaml deleted file mode 100644 index 8bc8cf24..00000000 --- a/scripts/components/20-plex-cf.yaml +++ /dev/null @@ -1,33 +0,0 @@ -# -# Plex - Meadia streaming server -# - plex: - restart: unless-stopped - image: plexinc/pms-docker - container_name: plex - hostname: plex - cpu_shares: 8192 - ports: - - 8443:32400 - volumes: - - /etc/localtime:/etc/localtime:ro - - ${CONFIGS}/Plex:/config - - /tmp:/transcode - - /bin/netstat:/bin/netstat:ro - - ${MEDIA}:/media - environment: - - ADVERTISE_IP=https://plex.${MYDOMAIN}:8443 - - PUID=${USERID} - - PGID=${GROUPID} - - TZ=${TIMEZONE} - - VIRTUAL_HOST=plex.${MYDOMAIN} - - VIRTUAL_PORT=32400 - - VIRTUAL_PROTO=https - - VIRTUAL_NETWORK=nginx-proxy - - LETSENCRYPT_HOST=plex.${MYDOMAIN} - - LETSENCRYPT_EMAIL=${MYEMAIL} - healthcheck: - test: ["CMD-SHELL", "netstat -ntlp | grep :32400 && mountpoint /media"] - interval: 10s - timeout: 2s - retries: 3 From a965a62bd8583e241e219f0f2bab49bd0c541533 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:51:07 -0600 Subject: [PATCH 10/44] Delete 20-plex-pp-cf.yaml --- scripts/components/20-plex-pp-cf.yaml | 33 --------------------------- 1 file changed, 33 deletions(-) delete mode 100644 scripts/components/20-plex-pp-cf.yaml diff --git a/scripts/components/20-plex-pp-cf.yaml b/scripts/components/20-plex-pp-cf.yaml deleted file mode 100644 index f5be73a6..00000000 --- a/scripts/components/20-plex-pp-cf.yaml +++ /dev/null @@ -1,33 +0,0 @@ -# -# Plex - Meadia streaming server -# - plex: - restart: unless-stopped - image: plexinc/pms-docker:beta - container_name: plex - hostname: plex - cpu_shares: 8192 - ports: - - 8443:32400 - volumes: - - /etc/localtime:/etc/localtime:ro - - ${CONFIGS}/Plex:/config - - /tmp:/transcode - - /bin/netstat:/bin/netstat:ro - - ${MEDIA}:/media - environment: - - ADVERTISE_IP=https://plex.${MYDOMAIN}:8443 - - PUID=${USERID} - - PGID=${GROUPID} - - TZ=${TIMEZONE} - - VIRTUAL_HOST=plex.${MYDOMAIN} - - VIRTUAL_PORT=32400 - - VIRTUAL_PROTO=https - - VIRTUAL_NETWORK=nginx-proxy - - LETSENCRYPT_HOST=plex.${MYDOMAIN} - - LETSENCRYPT_EMAIL=${MYEMAIL} - healthcheck: - test: ["CMD-SHELL", "netstat -ntlp | grep :32400 && mountpoint /media"] - interval: 10s - timeout: 2s - retries: 3 From cbfbe5958e35ac54e9769aeac00d63c55c2534d4 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:51:38 -0600 Subject: [PATCH 11/44] Delete 20-plex-pp.yaml --- scripts/components/20-plex-pp.yaml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 scripts/components/20-plex-pp.yaml diff --git a/scripts/components/20-plex-pp.yaml b/scripts/components/20-plex-pp.yaml deleted file mode 100644 index 72f16ebe..00000000 --- a/scripts/components/20-plex-pp.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# -# Plex - Meadia streaming server -# - plex: - restart: unless-stopped - image: plexinc/pms-docker:beta - container_name: plex - hostname: plex - cpu_shares: 8192 - volumes: - - /etc/localtime:/etc/localtime:ro - - ${CONFIGS}/Plex:/config - - /tmp:/transcode - - /bin/netstat:/bin/netstat:ro - - ${MEDIA}:/media - environment: - - PUID=${USERID} - - PGID=${GROUPID} - - TZ=${TIMEZONE} - - VIRTUAL_HOST=plex.${MYDOMAIN} - - VIRTUAL_PORT=32400 - - VIRTUAL_PROTO=https - - VIRTUAL_NETWORK=nginx-proxy - - LETSENCRYPT_HOST=plex.${MYDOMAIN} - - LETSENCRYPT_EMAIL=${MYEMAIL} - healthcheck: - test: ["CMD-SHELL", "netstat -ntlp | grep :32400 && mountpoint /media"] - interval: 10s - timeout: 2s - retries: 3 From 5c9abf3abb729f7279a7dc5e58bb6863cadcc314 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:52:17 -0600 Subject: [PATCH 12/44] Delete 00-AAA.yaml --- scripts/components/00-AAA.yaml | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 scripts/components/00-AAA.yaml diff --git a/scripts/components/00-AAA.yaml b/scripts/components/00-AAA.yaml deleted file mode 100644 index 98d431f4..00000000 --- a/scripts/components/00-AAA.yaml +++ /dev/null @@ -1,5 +0,0 @@ -version: "2.2" - # - # GooPlex - Heavily Inspired by Kelinger's OmniPlex - # -services: From 75a0a4fbcac577634e4945d4f9d16d057a5b799f Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:52:23 -0600 Subject: [PATCH 13/44] Delete 01-proxy.yaml --- scripts/components/01-proxy.yaml | 41 -------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 scripts/components/01-proxy.yaml diff --git a/scripts/components/01-proxy.yaml b/scripts/components/01-proxy.yaml deleted file mode 100644 index 952e3cda..00000000 --- a/scripts/components/01-proxy.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# -# Main NGINX web proxy service -# - nginx-proxy: - restart: always - image: jwilder/nginx-proxy:alpine - container_name: nginx-proxy - hostname: nginx-proxy - ports: - - 80:80 - - 443:443 - volumes: - - /etc/nginx/vhost.d - - /usr/share/nginx/html - - /var/run/docker.sock:/tmp/docker.sock:ro - - ${CONFIGS}/Certs:/etc/nginx/certs - healthcheck: - test: ["CMD-SHELL", "netstat -ntlp | grep :80"] - interval: 10s - timeout: 2s - retries: 3 -# -# Certificate handling -# - letsencrypt-nginx-proxy-companion: - restart: always - image: jrcs/letsencrypt-nginx-proxy-companion - container_name: letsencrypt - hostname: letsencrypt - environment: - #- ACME_CA_URI=https://acme-staging.api.letsencrypt.org/directory - - ACME_CA_URI=https://acme-v01.api.letsencrypt.org/directory - volumes: - - /var/run/docker.sock:/var/run/docker.sock:ro - volumes_from: - - nginx-proxy - healthcheck: - test: ["CMD-SHELL", "pidof letsencrypt_service"] - interval: 10s - timeout: 2s - retries: 3 From dbb53fe68ebf6776f8681a421c0ede10930c8103 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:52:29 -0600 Subject: [PATCH 14/44] Delete 02-netdata.yaml --- scripts/components/02-netdata.yaml | 31 ------------------------------ 1 file changed, 31 deletions(-) delete mode 100644 scripts/components/02-netdata.yaml diff --git a/scripts/components/02-netdata.yaml b/scripts/components/02-netdata.yaml deleted file mode 100644 index e83e1f08..00000000 --- a/scripts/components/02-netdata.yaml +++ /dev/null @@ -1,31 +0,0 @@ -# -# NetData - System monitoring and graphs -# - netdata: - restart: always - image: titpetric/netdata:latest - container_name: netdata - hostname: netdata - cpu_shares: 1024 - depends_on: - - letsencrypt-nginx-proxy-companion - cap_add: - - SYS_PTRACE - volumes: - - /proc:/host/proc:ro - - /sys:/host/sys:ro - - /var/run/docker.sock:/var/run/docker.sock - - /etc/localtime:/etc/localtime:ro - - /bin/netstat:/bin/netstat:ro - environment: - - TZ=${TIMEZONE} - - VIRTUAL_HOST=netdata.${MYDOMAIN} - - VIRTUAL_PORT=19999 - - VIRTUAL_NETWORK=nginx-proxy - - LETSENCRYPT_HOST=netdata.${MYDOMAIN} - - LETSENCRYPT_EMAIL=${MYEMAIL} - healthcheck: - test: ["CMD-SHELL", "netstat -ntlp | grep :19999"] - interval: 10s - timeout: 2s - retries: 3 From b1c5f7c45faffed080d907250fcc990c395b50a3 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:52:34 -0600 Subject: [PATCH 15/44] Delete 20-plex.yaml --- scripts/components/20-plex.yaml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 scripts/components/20-plex.yaml diff --git a/scripts/components/20-plex.yaml b/scripts/components/20-plex.yaml deleted file mode 100644 index b6b28752..00000000 --- a/scripts/components/20-plex.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# -# Plex - Meadia streaming server -# - plex: - restart: unless-stopped - image: plexinc/pms-docker - container_name: plex - hostname: plex - cpu_shares: 8192 - volumes: - - /etc/localtime:/etc/localtime:ro - - ${CONFIGS}/Plex:/config - - /tmp:/transcode - - /bin/netstat:/bin/netstat:ro - - ${MEDIA}:/media - environment: - - PUID=${USERID} - - PGID=${GROUPID} - - TZ=${TIMEZONE} - - VIRTUAL_HOST=plex.${MYDOMAIN} - - VIRTUAL_PORT=32400 - - VIRTUAL_PROTO=https - - VIRTUAL_NETWORK=nginx-proxy - - LETSENCRYPT_HOST=plex.${MYDOMAIN} - - LETSENCRYPT_EMAIL=${MYEMAIL} - healthcheck: - test: ["CMD-SHELL", "netstat -ntlp | grep :32400 && mountpoint /media"] - interval: 10s - timeout: 2s - retries: 3 From 220c771b847d71bfd0d59a2b2852c34f1aa61b3b Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:52:39 -0600 Subject: [PATCH 16/44] Delete 21-plex.limits.yaml --- scripts/components/21-plex.limits.yaml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 scripts/components/21-plex.limits.yaml diff --git a/scripts/components/21-plex.limits.yaml b/scripts/components/21-plex.limits.yaml deleted file mode 100644 index 97a52398..00000000 --- a/scripts/components/21-plex.limits.yaml +++ /dev/null @@ -1,8 +0,0 @@ - blkio_config: - weight: 600 - #device_read_bps: - #- path: /dev/md1 - #rate: '200mb' - #device_write_bps: - #- path: /dev/md1 - #rate: '200mb' From b9772cebf45bb847297832c0928dbc7f2da28804 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:52:45 -0600 Subject: [PATCH 17/44] Delete 22-emby-cf.yaml --- scripts/components/22-emby-cf.yaml | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 scripts/components/22-emby-cf.yaml diff --git a/scripts/components/22-emby-cf.yaml b/scripts/components/22-emby-cf.yaml deleted file mode 100644 index c33246e5..00000000 --- a/scripts/components/22-emby-cf.yaml +++ /dev/null @@ -1,29 +0,0 @@ -# -# Emby - Media streaming server -# - emby: - restart: unless-stopped - image: emby/embyserver:latest - container_name: emby - hostname: emby - cpu_shares: 8192 - ports: - - 2096:8920 - volumes: - - ${CONFIGS}/Emby:/config - - ${MEDIA}:/media/Plex - - /tmp:/transcode - environment: - - ADVERTISE_IP=https://emby.${MYDOMAIN} - - UID=${USERID} - - GID=${GROUPID} - - GIDLIST=44 - - TZ=MST7 - - VIRTUAL_HOST=emby.${MYDOMAIN} - - VIRTUAL_PORT=8096 - - VIRTUAL_PROTO=http - - VIRTUAL_NETWORK=nginx-proxy - - LETSENCRYPT_HOST=emby.${MYDOMAIN} - - LETSENCRYPT_EMAIL=${MYEMAIL} -# devices: -# - /dev/dri:/dev/dri From f38360d7c27212bb334ea40a08ba27d63d1fda2a Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:52:51 -0600 Subject: [PATCH 18/44] Delete 23-emby.limits.yaml --- scripts/components/23-emby.limits.yaml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 scripts/components/23-emby.limits.yaml diff --git a/scripts/components/23-emby.limits.yaml b/scripts/components/23-emby.limits.yaml deleted file mode 100644 index 97a52398..00000000 --- a/scripts/components/23-emby.limits.yaml +++ /dev/null @@ -1,8 +0,0 @@ - blkio_config: - weight: 600 - #device_read_bps: - #- path: /dev/md1 - #rate: '200mb' - #device_write_bps: - #- path: /dev/md1 - #rate: '200mb' From a9f3dcbee796952c575971d7d657bb71395ea8c5 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:52:56 -0600 Subject: [PATCH 19/44] Delete 25-tautulli.yaml --- scripts/components/25-tautulli.yaml | 32 ----------------------------- 1 file changed, 32 deletions(-) delete mode 100644 scripts/components/25-tautulli.yaml diff --git a/scripts/components/25-tautulli.yaml b/scripts/components/25-tautulli.yaml deleted file mode 100644 index 7c6c8b1c..00000000 --- a/scripts/components/25-tautulli.yaml +++ /dev/null @@ -1,32 +0,0 @@ -# -# Tautulli - Reports on Plex stats -# - tautulli: - restart: unless-stopped - image: linuxserver/tautulli:latest - container_name: tautulli - hostname: tautulli - cpu_shares: 1024 - depends_on: - nginx-proxy: - condition: service_healthy - letsencrypt-nginx-proxy-companion: - condition: service_started - volumes: - - /etc/localtime:/etc/localtime:ro - - ${CONFIGS}/Tautulli:/config - - ${CONFIGS}/Plex/Library/Application Support/Plex Media Server/Logs:/logs:ro - environment: - - PUID=${USERID} - - PGID=${GROUPID} - - TZ=${TIMEZONE} - - VIRTUAL_HOST=tautulli.${MYDOMAIN} - - VIRTUAL_PORT=8181 - - VIRTUAL_NETWORK=nginx-proxy - - LETSENCRYPT_HOST=tautulli.${MYDOMAIN} - - LETSENCRYPT_EMAIL=${MYEMAIL} - healthcheck: - test: ["CMD-SHELL", "netstat -ntlp | grep :8181"] - interval: 10s - timeout: 2s - retries: 3 From 2b42f250d1fcbe275f398630bfa3e8e7770b4065 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:53:02 -0600 Subject: [PATCH 20/44] Delete 40-deluge.yaml --- scripts/components/40-deluge.yaml | 32 ------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 scripts/components/40-deluge.yaml diff --git a/scripts/components/40-deluge.yaml b/scripts/components/40-deluge.yaml deleted file mode 100644 index 7b7ae808..00000000 --- a/scripts/components/40-deluge.yaml +++ /dev/null @@ -1,32 +0,0 @@ -# -# Deluge - Torrent download engine -# - deluge: - restart: unless-stopped - image: linuxserver/deluge:latest - container_name: deluge - hostname: deluge - cpu_shares: 1024 - ports: - - 55955:55955/tcp - - 55955:55955/udp - - 58846:58846/tcp - volumes: - - /etc/localtime:/etc/localtime:ro - - ${CONFIGS}/Deluge:/config - - ${GOOGLE}:/Google - environment: - - PUID=${USERID} - - PGID=${GROUPID} - - TZ=${TIMEZONE} - - UMASK_SET=022 - - VIRTUAL_HOST=deluge.${MYDOMAIN} - - VIRTUAL_PORT=8112 - - VIRTUAL_NETWORK=nginx-proxy - - LETSENCRYPT_HOST=deluge.${MYDOMAIN} - - LETSENCRYPT_EMAIL=${MYEMAIL} - healthcheck: - test: ["CMD-SHELL", "netstat -ntlp | grep :8112"] - interval: 10s - timeout: 2s - retries: 3 From 4d559aeab28ba8bfb63ccfaaa8beaede4cade4d1 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:53:08 -0600 Subject: [PATCH 21/44] Delete 50-radarr.yaml --- scripts/components/50-radarr.yaml | 36 ------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 scripts/components/50-radarr.yaml diff --git a/scripts/components/50-radarr.yaml b/scripts/components/50-radarr.yaml deleted file mode 100644 index b34405fd..00000000 --- a/scripts/components/50-radarr.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# -# Radarr - Movie catalog and management -# - radarr: - restart: unless-stopped - image: linuxserver/radarr:latest - container_name: radarr - hostname: radarr - cpu_shares: 2048 - depends_on: - nginx-proxy: - condition: service_healthy - letsencrypt-nginx-proxy-companion: - condition: service_started - #deluge: - #condition: service_healthy - volumes: - - /etc/localtime:/etc/localtime:ro - - ${CONFIGS}/Radarr:/config - - ${HOME}/logs:/config/logs - - ${GOOGLE}:/Google - - /bin/netstat:/bin/netstat:ro - environment: - - PGID=${GROUPID} - - PUID=${USERID} - - TZ=${TIMEZONE} - - VIRTUAL_HOST=radarr.${MYDOMAIN} - - VIRTUAL_PORT=7878 - - VIRTUAL_NETWORK=nginx-proxy - - LETSENCRYPT_HOST=radarr.${MYDOMAIN} - - LETSENCRYPT_EMAIL=${MYEMAIL} - healthcheck: - test: ["CMD-SHELL", "netstat -ntlp | grep :7878 && mountpoint /movies"] - interval: 10s - timeout: 2s - retries: 3 From dc7763c4ce590ad7cde2b649906c40d877bd9b9a Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:53:13 -0600 Subject: [PATCH 22/44] Delete 53-sonarr.limits.yaml --- scripts/components/53-sonarr.limits.yaml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 scripts/components/53-sonarr.limits.yaml diff --git a/scripts/components/53-sonarr.limits.yaml b/scripts/components/53-sonarr.limits.yaml deleted file mode 100644 index d5e2d561..00000000 --- a/scripts/components/53-sonarr.limits.yaml +++ /dev/null @@ -1,8 +0,0 @@ - blkio_config: - weight: 150 - #device_read_bps: - #- path: /dev/md1 - #rate: '50mb' - #device_write_bps: - #- path: /dev/md1 - #rate: '50mb' From 9242cf5403e262071d24fa9321ca80eaf15c0b8b Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:53:18 -0600 Subject: [PATCH 23/44] Delete 51-radarr.limits.yaml --- scripts/components/51-radarr.limits.yaml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 scripts/components/51-radarr.limits.yaml diff --git a/scripts/components/51-radarr.limits.yaml b/scripts/components/51-radarr.limits.yaml deleted file mode 100644 index d5e2d561..00000000 --- a/scripts/components/51-radarr.limits.yaml +++ /dev/null @@ -1,8 +0,0 @@ - blkio_config: - weight: 150 - #device_read_bps: - #- path: /dev/md1 - #rate: '50mb' - #device_write_bps: - #- path: /dev/md1 - #rate: '50mb' From a0782b9bec4c56fccc15a01528eb5d37783d152e Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:53:24 -0600 Subject: [PATCH 24/44] Delete 52-sonarr.yaml --- scripts/components/52-sonarr.yaml | 36 ------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 scripts/components/52-sonarr.yaml diff --git a/scripts/components/52-sonarr.yaml b/scripts/components/52-sonarr.yaml deleted file mode 100644 index 065a69b5..00000000 --- a/scripts/components/52-sonarr.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# -# Sonarr - TV Show catalog and management -# - sonarr: - restart: unless-stopped - image: lsiodev/sonarr-preview - container_name: sonarr - hostname: sonarr - cpu_shares: 2048 - depends_on: - nginx-proxy: - condition: service_healthy - letsencrypt-nginx-proxy-companion: - condition: service_started - #deluge: - #condition: service_healthy - volumes: - - /etc/localtime:/etc/localtime:ro - - ${CONFIGS}/Sonarr:/config - - ${HOME}/logs:/config/logs - - ${GOOGLE}:/Google - - /bin/netstat:/bin/netstat:ro - environment: - - PGID=${GROUPID} - - PUID=${USERID} - - TZ=${TIMEZONE} - - VIRTUAL_HOST=sonarr.${MYDOMAIN} - - VIRTUAL_PORT=8989 - - VIRTUAL_NETWORK=nginx-proxy - - LETSENCRYPT_HOST=sonarr.${MYDOMAIN} - - LETSENCRYPT_EMAIL=${MYEMAIL} - healthcheck: - test: ["CMD-SHELL", "netstat -ntlp | grep :8989 && mountpoint /tv"] - interval: 10s - timeout: 2s - retries: 3 From 7b2f456f7e829d9289fa8a983170fbecf396501a Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 17:21:36 -0600 Subject: [PATCH 25/44] Update GooPlex-update.sh --- install/misc/GooPlex-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/misc/GooPlex-update.sh b/install/misc/GooPlex-update.sh index 7981fed7..47b0adbb 100644 --- a/install/misc/GooPlex-update.sh +++ b/install/misc/GooPlex-update.sh @@ -17,7 +17,7 @@ if [[ ${REPLY} =~ ^[Yy]$ ]]; then clear cd ~ sudo rm -r /opt/GooPlex - sudo git clone -b master https://github.com/TechPerplexed/GooPlex /opt/GooPlex + sudo git clone -b legacy https://github.com/TechPerplexed/GooPlex /opt/GooPlex sudo chmod +x -R /opt/GooPlex/install sudo chmod +x -R /opt/GooPlex/menus sudo rsync -a /opt/GooPlex/install/gooplex /bin From 86e395ea429079095a083a2b79b27a2bb6ad6b34 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 17:22:31 -0600 Subject: [PATCH 26/44] Update install.sh --- install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.sh b/install/install.sh index b8f51b12..0d8f5f82 100644 --- a/install/install.sh +++ b/install/install.sh @@ -25,7 +25,7 @@ sudo ufw allow ssh sudo ufw --force enable sudo rm -r /opt/GooPlex -sudo git clone https://github.com/TechPerplexed/GooPlex.git /opt/GooPlex +sudo git clone -b legacy https://github.com/TechPerplexed/GooPlex /opt/GooPlex sudo chmod +x -R /opt/GooPlex/install sudo chmod +x -R /opt/GooPlex/menus From bde1461b19823e5d9b8c5c80d6cded55f63a9bd3 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Thu, 18 Oct 2018 17:25:47 -0600 Subject: [PATCH 27/44] Update variables.sh --- menus/variables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menus/variables.sh b/menus/variables.sh index 17576e84..d3789829 100644 --- a/menus/variables.sh +++ b/menus/variables.sh @@ -38,7 +38,7 @@ RUNPATCHES(){ MENUSTART(){ echo "--------------------------------------------------" - echo " G O O P L E X - Visit techperplexed.ga" + echo " G O O P L E X L E G A C Y - techperplexed.ga" echo "--------------------------------------------------" echo " $MENU" echo " ${STD}" From d55c6e2cc508f41df7ef31275889fe2640ae89d4 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Fri, 19 Oct 2018 22:36:42 -0700 Subject: [PATCH 28/44] Update misc.sh --- menus/misc.sh | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/menus/misc.sh b/menus/misc.sh index b7a667a4..1f1a0a78 100644 --- a/menus/misc.sh +++ b/menus/misc.sh @@ -11,12 +11,6 @@ GOOPLEX(){ source /opt/GooPlex/install/misc/${TASK}-${PERFORM}.sh } -GOODEV(){ - PERFORM="development-branch" - TASK="GooPlex" - source /opt/GooPlex/install/misc/${TASK}-${PERFORM}.sh -} - CHECKENV(){ PERFORM="check" TASK="environment" @@ -46,10 +40,9 @@ show_menus() { echo " ${CYAN}" MENUSTART echo " ${CYAN}A${STD} - Update GooPlex" - echo " ${CYAN}B${STD} - Switch to GooPlex Development Branch" - echo " ${CYAN}C${STD} - Check Environment" - echo " ${CYAN}D${STD} - Create Backup" - echo " ${CYAN}E${STD} - Restore Backup" + echo " ${CYAN}B${STD} - Check Environment" + echo " ${CYAN}C${STD} - Create Backup" + echo " ${CYAN}D${STD} - Restore Backup" echo " ${WHITE}Z${STD} - EXIT to Main Menu" echo " ${CYAN}" MENUEND @@ -62,10 +55,9 @@ read_options(){ read -n 1 -s -r -p "Choose option: " choice case $choice in [Aa]) GOOPLEX ;; - [Bb]) GOODEV ;; - [Cc]) CHECKENV ;; - [Dd]) BACKUP ;; - [Ee]) RESTORE ;; + [Bb]) CHECKENV ;; + [Cc]) BACKUP ;; + [Dd]) RESTORE ;; [Zz]) QUIT ;; *) echo "${LRED}Please select a valid option${STD}" && sleep 2 esac From 601b5845641694b6b7ee5d215ef943fcc8cf3e85 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 00:09:18 -0700 Subject: [PATCH 29/44] Update gooplex --- install/gooplex | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/install/gooplex b/install/gooplex index eb9600ed..a1a2e855 100644 --- a/install/gooplex +++ b/install/gooplex @@ -4,27 +4,6 @@ source /opt/GooPlex/menus/variables.sh if [ "$EUID" -ne 0 ]; then - # if [ ! -e $CONFIGS/Docker/.env ]; then - # echo "" - # echo "${YELLOW}Welcome to GooPlex!${STD}" - # echo "${YELLOW}Please answer the following two questions:${STD}" - # echo "" - # read -e -p 'What domain will you be using to access your server (ex: mydomain.com)? ' -i "${MYDOMAIN}" MYDOMAIN - # read -e -p 'What is your email address for certificate registration (ex: myname@mydomain.com) ' -i "${MYEMAIL}" MYEMAIL - # echo "${YELLOW}Thank you! Please hang tight while we get some things ready...${STD}" - # echo "" && sleep 5 - # source /opt/GooPlex/install/server/docker-install.sh - # sudo mkdir -p $CONFIGS/.config - # sudo mkdir -p $CONFIGS/Docker/components - # sudo chown -R $USER:$USER $CONFIGS - # echo "$MYDOMAIN" > $CONFIGS/.config/mydomain - # echo "$MYEMAIL" > $CONFIGS/.config/myemail - # sudo rsync -a /opt/GooPlex/scripts/components/00* $CONFIGS/Docker/components - # sudo rsync -a /opt/GooPlex/scripts/components/01* $CONFIGS/Docker/components - # source /opt/GooPlex/install/misc/environment-build.sh - - # fi - /opt/GooPlex/menus/main.sh else From d7a44a3b3d3b68facbe0c74d7fa082f85cdaa796 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 00:12:03 -0700 Subject: [PATCH 30/44] Update server.sh --- menus/server.sh | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/menus/server.sh b/menus/server.sh index 656a87b8..81125d44 100644 --- a/menus/server.sh +++ b/menus/server.sh @@ -11,18 +11,6 @@ PATCHES(){ source /opt/GooPlex/install/server/${TASK}-${PERFORM}.sh } -DOMAIN(){ - PERFORM="manage" - TASK="domain" - source /opt/GooPlex/install/server/${TASK}-${PERFORM}.sh -} - -EMAILADDR(){ - PERFORM="manage" - TASK="email" - source /opt/GooPlex/install/server/${TASK}-${PERFORM}.sh -} - TZONE(){ PERFORM="manage" TASK="timezone" @@ -46,10 +34,8 @@ show_menus() { echo " ${YELLOW}" MENUSTART echo " ${YELLOW}A${STD} - Update Server with Latest Patches" - echo " ${YELLOW}B${STD} - Manage Domain Name" - echo " ${YELLOW}C${STD} - Manage Email Address" - echo " ${YELLOW}D${STD} - Set Timezone" - echo " ${YELLOW}E${STD} - Server Upgrade - Danger zone!" + echo " ${YELLOW}B${STD} - Set Timezone" + echo " ${YELLOW}C${STD} - Server Upgrade - Danger zone!" echo " ${WHITE}Z${STD} - EXIT to Main Menu" echo " ${YELLOW}" MENUEND @@ -62,10 +48,8 @@ read_options(){ read -n 1 -s -r -p "Choose option: " choice case $choice in [Aa]) PATCHES ;; - [Bb]) DOMAIN ;; - [Cc]) EMAILADDR ;; - [Dd]) TZONE ;; - [Ee]) UPGRADE ;; + [Bb]) TZONE ;; + [Cc]) UPGRADE ;; [Zz]) QUIT ;; *) echo "${LRED}Please select a valid option${STD}" && sleep 2 esac From 46f21cd823cee2a5d1125e6afe87e6442f3980c0 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 00:14:26 -0700 Subject: [PATCH 31/44] Update variables.sh --- menus/variables.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/menus/variables.sh b/menus/variables.sh index d3789829..d8cb0bd7 100644 --- a/menus/variables.sh +++ b/menus/variables.sh @@ -1,9 +1,6 @@ #!/bin/bash VERSION="1.1.1" -CONFIGS=/var/local/GooPlex -COMMAND=${1,,} -CURDIR=$(pwd) # Define colors From 2dc65bd48ca85c41150f24cd113ec4556b26ce2b Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 00:15:44 -0700 Subject: [PATCH 32/44] Delete GooPlex-development-branch.sh --- install/misc/GooPlex-development-branch.sh | 42 ---------------------- 1 file changed, 42 deletions(-) delete mode 100644 install/misc/GooPlex-development-branch.sh diff --git a/install/misc/GooPlex-development-branch.sh b/install/misc/GooPlex-development-branch.sh deleted file mode 100644 index f896aaee..00000000 --- a/install/misc/GooPlex-development-branch.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash - -clear - -EXPLAINTASK - -echo "${LRED}" -echo "--------------------------------------------------" -echo " DANGER ZONE - EXTREME CAUTION!!!" -echo " You are about to switch to" -echo " the development branch of GooPlex" -echo " There is NO upgrade path!!" -echo " Many functions won't work yet." -echo " Be prepared for some bleeding edge suffering ;)" -echo " Only use this on a test server!" -echo "--------------------------------------------------" -echo "${STD}" - -CONFIRMATION - -if [[ ${REPLY} =~ ^[Yy]$ ]]; then - - clear - cd ~ - sudo rm -r /opt/GooPlex - sudo git clone -b develop https://github.com/TechPerplexed/GooPlex /opt/GooPlex - sudo chmod +x -R /opt/GooPlex/install - sudo chmod +x -R /opt/GooPlex/menus - sudo rsync -a /opt/GooPlex/install/gooplex /bin - sudo chmod 755 /bin/gooplex - - clear - - TASKCOMPLETE - -else - - CANCELTHIS - -fi - -PAUSE From 081adf733220c70d77bb33817d4e40cb6399f6a9 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 09:56:42 -0600 Subject: [PATCH 33/44] Update GooPlex-update.sh --- install/misc/GooPlex-update.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install/misc/GooPlex-update.sh b/install/misc/GooPlex-update.sh index 47b0adbb..1e33d0d2 100644 --- a/install/misc/GooPlex-update.sh +++ b/install/misc/GooPlex-update.sh @@ -6,7 +6,10 @@ EXPLAINTASK echo "${LYELLOW}" echo "--------------------------------------------------" -echo " You can run this as often as you like" +echo " This will update to GooPlex Legacy" +echo " Coming soon:" +echo " If you want to switch to the new branch," +echo " Please run the installer again" echo "--------------------------------------------------" echo "${STD}" From 41c4ca66d94d580f4bc19eb483d264efbfb2c122 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 09:58:39 -0600 Subject: [PATCH 34/44] Update timezone-manage.sh --- install/server/timezone-manage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/server/timezone-manage.sh b/install/server/timezone-manage.sh index b9f6efc7..a0b11faa 100644 --- a/install/server/timezone-manage.sh +++ b/install/server/timezone-manage.sh @@ -12,7 +12,7 @@ if [[ ${REPLY} =~ ^[Yy]$ ]]; then sudo dpkg-reconfigure tzdata echo "" - echo "Your timezone is now set to ${CYAN}$TIMEZONE${STD}" + echo " Your server timezone is now set to ${CYAN}$TIMEZONE${STD}" TASKCOMPLETE From 6a6a8975f0c0c7378163792d9bf72c9dd35814bb Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 10:00:15 -0600 Subject: [PATCH 35/44] Update rclone.service --- scripts/rclone.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rclone.service b/scripts/rclone.service index d0f93e02..9618c6fd 100644 --- a/scripts/rclone.service +++ b/scripts/rclone.service @@ -4,7 +4,7 @@ Description=Mount and cache Google drive After=syslog.target local-fs.target network.target [Service] -Environment=RCLONEHOME=/var/local/GooPlex/.config +Environment=RCLONEHOME=/home/plexuser/.config Environment=MOUNTTO=/media/Google Type=simple From 8d1de3866d04e1c55ba2187f362a0e91f580b0ce Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 10:01:05 -0600 Subject: [PATCH 36/44] Update Rclone-install.sh --- install/apps/Rclone-install.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/install/apps/Rclone-install.sh b/install/apps/Rclone-install.sh index a91a1a8e..b952265f 100644 --- a/install/apps/Rclone-install.sh +++ b/install/apps/Rclone-install.sh @@ -40,8 +40,6 @@ else # Installing Services - sudo mkdir -p /var/local/GooPlex/.config - sudo rsync -a $HOME/.config/rclone/rclone.conf $CONFIGS/.config sudo rsync -a /opt/GooPlex/scripts/rclone.service /etc/systemd/system/rclone.service sudo systemctl enable rclone.service sudo systemctl daemon-reload From b93c844154c6cf5ea33232dbccb7869db14120fe Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 10:06:48 -0600 Subject: [PATCH 37/44] Update user-create.sh --- install/server/user-create.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/install/server/user-create.sh b/install/server/user-create.sh index 5ab8d3ae..10d38841 100644 --- a/install/server/user-create.sh +++ b/install/server/user-create.sh @@ -17,14 +17,16 @@ if [[ ${REPLY} =~ ^[Yy]$ ]]; then read -e -p "${YELLOW}Desired username${STD} (Enter to accept): " -i "plexuser" PU if [ "$PU" != "plexuser" ]; then - echo -e "${CYAN}" - echo -e "I'm in the process of creating a new GooPlex." - echo -e "For now, it's only possible to create the user 'plexuser'" - echo -e "Stay tuned for a future update that makes it possible" - echo -e "to choose $PU as your user name!" - echo -e "${STD}" - PU=plexuser + echo "${CYAN}" + echo "You are on the Legacy branch of GooPlex." + echo "It can only run as 'plexuser'" + echo "To use $PU as your username, you will need to" + echo "switch to GooPlex v2 (coming soon)" + echo "${STD}" + fi + + PU=plexuser sudo -s adduser $PU From 20ec3d740531bc05d078266e0255fe726140a234 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 10:13:51 -0600 Subject: [PATCH 38/44] Update variables.sh --- menus/variables.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/menus/variables.sh b/menus/variables.sh index d8cb0bd7..e2694de3 100644 --- a/menus/variables.sh +++ b/menus/variables.sh @@ -1,6 +1,7 @@ #!/bin/bash VERSION="1.1.1" +TIMEZONE=$( cat /etc/timezone ) # Define colors From f36339a5d91a570d3acaf9c06c8449dc5d8c8633 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 10:17:02 -0600 Subject: [PATCH 39/44] Update rclone.service --- scripts/rclone.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rclone.service b/scripts/rclone.service index 9618c6fd..5128276e 100644 --- a/scripts/rclone.service +++ b/scripts/rclone.service @@ -4,7 +4,7 @@ Description=Mount and cache Google drive After=syslog.target local-fs.target network.target [Service] -Environment=RCLONEHOME=/home/plexuser/.config +Environment=RCLONEHOME=/home/plexuser/.config/rclone Environment=MOUNTTO=/media/Google Type=simple From 59576e8bd03c4250dfa9a36583c8de7df5f805cd Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 10:18:32 -0600 Subject: [PATCH 40/44] Update Rclone-install.sh --- install/apps/Rclone-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/apps/Rclone-install.sh b/install/apps/Rclone-install.sh index b952265f..f677f795 100644 --- a/install/apps/Rclone-install.sh +++ b/install/apps/Rclone-install.sh @@ -44,7 +44,7 @@ else sudo systemctl enable rclone.service sudo systemctl daemon-reload sudo systemctl start rclone.service - sudo chown -R $USER:$USER $CONFIGS/.config + sudo chown -R $USER:$USER $HOME TASKCOMPLETE From 2a8eafc02b4a22a52701bb674a0d1e1940b83c4e Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 10:45:33 -0600 Subject: [PATCH 41/44] Update Plex-remove.sh --- install/apps/Plex-remove.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/apps/Plex-remove.sh b/install/apps/Plex-remove.sh index 31cf1d70..a0938021 100644 --- a/install/apps/Plex-remove.sh +++ b/install/apps/Plex-remove.sh @@ -23,6 +23,7 @@ else # Main script + sudo service plexmediaserver stop sudo dpkg --purge plexmediaserver sudo rm -r /opt/plexupdate From b2c333496db7e397571197e5bfb11bd2246e9d67 Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 10:46:10 -0600 Subject: [PATCH 42/44] Update Tautulli-remove.sh --- install/apps/Tautulli-remove.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/apps/Tautulli-remove.sh b/install/apps/Tautulli-remove.sh index 8827447c..04d5629b 100644 --- a/install/apps/Tautulli-remove.sh +++ b/install/apps/Tautulli-remove.sh @@ -23,6 +23,7 @@ else # Main script + sudo systemctl stop tautulli.service sudo rm -r /opt/Tautulli # Removing Services From c00aea9831894df4e90a5694f5d9486953804e6a Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Sat, 20 Oct 2018 10:47:47 -0600 Subject: [PATCH 43/44] Update Emby-remove.sh --- install/apps/Emby-remove.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/apps/Emby-remove.sh b/install/apps/Emby-remove.sh index 3774dc0a..c46e2bea 100644 --- a/install/apps/Emby-remove.sh +++ b/install/apps/Emby-remove.sh @@ -23,6 +23,7 @@ else # Main script + sudo service emby-server stop sudo apt-get purge --auto-remove emby-server -y sudo rm -r /opt/emby-server From cf68fcb038baf6613a6972ba2be0516ead689c9c Mon Sep 17 00:00:00 2001 From: Tech Perplexed <15312691+TechPerplexed@users.noreply.github.com> Date: Wed, 24 Oct 2018 16:21:31 -0600 Subject: [PATCH 44/44] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2f672fde..add08d08 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # GooPlex Infinite Plex on a VPS with Google Drive. -Please check the Tutorial: [Infinite Plex on VPS](http://bit.ly/TechPerplexed "How to create an infinite Plex media server using a VPS and Cloud service") +Please check the Tutorial: [Infinite Plex on VPS](http://bit.ly/TechPerplexed "How to create an infinite Plex media server using a VPS and Cloud service") +## Legacy +This is the legacy branch of Gooby (formerly: GooPlex). It contains all the original installations but won't be maintained any further. ## Installation Run with this command: -`sudo wget http://bit.ly/GooPlex -O /tmp/install.sh && sudo bash /tmp/install.sh` +`sudo wget http://bit.ly/GoobyLegacy -O /tmp/install.sh && sudo bash /tmp/install.sh`