Giter Club home page Giter Club logo

pts-team's Introduction

PTS is currently in maintenance mode and is considered feature complete. From time-to-time developers will take it upon themselves to add new containers to Community-Apps as requested and update the Core-Apps whenever required.

We consider PTS to be a remarkable collaborative achievement and take pride in the fact we have built a solid foundation for any person to setup and learn basic Linux and also run a media server with minimal effort.

We encourage anyone wanting to contribute to the project in the future to join our community, this is also where we provide support: https://discord.gg/cKsMwMZ

Thanks to our valued contributors over the past couple of years, you have helped create something to be proud of and that will serve the community well into the future.

You know who you are. PTS is forever, others will come and go.

Table of Contents

  1. Install
  2. Project Statement
  3. Functional Use
  4. Recommended Reading
  5. Having Issues?

1. Install

(i) Backup your current server using PTS Vault before installing PTS-Team.

Your PTS backup can be used to restore your applications in PTS fork after install (see later)
NOTE Tested and working for PG v8.5-8.7

Type the following to access your current build's menu: sudo pgblitz
Select [7] PG vault [Backup & Restore] then
Select [1] Utilize PG Vault then
Select [1] Data Backup

At this stage you can either type all (to backup all apps) OR appname (to queue/stack apps which you would like to backup) followed by typing A.

IMPORTANT If you have an encrypted drive and have forgotten, not documented or not backed up your SALT/password for PG Clone, you should at this stage also backup your keys/rclone.config to gdrive. This can be done by the following:

Type or paste the following to backup your keys:

sudo wget -N https://raw.githubusercontent.com/MHA-Team/PTS-Clone/final/functions/backup-keys.sh

(ii) Installing PTS

NOTE The ideal method of installing the PTS fork is to delete your current build and install PTS fork on a clean system. PTS fork works best on ubuntu 18.XX and this tutorial will assume you are using ubuntu 18.XX. If you are unsure on how to do this, please refer to the documentation provided by your server provider.

Once your server has an OS installed, login to your server using SSH.

Type or paste the following to install PTS fork:

sudo apt-get update -yqq
sudo apt-get upgrade -yqq
sudo apt-get autoclean -yqq
sudo apt-get install wget -y
sudo wget -qO- https://raw.githubusercontent.com/MHA-Team/Install/master/install.sh | sudo bash

The installation will then take you through the setup which is self-explanatory.

Alternative method of installing PTS fork (without removing your current build)

NOTE This has currently only been tested with PG v8.5-8.7

Type or paste the following:

sudo apt-get update -yqq
sudo apt-get upgrade -yqq
sudo apt-get autoclean -yqq
sudo apt-get install wget -y
sudo wget -qO- https://raw.githubusercontent.com/MHA-Team/Install/master/install.sh | sudo bash

Optional - updating your PTS-Team fork to the new MHA-Team fork

IDoMnCi came up with a great script to change all the links on an existing PTS-Team fork (NOT PG 8.x) to the MHA-Team fork. Details - MHA-Team/Install#4

sudo wget -qO- https://raw.githubusercontent.com/MHA-Team/Install/master/relocate.sh | sudo bash

sudo ptsupdate

Testing Only - Not Supported - Install PTS-Team fork via Windows 10 20H1 WSL2 Ubuntu 18.04

