Git Product home page Git Product logo

cloudbox's Introduction




Website: https://cloudbox.works Wiki: http://cloudbox.wiki Discord: https://discord.io/cloudbox Reddit: https://reddit.com/r/Cloudbox
License: GPL 3 Changelog.md Contributing.md Credits.md
GitHub: Latest version GitHub: Latest version date
GitHub: Commits since latest version GitHub: Last commit date (develop) AppVeyor

Cloudbox is an Ansible-based solution for rapidly deploying a Docker containerized cloud media server.

This project was designed for x64 machines running Ubuntu Server 18.04 with limited support for other Debian distributions.

Please refer to the Wiki: http://cloudbox.wiki for detailed information on system requirements, installation, and configuration.

Featured Applications:

  • Plex
  • Emby
  • Sonarr
  • Radarr
  • Lidarr
  • NZBGet
  • ruTorrent
  • Tautulli (PlexPy)
  • NZBHydra2
  • Jackett
  • Ombi
  • Plex Requests
  • Plex Autoscan
  • Cloudplow
  • Organizr
  • Portainer
  • Traktarr
  • Plex Dupefinder
  • Plex Patrol
  • and more...

If you find this project helpful, feel free to make a small donation to the developers.

cloudbox's People

Contributors

andrewkhunn avatar bandwith avatar beansisfat avatar chazlarson avatar desimaniac avatar dimtar avatar enormoz avatar horjulf avatar l3uddz avatar ldub avatar lonix avatar migz93 avatar owine avatar rxwatcher avatar saltydk 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  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  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

cloudbox's Issues

ZFS and Docker

If you have a ZFS Root, the install will fail with

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to start service docker: Job for docker.service failed because the control process exited with error code.\nSee \"systemctl status docker.service\" and \"journalctl -xe\" for details.\n"}

This is due to overlay2 in daemon.conf not supporting ZFS -- switching overlay2 to zfs inside the config allows docker to start and use ZFS as its main backing store

NZBGet Container

This container doesn't seem to build properly the first time.
I have to run ansible-playbook with the nzbget tag a second time to get it to function properly.

Sickbear_mp4_automator

Thank you for building this, it works great! I have everything up and running, but I am having trouble getting this postprocessing script to run with nzbget and sonar/radarr. I have had it working without using docker but realized that when these postprocessing scripts run they use the containers environment not the host. What would be the best way to go about adding the python dependances and possibly ffmpeg to nzbget/sonarr/radarr. Thank you for the help I appreciate it.

LazyMan Plex Plugin Not Working

According to users on Reddit, any Plex update to v1.13+ can't stream LazyMan on Ubuntu 16.04. Specifically, it looks like the binaries of ffmpeg bundled with the newest Plex are not compatible with the runtime on Ubuntu 16.04. Perhaps there could be a way to downgrade Plex to v1.12 for those of us who would like to use LazyMan?

hotio/suitarr Latest Image issue

A day ago the image was reworked with
root/etc Rework PORT configuration a day ago
https://github.com/hotio/docker-suitarr/tree/master/root/etc
Since then using this image will cause the dockers to not start go unhealthy and to give a bad gateway from the proxy. Logs gives a no live upstream. I tested this image is the issue by taking one I have on a working box creating a new one and uploaded it to docker to deploy to my box that I just installed yesterday that will not work. And the issues go away. Someone might want to look at his changes and how they affect the proxy config.

Unable to find rclone on installation

Hi,

I receive the following error when running the setup script, deploying as root:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AnsibleFileNotFound: Could not find or access '/tmp/rclone-v1.38-linux-amd64/rclone'
fatal: [server]: FAILED! => {"changed": false, "msg": "Could not find or access '/tmp/rclone-v1.38-linux-amd64/rclone'"}

I have checked the directory /tmp and the folder and file are there

root@server:/tmp/rclone-v1.38-linux-amd64# ls -la
total 17432
drwxrwxr-x 2 root root 4096 Jan 15 17:43 .
drwxrwxrwt 10 root root 4096 Jan 15 18:17 ..
-rwxrwxr-x 1 root root 16958816 Sep 30 14:23 rclone
-rw-rw-r-- 1 root root 296086 Sep 30 14:21 rclone.1
-rw-rw-r-- 1 root root 315539 Sep 30 14:21 README.html
-rw-rw-r-- 1 root root 261497 Sep 30 14:21 README.txt

