Announcement

Collapse
No announcement yet.

Multiuser Dockerized SeedBox-From-Scratch

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiuser Dockerized SeedBox-From-Scratch

    A long work in progress that started with Notos (GitHub - Notos/seedbox-from-scratch: Creating a seedbox on a Linux server) and DannyTI (GitHub - dannyti/seedbox-from-scratch: Creating a seedbox on a Linux server), this latest version supports full Docker containers of some of the most popular seedbox functionality out. There is a Wiki documenting many of the processes required in order to install and manage the scripts. Since this originally used the other scripts as a base, you will be able to update your servers to the latest version which supports Dockers. If you prefer to spin up a new machine, then all required services will be presented to the user.

    Follow the Wiki on how to install the script on your server, OVH stand up scripts are available which will assist in your server stand up if you choose OVH as your host provider. How to install the system * thevisad/seedbox-from-scratch Wiki * GitHub find documentation of known issues that others have experienced while running this new version at this location as well.

    GitHub - thevisad/seedbox-from-scratch: The Dockered Seedbox From Scratch Mod 2 Script


    Wiki Page
    How to install the system * thevisad/seedbox-from-scratch Wiki * GitHub


    ## Inspiration


    When I originally started playing with this script it was one of the few that actually setup an environment properly for multiple users. I learned what was needed to get it operational and I am now in the process of eliminating all aspects that are server specific. The script should be designed to install into a machine and then have docker services that are geared specifically towards the needs of each user. This script has been heavily modified from the original, but you can upgrade from the original to this version with a little effort. A script may be created later to handle the upgrade process.




    ## Core Server Features


    * Automatic Update system tied to Github Repository
    * A true multi-user enviroment built around core technologies on the server.
    * Docker container services for all user service environments
    * Linux Quota, to control how much space every user can use in your box.
    * Central Web Management system to handle user install/removal/update functionality.

    ## Core Server Software

    * Web interface for user service interaction
    * Fail2ban - to avoid apache and ssh exploits. Fail2ban bans IPs that show malicious signs (disabled by default)
    * Apache (SSL)
    * OpenVPN
    * OS Specific PHP and PHP-FPM (FastCGI to increase performance)
    * Linux Quota
    * SSH Server (for SSH terminal and sFTP connections)
    * vsftpd (Very Secure FTP Deamon)
    * Webmin (use it to manage your users quota)


    ## Supported Docker Containers
    * Docker Plex - GitHub - timhaak/docker-plex: This is a Dockerfile to set up Plex Media Server https://plex.tv/
    *## Docker MySQL - https://github.com/linuxserver/docker-mysql - (buggy atm) not recommended
    * Docker Deluge - https://hub.docker.com/r/binhex/arch-deluge/
    * Docker RuTorrent - https://hub.docker.com/r/thevisad/rutorrent/
    * Docker Ubooquity - https://hub.docker.com/r/linuxserver/ubooquity/
    *** Docker LetsEncrypt - https://github.com/linuxserver/docker-letsencrypt (not working)
    * Docker Rapidleech - https://hub.docker.com/r/wpzzz/rapidleech/
    * Docker sabnzbd - https://hub.docker.com/r/linuxserver/sabnzbd/
    * Docker Sickbeard - https://hub.docker.com/r/linuxserver/sickbeard/
    * Docker CouchPotato - https://hub.docker.com/r/linuxserver/couchpotato/
    * Docker SickRage - https://hub.docker.com/r/linuxserver/sickrage/
    * Docker FileManager - https://hub.docker.com/r/hacdias/filemanager/




    ## Tested servers (should work on any system support debian commands)
    * Ubuntu Server 16.04 - 32 and 64 bit
    * Ubuntu Server 16.10 - 32 and 64 bit


    Last edited by thevisad; June 13th, 2018, 02:13 PM.

  • #2
    So is this not working anymore? Because I just tried it and there is no Rutorrent page .. there is no page that says to install anything. All I get is a page that has my info like username and password .. which is really weird. and also directory locations. Ip/rutorrent doesnt work.. just the IP itself will pull up a site that says index of.. it has three things .. favicon .. html folder and seedboxinfo.php

    everything on the script looked fine and I didnt see any errors.

    this is ubuntu 16.04 server

    Comment


    • #3
      Originally posted by BluGhost View Post
      So is this not working anymore? Because I just tried it and there is no Rutorrent page .. there is no page that says to install anything. All I get is a page that has my info like username and password .. which is really weird. and also directory locations. Ip/rutorrent doesnt work.. just the IP itself will pull up a site that says index of.. it has three things .. favicon .. html folder and seedboxinfo.php

      everything on the script looked fine and I didnt see any errors.

      this is ubuntu 16.04 server

      I will put a todo list to have that page redirect you to your page, all of the services have been moved to the private user page for addition and removal (the page seen above). browse to https://youriphere/private and you will be prompted for the username and password. Click on the link User Details under your name on the private page to load all of your service information. Services that are green lit are installed and running properly, yellow installed and not running.

      TheVisad
      Last edited by thevisad; June 13th, 2018, 06:56 AM.

      Comment


      • #4
        Originally posted by thevisad View Post
        I will put a todo list to have that page redirect you to your page, all of the services have been moved to the private user page for addition and removal (the page seen above). browse to https://youriphere/private and you will be prompted for the username and password. Click on the link User Details under your name on the private page to load all of your service information. Services that are green lit are installed and running properly, yellow installed and not running.

        TheVisad

        thanks for the reply. That did work. However now I am wondering how I access what I install? I have tried IP/, IP/rutorrent, IP/private/rutorrent/ and nothing is working.

        Comment


        • #5
          Originally posted by BluGhost View Post
          thanks for the reply. That did work. However now I am wondering how I access what I install? I have tried IP/, IP/rutorrent, IP/private/rutorrent/ and nothing is working.
          Click on the link User Details under your name on the private page to load all of your service information. There will be a section for each one of the services that you install similar to the one listed below. This is created after you install the service and is removed when you delete the service.

          Most of this might be on the Wiki pages, I have tried to keep that up to date as I go along. I am more then happy to help with any issues and will update the Wiki with any questions I might have missed or answer here. How to install the system * thevisad/seedbox-from-scratch Wiki * GitHub



          SERVICE: servicenamehere
          USERNAME: usernamehere
          ACCESSURL:
          https://serverhere:porthere
          ACCESSURL:
          http://serverhere:porthere
          WEBSSLSERVERPORT:
          porthere
          WEBSERVERPORT:
          porthere

          Last edited by thevisad; June 13th, 2018, 02:19 PM.

          Comment


          • #6
            Originally posted by thevisad View Post
            Click on the link User Details under your name on the private page to load all of your service information. There will be a section for each one of the services that you install similar to the one listed below. This is created after you install the service and is removed when you delete the service.

            Just so you know this is all on the Wiki page, I am more then happy to help and will update the Wiki with any questions I might have missed or answer here. How to install the system * thevisad/seedbox-from-scratch Wiki * GitHub



            SERVICE: servicenamehere
            USERNAME: usernamehere
            ACCESSURL:
            https://serverhere:porthere
            ACCESSURL:
            http://serverhere:porthere
            WEBSSLSERVERPORT:
            porthere
            WEBSERVERPORT:
            porthere


            well what do you know .. that works thanks!.

            now more issues. Rtorrent loads slowly ... and when it does load it says that it cannot establish a connection. I have all the ports open that are in the user details at the bottom. Plus the port that is at the end if the url for rutorrent.

            is this stuff normal to be going on?

            Comment


            • #7
              Originally posted by BluGhost View Post
              well what do you know .. that works thanks!.

              now more issues. Rtorrent loads slowly ... and when it does load it says that it cannot establish a connection. I have all the ports open that are in the user details at the bottom. Plus the port that is at the end if the url for rutorrent.

              is this stuff normal to be going on?

              Who is your server provider and size server do you have? I am using a kimsufi KS-3C which has 8gb or ram, 2tb hdd and an i3-2130 processor. My RTorrent loads in roughly the same amount of time on that server versus a VPS server in singapore from OVH, which is under 12 seconds from page refresh to fully loaded. There is a known connection issue with IRSSI which indicates connection refused, but this has no impact on the rtorrent services themselves and only affects the auto loading from a folder. If you look at the bottom of your browser, you should see a similar bar to the one below. If you check the part I circled, this should indicate if your port is open or not and if you hover it will tell you what port that its assigned to, verify this to the port that is listed on your service page from above.

              Comment


              • #8
                Originally posted by thevisad View Post
                Who is your server provider and size server do you have? I am using a kimsufi KS-3C which has 8gb or ram, 2tb hdd and an i3-2130 processor. My RTorrent loads in roughly the same amount of time on that server versus a VPS server in singapore from OVH, which is under 12 seconds from page refresh to fully loaded. There is a known connection issue with IRSSI which indicates connection refused, but this has no impact on the rtorrent services themselves and only affects the auto loading from a folder. If you look at the bottom of your browser, you should see a similar bar to the one below. If you check the part I circled, this should indicate if your port is open or not and if you hover it will tell you what port that its assigned to, verify this to the port that is listed on your service page from above.

                Honestly I am installing it on my computer. I have so far tried QuickBox.. its kinda slow and gives a low disk space error. Then I tried arakasi72 scripts .. works good but missing filemanager and that sucks. Then this one .. cant hardly get it to load ... it just gets stuck on the loading screen and when it does load I get the errors in the log that say cannot establish a connection and check the ports scgi .. well I have added all the ports from user details and they are open.. and it still does this . kinda weird. right now I have installed it again ... and I cant even get it to load up just stuck on that loading screen
                just got it loaded and this is what i see
                No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.

                Comment


                • #9
                  Originally posted by BluGhost View Post
                  Honestly I am installing it on my computer. I have so far tried QuickBox.. its kinda slow and gives a low disk space error. Then I tried arakasi72 scripts .. works good but missing filemanager and that sucks. Then this one .. cant hardly get it to load ... it just gets stuck on the loading screen and when it does load I get the errors in the log that say cannot establish a connection and check the ports scgi .. well I have added all the ports from user details and they are open.. and it still does this . kinda weird. right now I have installed it again ... and I cant even get it to load up just stuck on that loading screen
                  just got it loaded and this is what i see
                  No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.

                  Ok, that makes a bit more sense then as to why things are not working as expected. This was really designed to be hosted on servers that are directly connected to the internet. You can likely get this to work without too much more of a hassle, but it might have a few issues internally on your network. You will likely need to set this machine as the DMZ on your router or at the very least port forward the ports you have set aside for the services.

                  The rtorrent issue is likely a problem with the internal networking setup on the docker container having detected the right network card on your machine. Is it wired/wireless?

                  Can you give me the output from the command
                  cat /etc/seedbox-from-scratch/hostname.info

                  Comment


                  • #10
                    Just tried today. Where or what the password for Deluge?

                    Comment


                    • #11
                      Great script, it worked a treat.Thanks for all the hard work its much appreciated.
                      Any chance of a future update that includes synthing/rsync to make it easy to bring files home.

                      Having some teething issues like https for sonarr, radarr and Ubooquity seems to be throwing its toys.

                      All round awesome effort.

                      EDIT: I've just had a chance to really play with this script and it does not allow for any one unified save location and the sonarr and radaar front ends do not seem to be doing any of the file moving/renaming.

                      Is that just my install or is that happening to anyone else?

                      thanks
                      Last edited by fruitsofdoom; February 11th, 2019, 05:44 AM. Reason: additional info

                      Comment


                      • #12
                        Originally posted by fruitsofdoom View Post
                        Great script, it worked a treat.Thanks for all the hard work its much appreciated.
                        Any chance of a future update that includes synthing/rsync to make it easy to bring files home.

                        Having some teething issues like https for sonarr, radarr and Ubooquity seems to be throwing its toys.

                        All round awesome effort.

                        EDIT: I've just had a chance to really play with this script and it does not allow for any one unified save location and the sonarr and radaar front ends do not seem to be doing any of the file moving/renaming.

                        Is that just my install or is that happening to anyone else?

                        thanks
                        Just logged in and saw that you had messaged this, I am not getting notifications from the board that someone has posted despite being subscribed to the post.

                        The file structure has been built so that almost all of the users files will reside within their folder structure under /home/username/media under the corresponding folder for the proper data (comics, anime, movies, tv shows, etc). The folder /home/username/media/finished is linked to the /home/username/downloads folder.

                        I currently have file browser installed to assist with moving files around on the server, but I can definitely install a sync option to bring files home. I will look over the packages and see if I can address these requests/issues shortly.


                        Comment


                        • #13
                          Originally posted by memumet View Post
                          Just tried today. Where or what the password for Deluge?
                          This is one of the dockers you must change the password for. All dockers have a password field on the userscreen, this one was left off since it was a default password. I will have that added to the screen, but the password for deluge is... deluge

                          Comment

                          Working...
                          X