Sammykins has tested installing the PTS-Team form on a Windows 10 machine via the new WSL2 system built into Windows. Follow the above (#ii-installing-pts) in a WSL2 terminal shell, if you do not know how to enable WSL2 and install an Ubuntu 18.04 system for this method it is recommended not to install.

DO NOT ASK FOR SUPPORT OR FIXES FOR THIS METHOD IT IS PROVIDED AS-IS AND WE TAKE NO RESPONSIBILITY IF ANYTHING BELOW DOES NOT FUNCTION OR BREAKS YOUR WINDOWS 10 INSTALLATION. YOU DO THE BELOW AT YOUR OWN RISK.

  • Follow the following page to install and setup WSL2 (see here)
  • Only use an Ubuntu 18.04 VM from the Microsoft Store
  • Prior to install follow this to enable systemd: (see here)
  • The script may fail to create the plexguide network in docker, simply run docker network create plexguide to fix
  • Use MultiHD to set another drive as the main path for data, we recommend this if your C drive is too small as WSL2 will default run on the OS drive, e.g. if you have a D: drive, this would be /mnt/d/pathtoanewfolderforptsfiles
  • Follow the rest of the guides for configuring PTS

Configuring PTS

Configuring PTS fork is the same as configuring PG / PlexGuide.

Then type the following to run the PTS menu: sudo pts

  • Set up and deploy Traefik (see here)

  • Close ports using Port Guard (see here)

  • Deploy PTS Shield (GOAuth - all apps supported) see here

  • Set up and deploy PTS-Clone. You can restore you backup keys at this stage. see here

  • (Optional) Restore PTS backup (created in step 1) using PTS-Vault. see here

  • Install desired core/community applications (Do this regardless of whether it is a fresh install with restore or overwrite) see here

  • (Optional) If overwriting/restoring, you will need to change 2 remote path mappings in applications (NZB clients / Torrent clients / radarr / sonarr / lidarr etc) see here

Why do I need to change remote paths?

PTS will create one download folder for completed downloads using any NZB client /mnt/downloads/nzb and one download folder for completed downloads using any torrent client /mnt/downloads/torrent. Both folder names are different to those used in previous versions of PTS. This remote paths need to be changed in your configuration settings (nzbget/radarr/sonarr etc) which you can do in either in terminal or webUI.

NOTE PTS fork does not install PGUI by default.

2. Project Statement

PTS is a fork of PG / Plexguide, an all-in-one media solution that deploys a Media Server through the use of either your local HDD or Google Drive; serving as unlimited back-end storage. PTS utilizes Ansible and Docker to streamline your Media Server while deploying multiple tools for your server operations.

3. Functional Use

  1. Deploys multiple programs/apps and functional within 10 - 30 seconds
  2. Deploy PTS on a remote machine, local machine, VPS, or virtual machines
  3. Deploy PTS utilizing Google's GSuite for unlimited space or through the solo or multiple HD editions
  4. Deploys a Reverse Proxy (Traefik) so you can obtain https:// certificates on all your containers
  5. Backup and Restore data through your Google Drive
  6. Aligns data and ports for efficiency
  7. Deploys with a simple installer and a GUI like interface (commands do not have to be typed out)

.....

4. Recommended Reading

[Click Here] to view the list!

5. Having Issues?

[Click Here] for more information!

pts-team's People

Contributors

akkibhat avatar albatross1 avatar appdesign1987 avatar calmcacil avatar dependabot[bot] avatar domgrieco avatar doob187 avatar drgnfyre avatar hawksrepos avatar justinglock40 avatar ldyte3 avatar m1lkman avatar mondychan avatar niller2005 avatar porkie02 avatar smashingtags avatar sn0wed1 avatar thesammykins avatar xpl0yt91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pts-team's Issues

Items in 'opt/mycontainers' not displaying in install list

Describe the bug
The .yml files in opt/mycontainers are not populating in the community containers list.

To Reproduce
Steps to reproduce the behaviour:
Add a .yml file to opt/mycontainers after it gets created.

Expected behaviour
The container should show up in the community containers list.

gdrive auth failing.

When trying to setup clone and when asked to auth gdrive, i keep getting an error saying dangling shortcut detected plexguide and it fails, yet tdrive passes

uploader stuck not able to upload new files still at 0%

Hi,

I have some issue on my new pts install i have installed pts as it's supposed to do. But after uploading some 750gb the uploader stuck and i was not able to upload more data to my teamdrive throught the unionfs btw i have tried to uninstall the pts and re-install but the issue still here,

image

Can someone tell me how to fix and throubleshot the issue ?

Kind regards.

cant access portainer

i guess portainer needs https now and trafeix checks http to see if site works but not https

Files are not uploading to Google Drive Shared Drive

Describe the bug

Uploadar is not uploading my files to TDrive. My /mnt/move folder is stuck.

To Reproduce

Expected behaviour

Uploadar should upload my files to Tdrive

Screenshots
2022-10-09 22_41_11-

2022-10-09 22_42_03-root@plex_ _mnt_move_movies

Error Logs

Additional context

PTS-Clone fails to deploy mounts

Describe the bug
A clear and concise description of what the bug is.

  • when deploying mounts gdrive service and tdrive services fail. And it comes up with Deploy fail : blitz

To Reproduce
Steps to reproduce the behaviour:

  1. Go to '...'

  2. Click on '....'

  3. Scroll down to '....'

  4. See error

  5. Deploy mounts

  6. See error

Expected behaviour
A clear and concise description of what you expected to happen.

  • Deploy Failed: Blitz

Screenshots
If applicable, add screenshots to help explain your problem.

image

image

image

Error Logs
If applicable, add any error logs you are seeing to help problem-solving.

  • in screenshots above

Additional context
Add any other context about the problem here.

MHA-Team Discord request. [Off topic]

Hello, i would like to get some information about what happened with some developers of early PTS-Team like MrDoob i ask it because i doesn't can see her github profile, and i would like to ask if MHA is planing to have a discord server because the others is completely off or disabled.

Regards

zerotier broken

it does not publish any ports, in fact it fails at the step for external port during install.

Files dissapear from UnionFS after upload.

Noticed that my files were being deleted after upload the other day.

per inspection the download process works well:

  • I can see the uploader uploading the file in the uploader UI
  • I can see the file and the lock file in the unionfs mount

However.. as soon as the upload is finished. All files and folders associated with the file are removed.

When testing.. if I create a file in the unionfs folder it goes through the following states

  1. touch succeeds
  2. lock file created, both file and file.lck exist
  3. file is gone.

I have no idea why this is happening

Error pulling any Docker image; can't rebuild or restore any apps

Describe the bug
Credentials store error through Docker is preventing PTS from creating or rebuilding any Docker images.
This causes an initial failure as Portainer image can't be pulled and built.
When trying to update other services (i.e. move/blitz) it fails as key images can't be pulled.
When trying to uodate or install Traefik, it fails as it can't pull new Portainer image, so can't test Portainer install.

To Reproduce
Steps to reproduce the behavior:
Run the install, or try to update the various Move/Blitz, or update core apps.

Expected behavior
If a new image is unavailable due problem reaching Docker server (either credential or network), check if old version of image already exists and use that version. At least that will allow a restoral.

Screenshots
Imgur link to two including Portainer and Traefik

PTS-Docker-error_Portainer
PTS-Docker-error_01

Uploader run in Loop.

The Issue i have is when i try to send a file to my tdrive, when i try to send any file it create a file like
exemple.lock and the uploader goes crazy (Many loops, don't delete files after moving, and in most times the uploader doesn't send the file,...)

This is some of info i can give.

`
[Uploader] Finished looking for files, sleeping 5 secs

[Uploader] Files found to upload

[Uploader] Lock File found for /move/Films[FR]/555.txt

[Uploader] Finished looking for files, sleeping 5 secs

[Uploader] Files found to upload

[Uploader] Lock File found for /move/Films[FR]/555.txt

[Uploader] Finished looking for files, sleeping 5 secs

[Uploader] Files found to upload

[Uploader] Lock File found for /move/Films[FR]/555.txt

[Uploader] Finished looking for files, sleeping 5 secs

[Uploader] [Upload] Upload complete for /move/Films[FR]/555.txt, Cleaning up

[Uploader] Files found to upload

[Uploader] Starting upload of /move/Films[FR]/555.txt

[Uploader] [Upload] Upload started for /move/Films[FR]/555.txt using GDSA01C

[Uploader] GDSA01 is now .00000001862645149230

[Uploader] Sleeping 5s before looking at next file

[Uploader] [Upload] Uploading /move/Films[FR]/555.txt to GDSA01C

`

image

Server Hosted on Hetzner.
EX-52-NVME

cant claim server

i changed my password in plex and signed out of all devices. now i cant reclaim the server. i tried deleteing the perf and running setup again. reentered a new claim token but still get unauthorized to access this server when logging in same account to claim

Files isn't uploading to Google Drive Shared Drive

Hello guys ,

I'm having a weird issue since 3 days ago, files on my server isn't being uploaded to Google Drive, files keeps on move folder and uploader report that files has been uploaded but they are not.

Here is an image of how they are on the move folder:
image

If for example I look for the same file on /mnt/unionfs/Tv Shows folder the file seems to be there:
image

But in google drive its another history:
image

This is capping my server HDD space as they are not uploading,

Please helpppp

Thanks in advance.

Can't get PAS webpage for manual scans

So my PTS build all seems to be running swimmingly. Only minor issue I'm having is that I can't access the webpage for PAS. I used the CBOX-PAS option to install it. The 'arr apps can see it locally and it's functioning as expected too. I just can't access the webpage for manual scans. I should see it at https://plexautoscan.mydomain.com/MY_SERVER_KEY

I've asked on the discord and other users have reported the same issue.

Normal move 730gb limit counter does not reset

I'm running PTS with normal move which have a counter upload counter set to 730gb, after that it pauses the upload. The problem is that the counter does not reset after 24h.

I'm normally at about 150-200gb upload per day, so after a few days I get the message that the upload have paused due to the limit. So i manually have to restart the uploader container to get it going again.

image

gsuite Organization storage full

Your organization exceeded its 25 TB of Google Workspace storage. To avoid service disruptions, free up space or get more storage within 47 days.

what now?

PAS doesnt work anymore

hello

with the latest image of PAS "sabrsorensen/alpine-plex_autoscan:latest" commited to github at 7/23/2020 at 9:52 am (dunno the timezone github uses, if it uses my default then its CET) - DIGEST = (2247ea93f9d4)

PAS starts to throw error

2020-07-23_20-04-35

can be fixed with editing the binding inside the docker container for /rclone_config to

2020-07-23_21-04-17

and edit the rclone config entry in the file
/opt/appdata/plexautoscan/config/config.json
to
"CONFIG": "/rclone_config/rclone.conf",

fixes the issue

could anyone incorporate this workaround into the deployment code?

cant restore

tells me to enter name of a server but tells me to enter an exact name of a server but im using the name the is listed as current

pgunion send half of the file instead of complete file while uplaoding.

Describe the bug
The pgunion upload half of the file instead of the complete file.

To Reproduce
Steps to reproduce the behaviour:

  1. Rename the file large like 50gb to your desired name and then upload it thought the Unionfs.
  2. Check if the size is correct betwen radarr/os/uploader

Expected behaviour
Upload complete file.

Screenshots
image

while radarr say

image

and flood(rtorrent)
image

Error Logs
tell me how can i get the logs and i will post here.

[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] File is still getting bigger /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] File is still getting bigger /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] File is still getting bigger /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] File is still getting bigger /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Starting upload of /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] GDSA04 is now 96.72104661725461483001,
[Uploader] Sleeping 5s before looking at next file,
[Uploader] [Upload] Upload started for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv using GDSA04C,
[Uploader] [Upload] Uploading /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv to GDSA04C,
[Uploader] [Upload] Starting Upload,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] Files found to upload,
[Uploader] Lock File found for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv,
[Uploader] Finished looking for files, sleeping 5 secs,
[Uploader] [Upload] Upload complete for /move/FR/Films[FR]/1BR (2019)/1BR (2019).mkv, Cleaning up,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,
[Uploader] Nothing to upload, sleeping 5 secs,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.