Any thoughts?

Thanks

N

Can't get Plexdrive to run as a service status is 'activating'

So currently loading and mounting plexdrive works. I can see all of my files, scan them into plex all that good stuff the issue I am having is adding it as a service and having it run on reboot.

these commands work and don't return any errors:

sudo systemctl enable plexdrive
sudo systemctl start plexdrive

the issue is when I check the status with sudo systemctl status plexdrive I get this:

plexdrive.service - Plexdrive
   Loaded: loaded (/etc/systemd/system/plexdrive.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Tue 2018-09-18 19:12:26 UTC; 4s ago
  Process: 7855 ExecStart=/opt/plexdrive/plexdrive mount -v 3 --refresh-interval=1m --chunk-che$ (code=exited, status=2)
 Main PID: 7855 (code=exited, status=2)

I also checked all of the service files to confirm they are the right user/group

Plex Autoscan and Cloudflare CDN

I was noticing that the Plex Autoscan script does not work if you turn on Cloudflare CDN for the Plex subdomain. While turning it off is of course an easy thing to do, you do lose the benefit of having Plex on Cloudflare's CDN.

Different Image

Hi, i wanted to ask if its possible to create an alternative image which

  • replaces radarr with couchpotato (Because radarr is not stable enough and buggy as hell)
  • replaces nzbget with sabnzbd (Because i like sabnzbd more and it has more Features)

Is it possible to do this?

Could you lead me to a direction so i can fork it and do it myself?

Thank you :)

Single external IP, feeder/media install

If cloudbox feeder/media split is installed on multiple servers where network has one external IP (ex. applicable to users at home with commodity hardware), only one server will have nginx ports forwarded for 80/443; in order to achieve desired workaround one would either have to configure nginx default.conf proxypass/server settings for remote host or have docker networking configured in overlay instead of bridge. Overlay networking further allows extensible use of 'splitting' containers. Would be nice to have an overlay networking option present in 'adv_settings.yml' to automate the process.

Sonarr import issues

Hello again, getting various different import errors in Sonarr:

  • No files found are eligible for import in /downloads/nzbget/completed/sonarr/example
  • Episode Number 14 was unexpected considering the example.S05E13 folder name
  • Invalid season or episode
  • This show has individual episode mappings on TheXEM but the mapping for this episode has not been confirmed yet by their administrators. TheXEM needs manual input.
  • Sample

Again, running stock Sonarr configured exactly as listed in the Wiki. The downloader used here is NZBGet. I feel like this is related to renaming or something but not sure. I believe the files are actually showing up fine in Plex, but they get stuck in the activity log in Sonarr.

Update Looks like it was NZBGet history. After purging that, Sonarr no longer had those import errors listed in the activity tab. I set KeepHistory to 0 for a while, until I realized Autoscan was no longer running. I set it to 1 day now so hopefully that solves all issues.

Side note: Is there a way to speed up the process of media being fully downloaded and then showing up in Plex? Seems to take quite a while before it shows up. I believe autoscan might be to blame there.

Thanks

LocalHost

During installing, I'am getting:

changed: [localhost]

On the endding of installing, I'am unable to access apps on server.

I'am using Scaleway Machine VC1M (4 X86 64bit Cores / 4GB memory)

On the end of installing I'am get the follow in red:

failed: [localhost] (item=[u'unrar', u'unzip', u'p7zip', u'python-pip', u'python3-pip', u'python-passlib', u'curl', u'sqlite3', u'vnstat', u'tree', u'lsof', u'man-db', u'ksmtuned', u'git', u'pwgen', u'rsync', u'logrotate', u'htop', u'iotop', u'nload', u'fail2ban', u'ufw', u'speedtest-cli']) => {"failed": true, "item": ["unrar", "unzip", "p7zip", "python-pip", "python3-pip", "python-passlib", "curl", "sqlite3", "vnstat", "tree", "lsof", "man-db", "ksmtuned", "git", "pwgen", "rsync", "logrotate", "htop", "iotop", "nload", "fail2ban", "ufw", "speedtest-cli"], "msg": "No package matching 'unrar' is available"}

Box have one public IP and a Private IP.

Media not appearing in plex

Hi there,

I've read the FAQ's for Autoscan and also monitored all services and logs. Everything looks great with no warnings or errors. However nothing is populating in Plex automatically unless I run a manual scan.

Another odd things is that when I do run a manual library scan directly in Plex, it seems to hang. I have to refresh the browser but the media does show up.

This is all on a Vanilla unmodified version of Cloudbox that I installed about an hour ago and followed all configuration guides precisely.

Any help is appreciated.

Thanks

Plex autoscan to quick on Feeder setup

Plex auto scan is too quick whilst using a feeder setup. The scan delay is only 180 seconds. After that, it tries for 10 minutes. But most uploads to Google aren't that quick.

Reinstalling container doesn't work

Attempting to reinstall nginx-proxy after deleting it earlier not command isn't rebuilding container. Doesn't matter if I try another container doens't perform anything. Am I missing a step?

xxx@Cloudbox:/opt$ mv nginx-proxy nginx-proxy_bak
xxx@Cloudbox:/opt$ ls
deluge  jackett  motd  nginx-proxy_bak  nzbget  nzbhydra  organizr  plex  plex_autoscan  plexdrive  plexpy  plexrequests  portainer  radarr  rutorrent  scripts  sonarr  unionfs_cleaner
xxx@Cloudbox:/opt$ cd ~/cloudbox
xxx@Cloudbox:~/cloudbox$ sudo ansible-playbook cloudbox.yml --tags nginx-proxy
 [WARNING]: Unable to parse /etc/ansible/hosts as an inventory source

 [WARNING]: No inventory was parsed, only implicit localhost is available

 [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'


PLAY [localhost] ********************************************************************************************************************************************************************************

TASK [Gathering Facts] **************************************************************************************************************************************************************************
Saturday 11 August 2018  14:18:20 +0800 (0:00:00.459)       0:00:00.459 ******* 
ok: [localhost]

TASK [sanity_check : System Info] ***************************************************************************************************************************************************************
Saturday 11 August 2018  14:18:23 +0800 (0:00:02.849)       0:00:03.309 ******* 
ok: [localhost] => {
    "msg": "System is running Ubuntu 16.04"
}

TASK [sanity_check : Ensure system is Ubuntu 16.04] *********************************************************************************************************************************************
Saturday 11 August 2018  14:18:23 +0800 (0:00:00.223)       0:00:03.533 ******* 
skipping: [localhost]

TASK [settings : Install ruamel.yaml] ***********************************************************************************************************************************************************
Saturday 11 August 2018  14:18:24 +0800 (0:00:00.099)       0:00:03.632 ******* 
ok: [localhost]

TASK [settings : Check if 'settings.yml' exists] ************************************************************************************************************************************************
Saturday 11 August 2018  14:18:26 +0800 (0:00:02.452)       0:00:06.085 ******* 
ok: [localhost]

TASK [settings : Get cloudbox.yml info] *********************************************************************************************************************************************************
Saturday 11 August 2018  14:18:27 +0800 (0:00:00.731)       0:00:06.816 ******* 
ok: [localhost]

TASK [settings : Copy 'settings.yml.default' to 'settings.yml'] *********************************************************************************************************************************
Saturday 11 August 2018  14:18:27 +0800 (0:00:00.586)       0:00:07.403 ******* 
skipping: [localhost]

TASK [settings : Get stats on 'settings.yml.default'] *******************************************************************************************************************************************
Saturday 11 August 2018  14:18:27 +0800 (0:00:00.114)       0:00:07.518 ******* 
ok: [localhost]

TASK [settings : Verify 'settings.yml' does not match 'settings.yml.default'] *******************************************************************************************************************
Saturday 11 August 2018  14:18:28 +0800 (0:00:00.487)       0:00:08.006 ******* 
ok: [localhost] => {
    "changed": false, 
    "msg": "All assertions passed"
}

TASK [settings : Run 'settings-updater.py'] *****************************************************************************************************************************************************
Saturday 11 August 2018  14:18:28 +0800 (0:00:00.326)       0:00:08.333 ******* 
changed: [localhost]

TASK [settings : Check 'settings-updater.py' run status for errors] *****************************************************************************************************************************
Saturday 11 August 2018  14:18:29 +0800 (0:00:00.545)       0:00:08.878 ******* 
skipping: [localhost]

TASK [settings : Check 'settings-updater.py' run status for new settings] ***********************************************************************************************************************
Saturday 11 August 2018  14:18:29 +0800 (0:00:00.201)       0:00:09.080 ******* 
skipping: [localhost]

PLAY RECAP **************************************************************************************************************************************************************************************
localhost                  : ok=8    changed=1    unreachable=0    failed=0   

Saturday 11 August 2018  14:18:29 +0800 (0:00:00.051)       0:00:09.131 ******* 
=============================================================================== 
Gathering Facts -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2.85s
settings : Install ruamel.yaml ----------------------------------------------------------------------------------------------------------------------------------------------------------- 2.45s
settings : Check if 'settings.yml' exists ------------------------------------------------------------------------------------------------------------------------------------------------ 0.73s
settings : Get cloudbox.yml info --------------------------------------------------------------------------------------------------------------------------------------------------------- 0.59s
settings : Run 'settings-updater.py' ----------------------------------------------------------------------------------------------------------------------------------------------------- 0.55s
settings : Get stats on 'settings.yml.default' ------------------------------------------------------------------------------------------------------------------------------------------- 0.49s
settings : Verify 'settings.yml' does not match 'settings.yml.default' ------------------------------------------------------------------------------------------------------------------- 0.33s
sanity_check : System Info --------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.22s
settings : Check 'settings-updater.py' run status for errors ----------------------------------------------------------------------------------------------------------------------------- 0.20s
settings : Copy 'settings.yml.default' to 'settings.yml' --------------------------------------------------------------------------------------------------------------------------------- 0.11s
sanity_check : Ensure system is Ubuntu 16.04 --------------------------------------------------------------------------------------------------------------------------------------------- 0.10s
settings : Check 'settings-updater.py' run status for new settings ----------------------------------------------------------------------------------------------------------------------- 0.05s
xxx@Cloudbox:~/cloudbox$ cd /opt
xxx@Cloudbox:/opt$ ls
deluge  jackett  motd  nginx-proxy_bak  nzbget  nzbhydra  organizr  plex  plex_autoscan  plexdrive  plexpy  plexrequests  portainer  radarr  rutorrent  scripts  sonarr  unionfs_cleaner
xxx@Cloudbox:/opt$ 

Frequent Crashing

Hi there - first of all you've done some amazing work here. Thank you so much. The problem I am discovering is seemingly random crashes. Sometimes I will run for hours with no issues, other times the entire server will crash within 10 minutes, requiring a reboot through the VPS provider panel. I cannot seem to find anything in the journalctl logs related to a kernel issue. I unfortunately do not have much more information to provide about it at the moment. Would be happy to provide what I can. Thanks

Plex library

I cannot seem to locate my media stored on an external drive. Am stuck when setting up plex libraries because of this. Please help.

Nginx Config

Where would the nginx config be saved? I'm already using port 443 and would like to change what port external use is accessed from. Opening the proxy.conf in opt/nginx-proxy only has 4 lines

# Increase max upload size
client_max_body_size 100G;
# Increase send timeout
send_timeout 100m;

Radarr Issue

I'm getting a 502 Bad Gateway when trying to access radarr.myhostname.org
Am I missing something?

Allow more than Just TV/Movie Folders

Maybe there's an easy way to do this that I'm missing, but my friends and I like to keep anime in separate libraries form TV and Movies. Is there any way to do this>

Plex install fails

I just updated my cloudbox install and it fails on on installing/updating my plex app:

TASK [plex : Set custom hosts] ******************************************************************************************************** Saturday 19 May 2018  21:07:26 +0200 (0:00:00.170)       0:03:24.185 **********
fatal: [localhost]: FAILED! => {"failed": true, "msg": "The ipv4 filter requires python-netaddr be installed on the ansible controller"}

VPN

Hello, Does this support a VPN for the P2P and radarr?

Feature Request: Manual UnionFS GDrive Upload Trigger

Hey,

I would like to suggest a feature which would allow users to trigger a one-off upload of local media to GDrive, without the local content being deleted.

Purpose for this is to ensure all media is backed up. I would set the UnionFS GB limit lower, but I want to keep as much media as possible local for the sake of best streaming performance for a higher majority of media.

I would be grateful if other people could let me know their thoughts on this in terms of both interest in the feature, and on the technical specifics required to achieve this (i.e. how to avoid duplicates being recorded as media would be both on GDrive and local).

Send rTorrent (and only rTorrent) traffic over VPN?

I'm planning on running Cloudbox on a VPS with Gdrive as the storage. However, I also plan to run torrents on the VPS, and from what I've seen so far, VPSes are not exactly keen to allow torrents.
My plan was to only send rTorrent traffic over the VPN, however, I couldn't find a documented way to do this.
I've found this: https://github.com/binhex/arch-rtorrentvpn, which seems pretty awesome. It forces rTorrent to go over the PIA VPN, and includes a killswitch to prevent any leakage. Would it be possible to integrate this into CloudBox?

how to use

plss im new in github somone can teach me

Transport endpoint is not connected

Yes, I know. It's probably not a Cloudbox issue, but I can't setup Plexdrive as shown in the wiki.
I already tried a fresh install of Ubuntu 18.04.

I've setup everything exactly as instructed in the wiki. But when I run this command:
/opt/plexdrive/plexdrive mount -v 3 --refresh-interval=1m --chunk-check-threads=8 --chunk-load-threads=8 --chunk-load-ahead=4 --max-chunks=100 --fuse-options=allow_other,read_only --config=/opt/plexdrive --cache-file=/opt/plexdrive/cache.bolt /mnt/plexdrive

I get this:

[OPT/PLEXDRIVE/PLEXDRIVE] [2018-10-08 14:45] INFO   : Mounting path /mnt/plexdrive
2018/10/08 14:45:43 mount helper error: fusermount: failed to access mountpoint /mnt/plexdrive: Transport endpoint is not connected
[OPT/PLEXDRIVE/PLEXDRIVE] [2018-10-08 14:45] DEBUG  : fusermount: exit status 1

Is there a fix for that? I don't know what's going on, already did my research but I'm a Linux noob ^^

Edit: Well, fusermount -uz /mnt/plexdrive and then re-mounting seems to fix it.

Nearly all of my TV Shows won't show up in Plex

I can see all my files in the /mtn/unionfs directory. However, when adding the data/TV folder as my TV Shows library -- only one season of three different shows appears. I've used all the same data with another Plex setup and never had any problems. Any ideas? How do I go about diagnosing?

Grafana Support

If one were to go about supporting a Grafana interface on top of Tautulli like this and this, would it be best to create a separate container or to integrate it into the current Tautulli container?

plex_autoscan_url.sh Feature Request

@desimaniac: would it be possible for you to add a command-line switch to /opt/scripts/plex_autoscan/plex_autoscan_url.sh that returns the URL with no formatting or boilerplate text? I'd really appreciate not having to use sed to strip all the extra ANSI codes, etc.

Deactivate services

Is there any way to deactivate/remove service I don't use? For example I don't feel save to have rutorrent on my system.

Issues using plex_autoscan_url.sh

Getting the following error when using the plex_autoscan_url.sh script. I realise this can be found without the script but it would probably give others issues too.

$ /opt/scripts/plex_autoscan/plex_autoscan_url.sh
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/json/__init__.py", line 291, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 25 column 5 (char 878)
/opt/scripts/plex_autoscan/plex_autoscan_url.sh: line 5: [: =: unary operator expected
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/json/__init__.py", line 291, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 25 column 5 (char 878)
No Plex Autoscan token found.
http://:/
$ cat /opt/plex_autoscan/config/config.json
{
    "DOCKER_NAME": "plex",
    "PLEX_DATABASE_PATH": "/opt/plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db",
    "PLEX_EMPTY_TRASH": true,
    "PLEX_EMPTY_TRASH_CONTROL_FILES": [
        "/mnt/unionfs/mounted.bin"
    ],
    "PLEX_EMPTY_TRASH_MAX_FILES": 100,
    "PLEX_EMPTY_TRASH_ZERO_DELETED": false,
    "PLEX_LD_LIBRARY_PATH": "/usr/lib/plexmediaserver",
    "PLEX_LOCAL_URL": "http://plex.redacted",
    "PLEX_SCANNER": "/usr/lib/plexmediaserver/Plex\\ Media\\ Scanner",
    "PLEX_SECTION_PATH_MAPPINGS": {
        "1": [
            "/Movies/"
        ],
        "2": [
            "/TV/"
        ]
    },
    "PLEX_SUPPORT_DIR": "/var/lib/plexmediaserver/Library/Application\\ Support",
    "PLEX_TOKEN": "redacted",
    "PLEX_USER": "plex",
    "PLEX_WAIT_FOR_EXTERNAL_SCANNERS": true,
    'PLEX_ANALYZE_FILE': false,
    "SERVER_ALLOW_MANUAL_SCAN": false,
    "SERVER_FILE_EXIST_PATH_MAPPINGS": {
        "/mnt/unionfs/Media": [
            "/data"
        ]
    },
    "SERVER_IP": "0.0.0.0",
    "SERVER_MAX_FILE_CHECKS": 10,
    "SERVER_PASS": "redacted",
    "SERVER_PATH_MAPPINGS": {
        "/data/Movies/": [
            "/movies/",
            "/unionfs/Media/Movies/"
        ],
        "/data/TV/": [
            "/tv/",
            "/unionfs/Media/TV/"
        ]
    },
    "SERVER_IGNORE_LIST": [
        "/.grab/",
        ".DS_Store",
        "Thumbs.db"
    ],
    "SERVER_USE_SQLITE": false,
    "SERVER_PORT": 3468,
    "SERVER_SCAN_DELAY": 5,
    "USE_DOCKER": true,
    "USE_SUDO": false
}
$ cat /opt/scripts/plex_autoscan/plex_autoscan_url.sh
#!/bin/bash

server_ip=$(cat /opt/plex_autoscan/config/config.json | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["'SERVER_IP'"]';)

if [ $server_ip = 0.0.0.0 ]; then
  plex_server_ip="$(curl -s http://checkip.amazonaws.com)"
else
  plex_server_ip=$server_ip
fi

port=$(cat /opt/plex_autoscan/config/config.json | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["'SERVER_PORT'"]';)

key=$(grep -m 1 "$port" /opt/plex_autoscan/plex_autoscan.log 2>/dev/null | sed 's:.*/::')

if [ -z "$key" ]; then
  i=1
  until [ "$key" ] || [ $i -gt 20 ]; do
    key=$(grep -m 1 "$port" /opt/plex_autoscan/plex_autoscan.log.$i 2>/dev/null | sed 's:.*/::')
    let i++
  done
  if [ -z "$key" ]; then
    echo "No Plex Autoscan token found."
    #exit 1
  fi
fi

RFE: Consider adding docker bridge for local network

Hello, thanks a lot for building such an awesome kit! I have installed cloud box inside proxmox on a vm that meets the requirements and most things work great.
There are a two main things that do not work as well, which I think is due to cloud box expecting to be directly on a wan:

  • Plex direct connect
    This is a bit of a problem. My upload is pretty terrible currently, and the way that cloud box sets up plex causes plex to use a relay to connect to my devices. This means that plex will try to upload the media and then my devices try to download it via the relay.

  • Lets encrypt certificates
    Because nginx does not have 'open' access to the wan, certificate renewal does not work. Perhaps it is possible to add the option for dns based verification. Of course, everything works over regular http, and as this is local not much of a problem. Still, I would prefer https.

I think that my problem with plex might be easily solved by adding a bridge for the local network in docker. I read about the macvlan driver, but I have been unable to get it to work. As such, I am adding a RFE to accommodate more local installations such as mine. I hope that it will be considered ๐Ÿ˜„

Backup Setting Removed settings.yml

Did you mean to remove the backup settings in the latest revisions of the settings.yml file? My nightly backup hasn't worked since updating last Thursday and I can't find any additional documentation on where you guys may have moved these settings.

settings_updater.py

Hello. I'm trying to install and after running sudo ansible-playbook cloudbox.yml --tags cloudbox I get error fatal: [localhost]: FAILED! => {"changed": false, "msg": "The script 'settings_updater.py' exited with an error when updating 'accounts.yml'. Check 'settings-updater.log' for details."} I've checked settings-updater.log file but it is empty. I have done all steps for editing accounts.yml file. But I get this error every time. My VPS OS is ubuntu 18.04. Thanks

Please consider mapping the rutorrent plugins dir to /opt

I didnt know where to place this request..here or https://github.com/l3uddz/docker-rutorrent

It is currently a challenge to add rutorrent plugins. You need to connect to the container and place your plugins into /usr/share/webapps/rutorrent/plugins.

If we can get this mapped to /opt/rutorrent/plugins or whatever then we can easily drop in plugins and they would be persistent. I have a few like ratio color that I use everywhere. This will change the font color of the ratio so I can easily see what my ratios are.

Thanks!

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.