Code Monkey home page Code Monkey logo

docker-rutorrent's Introduction

Welcome on my GitHub profile! I'm Tech Lead SRE at Axians and Docker/Kubernetes expert. Like #Apple, #Linux, #Docker, #Kubernetes, #Cloud, #Traefik, #Python, #Hacking, #NFC/#RFID and #Blockchain #Chia! Member of OpenChia.io and Pool.Energy teams 🌱. Available on Twitter, Mastodon, Telegram, email or Keybase and my websites are xorhak.fr, xcore.fr and djerfy.com. 🌱 🚀

Stack

wordpress node.js html css postgresql mysql git github gitlab vscode ubuntu linux bash python docker redis ansible

argocd azure django grafana k3s kubernetes podman vim terraform angular apple googlecloud raspberrypi aws

Social

Telegram Twitter Mastodon Keybase

Services

GitLab GitHub XorHak #DJERFY.com ArtifactHUB DockerHUB

Blockchain

OpenChia (Chia)

Frontend developer on OpenChia, a Angular stack (OpenChia is an open-source).

PoolEnergy (Chia)

Fullstack developer on PoolEnergy, a Python and Angular (PoolEnergy isn't open-source).

VKBit (Bitcoin)

Frontend developer (sometimes) on VKBit, (VBKit isn't open-source).

docker-rutorrent's People

Contributors

djerfy avatar jbdujardin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

oxosec

docker-rutorrent's Issues

Filebot options

Add new Filebot options:

  • FILEBOT_LANG
  • FILEBOT_CONFLICT

Don't forget to update README on the DockerHub.

FPM Error

Salut,

J'ai fork ton projet pour le personnalisé légèrement (Utilisation d'un dossier "plex" pour y mettre les fichiers renommés + ajout d'un label "Dessins Animés" car j'ai cette catégorie dans mon serveur Plex)

J'ai une erreur lorsque je lance mon container après l'avoir build avec ces paramètres :

docker container run -d --name ruTorrent -p 8080:8080 -p 6881:6881 -e UID=501 -e GID=20 -e DEBUG=true docker-rutorrent

Sachant que je suis sous Mac et que l'UID correspond à mon utilisateur sur mon Mac le GID correspond au groupe "staff" (équivalent de "admin" sous Linux il me semble)

Si tu as une petite idée je suis preneur ;)

Mon fork est ici si jamais : https://github.com/jbdujardin/docker-rutorrent

+ CSI='\033['
+ CEND='\033'
+ CRED='\033[1;31m'
+ CGREEN='\033[1;32m'
+ CYELLOW='\033[1;33m'
+ CBLUE='\033[1;34m'
+ f_log info 'Create torrent username ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Create torrent username ...'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] Create torrent username ...\n'
[�[1;34minfo......�][01/08/2019 15:43:59] Create torrent username ...
+ grep :20: /etc/group
+ cut -d: -f1
+ GROUP_NAME=dialout
+ '[' -z dialout ]
+ GROUP_NAME=torrent
+ grep 501 /etc/passwd
+ cut -d: -f1
+ USER_NAME=
+ '[' -z  ]
+ adduser -h /home/torrent -s /bin/sh -G torrent -D -u 501 torrent
adduser: unknown group torrent
+ USER_NAME=torrent
+ f_log success 'Create torrent username done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Create torrent username done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:43:59] Create torrent username done\n'
+ f_log info 'Create folders ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Create folders ...'
+ date '+%d/%m/%Y'
[�[1;32msuccess...�][01/08/2019 15:43:59] Create torrent username done
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] Create folders ...\n'
+ mkdir -p /data/torrents /data/.watch /data/.state /data/.session /config/rtorrent /config/custom_plugins /config/custom_themes /home/torrent /var/run/torrent /var/log/torrent /plex
[�[1;34minfo......�][01/08/2019 15:43:59] Create folders ...
+ f_log success 'Create folders done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Create folders done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:43:59] Create folders done\n'
+ f_log info 'Generate global configuration ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Generate global configuration ...'
[�[1;32msuccess...�][01/08/2019 15:43:59] Create folders done
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
[�[1;34minfo......�][01/08/2019 15:43:59] Generate global configuration ...
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] Generate global configuration ...\n'
+ '[' / '!=' / ]
+ sed -e 's|<webroot>||g' -e 's|<webroot_rpc>||g' -e 's|<folder>|/torrent|g' -i /etc/nginx/nginx.conf
+ sed -i 's|<webroot>|/|g' /var/www/html/torrent/conf/config.php
+ '[' -d /config/rutorrent/share ]
+ mkdir -p /config/rutorrent/share
+ mv /var/www/html/torrent/share/settings /var/www/html/torrent/share/torrents /var/www/html/torrent/share/users /config/rutorrent/share/
+ rm -rf /var/www/html/torrent/share
+ ln -sf /config/rutorrent/share /var/www/html/torrent/share
+ '[' -d /config/rutorrent/conf ]
+ mkdir -p /config/rutorrent/conf
+ mv /var/www/html/torrent/conf/access-swap.sh /var/www/html/torrent/conf/access.ini /var/www/html/torrent/conf/access_no /var/www/html/torrent/conf/access_yes /var/www/html/torrent/conf/config.php /var/www/html/torrent/conf/plugins.ini /var/www/html/torrent/conf/users /config/rutorrent/conf/
+ rm -rf /var/www/html/torrent/conf
+ ln -sf /config/rutorrent/conf /var/www/html/torrent/conf
+ '[' -d /config/custom_plugins/ ]
+ ls /config/custom_plugins/
+ '['  ]
+ '[' -d /config/custom_themes/ ]
+ ls /config/custom_themes/
+ '['  ]
+ sed -e 's|<RTORRENT_PORT>|6881|g' -e 's|<RTORRENT_DHT>|off|g' -i /home/torrent/.rtorrent.rc
+ f_log success 'Generate global configuration done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Generate global configuration done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:43:59] Generate global configuration done\n'
+ f_log info 'Configuration .rtorrent.rc ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Configuration .rtorrent.rc ...'
[�[1;32msuccess...�][01/08/2019 15:43:59] Generate global configuration done
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
[�[1;34minfo......�][01/08/2019 15:43:59] Configuration .rtorrent.rc ...
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] Configuration .rtorrent.rc ...\n'
+ '[' '!' -e /config/rtorrent/.rtorrent.rc ]
+ f_log info 'Generate .rtorrent.rc ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Generate .rtorrent.rc ...'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] Generate .rtorrent.rc ...\n'
+ mv /home/torrent/.rtorrent.rc /config/rtorrent/.rtorrent.rc
[�[1;34minfo......�][01/08/2019 15:43:59] Generate .rtorrent.rc ...
+ ln -sf /config/rtorrent/.rtorrent.rc /home/torrent/.rtorrent.rc
+ f_log success 'Generate .rtorrent.rc done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Generate .rtorrent.rc done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:43:59] Generate .rtorrent.rc done\n'
+ f_log success 'Configuration .rtorrent.rc done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Configuration .rtorrent.rc done'
[�[1;32msuccess...�][01/08/2019 15:43:59] Generate .rtorrent.rc done
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:43:59] Configuration .rtorrent.rc done\n'
+ f_log info 'Apply path initplugins ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Apply path initplugins ...'
[�[1;32msuccess...�][01/08/2019 15:43:59] Configuration .rtorrent.rc done
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
[�[1;34minfo......�][01/08/2019 15:43:59] Apply path initplugins ...
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] Apply path initplugins ...\n'
+ grep -qE ' /nginx/' /home/torrent/.rtorrent.rc
+ '[' 1 -eq 0 ]
+ f_log info 'Path initplugins already applied'
+ LOG_TYPE=info
+ LOG_MESSAGE='Path initplugins already applied'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
[�[1;34minfo......�][01/08/2019 15:43:59] Path initplugins already applied
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] Path initplugins already applied\n'
+ f_log info 'Install filebot ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Install filebot ...'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] Install filebot ...\n'
+ '[' -z  ]
+ DIRNAME=Media
+ '[' -z  ]
+ FILEBOT_EXCLUDE_FILE=/data/amc.excludes
+ touch /data/amc.excludes
[�[1;34minfo......�][01/08/2019 15:43:59] Install filebot ...
+ grep -qE 'method.set_key.*event.download.finished' /home/torrent/.rtorrent.rc
+ '[' 0 -ne 0 ]
+ grep -qE 'method.set_key.*event.download.erased' /home/torrent/.rtorrent.rc
+ '[' 0 -ne 0 ]
+ sed -e 's|<FILEBOT_MOVIES>|{plex}|' -e 's|<FILEBOT_METHOD>|duplicate|' -e 's|<FILEBOT_MUSICS>|{plex}|' -e 's|<FILEBOT_SERIES>|{plex}|' -e 's|<FILEBOT_ANIMES>|{plex}|' -e 's|<FILEBOT_DESSINS_ANIMES>|{plex.tail}|' -e 's|<FILEBOT_EXCLUDE_FILE>|/data/amc.excludes|' -e 's|<FILEBOT_LANG>|fr|' -e 's|<FILEBOT_CONFLICT>|auto|' -e 's|<DIRNAME>|Media|' -i /usr/local/bin/postdl
+ sed -e 's|<DIRNAME>|Media|' -i /usr/local/bin/postrm
+ chmod +x /usr/local/bin/postdl /usr/local/bin/postrm
+ f_log success 'Install filebot done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Install filebot done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
[�[1;32msuccess...�][01/08/2019 15:43:59] Install filebot done
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:43:59] Install filebot done\n'
+ f_log info 'License filebot ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='License filebot ...'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] License filebot ...\n'
+ '[' '!' -z  ]
+ f_log info 'Exec script after filebot ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Exec script after filebot ...'
[�[1;34minfo......�][01/08/2019 15:43:59] License filebot ...
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] Exec script after filebot ...\n'
+ '['  '=' yes ]
+ f_log info 'Exec script after filebot no'
+ LOG_TYPE=info
+ LOG_MESSAGE='Exec script after filebot no'
[�[1;34minfo......�][01/08/2019 15:43:59] Exec script after filebot ...
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
[�[1;34minfo......�][01/08/2019 15:43:59] Exec script after filebot no
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] Exec script after filebot no\n'
+ f_log info 'Install GeoIP2 files (country/city) ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Install GeoIP2 files (country/city) ...'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:43:59] Install GeoIP2 files (country/city) ...\n'
+ mkdir -p /usr/share/GeoIP /var/www/html/torrent/plugins/geoip2/database
[�[1;34minfo......�][01/08/2019 15:43:59] Install GeoIP2 files (country/city) ...
+ cd /usr/share/GeoIP
+ wget -q https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz -O GeoLite2-City.tar.gz
+ wget -q https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz -O GeoLite2-Country.tar.gz
+ tar -xzf GeoLite2-City.tar.gz
+ tar -xzf GeoLite2-Country.tar.gz
+ rm -f GeoLite2-City.tar.gz GeoLite2-Country.tar.gz
+ mv GeoLite2-City_20190730/GeoLite2-City.mmdb GeoLite2-Country_20190730/GeoLite2-Country.mmdb .
+ cp GeoLite2-City.mmdb GeoLite2-Country.mmdb /var/www/html/torrent/plugins/geoip2/database/
+ f_log success 'Install GeoIP files (country/city) done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Install GeoIP files (country/city) done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:44:02] Install GeoIP files (country/city) done\n'
+ f_log info 'Install plowshare ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Install plowshare ...'
[�[1;32msuccess...�][01/08/2019 15:44:02] Install GeoIP files (country/city) done
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
[�[1;34minfo......�][01/08/2019 15:44:02] Install plowshare ...
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:44:02] Install plowshare ...\n'
+ '[' -e /home/torrent/.config/plowshare ]
+ su-exc torrent:torrent plowod --install
+ res=127
+ '[[' 0 '==' 0 ]]
+ f_log success 'Install plowshare done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Install plowshare done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:44:02] Install plowshare done\n'
+ f_log info 'Apply default files permissions ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Apply default files permissions ...'
+ date '+%d/%m/%Y'
[�[1;32msuccess...�][01/08/2019 15:44:02] Install plowshare done
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:44:02] Apply default files permissions ...\n'
+ mkdir -p /run/nginx
[�[1;34minfo......�][01/08/2019 15:44:02] Apply default files permissions ...
+ mkdir -p /var/www
+ find /var/www '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ mkdir -p /home/torrent
+ find /home/torrent '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ mkdir -p /var/lib/nginx
+ find /var/lib/nginx '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ mkdir -p /etc/php7
+ find /etc/php7 '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ mkdir -p /etc/nginx
+ find /etc/nginx '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ mkdir -p /var/log/torrent
+ find /var/log/torrent '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ mkdir -p /var/run/torrent
+ find /var/run/torrent '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ mkdir -p /tmp
+ find /tmp '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ mkdir -p /config
+ find /config '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ mkdir -p /etc/supervisor
+ find /etc/supervisor '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ f_log success 'Apply default files permissions done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Apply default files permissions done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:44:02] Apply default files permissions done\n'
+ f_log info 'Apply filebot permissions ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Apply filebot permissions ...'
[�[1;32msuccess...�][01/08/2019 15:44:02] Apply default files permissions done
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:44:02] Apply filebot permissions ...\n'
+ chown torrent:torrent -R /filebot
[�[1;34minfo......�][01/08/2019 15:44:02] Apply filebot permissions ...
chown: unknown user/group torrent:torrent
+ f_log success 'Apply filebot permissions done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Apply filebot permissions done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:44:02] Apply filebot permissions done\n'
+ '['  '!=' yes ]
+ f_log info 'Apply medias/sessions permissions ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Apply medias/sessions permissions ...'
[�[1;32msuccess...�][01/08/2019 15:44:02] Apply filebot permissions done
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
[�[1;34minfo......�][01/08/2019 15:44:02] Apply medias/sessions permissions ...
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:44:02] Apply medias/sessions permissions ...\n'
+ find /data '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ find /plex '!' -user torrent -a '!' -group torrent -exec chown torrent:torrent '{}' ';'
find: ‘torrent’ is not the name of a known user
+ f_log success 'Apply medias/sessions permissions done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Apply medias/sessions permissions done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:44:02] Apply medias/sessions permissions done\n'
+ f_log info 'Create logs files stdout/stderr ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Create logs files stdout/stderr ...'
[�[1;32msuccess...�][01/08/2019 15:44:02] Apply medias/sessions permissions done
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:44:02] Create logs files stdout/stderr ...\n'
+ touch /tmp/stdout-filebot.log /tmp/stdout-supervisor.log /tmp/stdout-nginx.log /tmp/stderr-nginx.log /tmp/stdout-rtorrent.log /tmp/stderr-php-fpm.log
[�[1;34minfo......�][01/08/2019 15:44:02] Create logs files stdout/stderr ...
+ chown torrent:torrent /tmp/stderr-nginx.log /tmp/stderr-php-fpm.log /tmp/stdout-filebot.log /tmp/stdout-nginx.log /tmp/stdout-rtorrent.log /tmp/stdout-supervisor.log
chown: unknown user/group torrent:torrent
+ f_log success 'Create logs files stdout/stderr done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Create logs files stdout/stderr done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:44:02] Create logs files stdout/stderr done\n'
+ f_log info 'Remove rtorrent lock file ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Remove rtorrent lock file ...'
[�[1;32msuccess...�][01/08/2019 15:44:02] Create logs files stdout/stderr done
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:44:02] Remove rtorrent lock file ...\n'
+ '[' -e /data/.session/rtorrent.lock ]
[�[1;34minfo......�][01/08/2019 15:44:02] Remove rtorrent lock file ...
+ f_log success 'Remove rtorrent lock file done'
+ LOG_TYPE=success
+ LOG_MESSAGE='Remove rtorrent lock file done'
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
+ echo -ne '[\033[1;32msuccess...\033][01/08/2019 15:44:02] Remove rtorrent lock file done\n'
+ f_log info 'Starting services in progress ...'
+ LOG_TYPE=info
+ LOG_MESSAGE='Starting services in progress ...'
[�[1;32msuccess...�][01/08/2019 15:44:02] Remove rtorrent lock file done
+ date '+%d/%m/%Y'
+ date '+%H:%M:%S'
[�[1;34minfo......�][01/08/2019 15:44:02] Starting services in progress ...
+ echo -ne '[\033[1;34minfo......\033][01/08/2019 15:44:02] Starting services in progress ...\n'
+ '[' 3 -eq 0 ]
+ exec su-exec torrent:torrent /sbin/tini -s -- supervisord -c /etc/supervisor/supervisord.conf
+ exec su-exec torrent:torrent /sbin/tini -s -- tail -F /tmp/stderr-nginx.log /tmp/stderr-php-fpm.log /tmp/stdout-filebot.log /tmp/stdout-nginx.log /tmp/stdout-rtorrent.log /tmp/stdout-supervisor.log
==> /tmp/stderr-nginx.log <==
2019-08-01T15:44:02.596742302Z 
==> /tmp/stderr-php-fpm.log <==
2019-08-01T15:44:02.596747379Z 
==> /tmp/stdout-filebot.log <==
2019-08-01T15:44:02.596751622Z 
==> /tmp/stdout-nginx.log <==
2019-08-01T15:44:02.596755857Z 
==> /tmp/stdout-rtorrent.log <==
2019-08-01T15:44:02.596760119Z 
==> /tmp/stdout-supervisor.log <==
2019-08-01 15:44:02,729 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2019-08-01 15:44:02,731 INFO supervisord started with pid 142
2019-08-01 15:44:02,729 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2019-08-01 15:44:02,731 INFO supervisord started with pid 142
2019-08-01 15:44:03,734 INFO spawned: 'rtorrent' with pid 144
2019-08-01 15:44:03,736 INFO spawned: 'nginx' with pid 145
2019-08-01 15:44:03,740 INFO spawned: 'php7' with pid 146
2019-08-01 15:44:03,775 INFO exited: php7 (exit status 78; not expected)
2019-08-01T15:44:04.597194583Z 
==> /tmp/stderr-php-fpm.log <==
[01-Aug-2019 15:44:03] ALERT: [pool www] user has not been defined
[01-Aug-2019 15:44:03] ERROR: failed to post process the configuration
[01-Aug-2019 15:44:03] ERROR: FPM initialization failed
2019-08-01T15:44:04.597223892Z 
==> /tmp/stdout-supervisor.log <==
2019-08-01 15:44:03,734 INFO spawned: 'rtorrent' with pid 144
2019-08-01 15:44:03,736 INFO spawned: 'nginx' with pid 145
2019-08-01 15:44:03,740 INFO spawned: 'php7' with pid 146
2019-08-01 15:44:03,775 INFO exited: php7 (exit status 78; not expected)
2019-08-01 15:44:04,856 INFO success: rtorrent entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-08-01 15:44:04,856 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-08-01 15:44:04,857 INFO spawned: 'php7' with pid 163
2019-08-01 15:44:04,866 INFO exited: php7 (exit status 78; not expected)
2019-08-01T15:44:05.598554231Z 
==> /tmp/stderr-php-fpm.log <==
[01-Aug-2019 15:44:04] ALERT: [pool www] user has not been defined
[01-Aug-2019 15:44:04] ERROR: failed to post process the configuration
[01-Aug-2019 15:44:04] ERROR: FPM initialization failed
2019-08-01T15:44:05.598586340Z 
==> /tmp/stdout-supervisor.log <==
2019-08-01 15:44:04,856 INFO success: rtorrent entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-08-01 15:44:04,856 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-08-01 15:44:04,857 INFO spawned: 'php7' with pid 163
2019-08-01 15:44:04,866 INFO exited: php7 (exit status 78; not expected)
2019-08-01 15:44:07,006 INFO spawned: 'php7' with pid 164
2019-08-01 15:44:07,018 INFO exited: php7 (exit status 78; not expected)
2019-08-01T15:44:07.603085871Z 
==> /tmp/stderr-php-fpm.log <==
[01-Aug-2019 15:44:07] ALERT: [pool www] user has not been defined
[01-Aug-2019 15:44:07] ERROR: failed to post process the configuration
[01-Aug-2019 15:44:07] ERROR: FPM initialization failed
2019-08-01T15:44:07.603127766Z 
==> /tmp/stdout-supervisor.log <==
2019-08-01 15:44:07,006 INFO spawned: 'php7' with pid 164
2019-08-01 15:44:07,018 INFO exited: php7 (exit status 78; not expected)
2019-08-01 15:44:11,007 INFO spawned: 'php7' with pid 165
2019-08-01 15:44:11,019 INFO exited: php7 (exit status 78; not expected)
2019-08-01 15:44:11,053 INFO gave up: php7 entered FATAL state, too many start retries too quickly
2019-08-01T15:44:11.608436238Z 
==> /tmp/stderr-php-fpm.log <==
[01-Aug-2019 15:44:11] ALERT: [pool www] user has not been defined
[01-Aug-2019 15:44:11] ERROR: failed to post process the configuration
[01-Aug-2019 15:44:11] ERROR: FPM initialization failed
2019-08-01T15:44:11.608520192Z 
==> /tmp/stdout-supervisor.log <==
2019-08-01 15:44:11,007 INFO spawned: 'php7' with pid 165
2019-08-01 15:44:11,019 INFO exited: php7 (exit status 78; not expected)
2019-08-01 15:44:11,053 INFO gave up: php7 entered FATAL state, too many start retries too quickly

Add php module bcmath

From error:

[19.03.2020 10:14:18] geoip2: Certaines fonctionnalités ne seront pas disponibles. L'extension PHP doit être installée (bcmath).

Problem with GeoIP files

seedbox_1  | [info......][07/03/2020 11:42:34] Install GeoIP2 files (country/city) ...
seedbox_1  |
seedbox_1  | gzip: stdin: unexpected end of file
seedbox_1  | tar: Child returned status 1
seedbox_1  | tar: Error is not recoverable: exiting now
seedbox_1  |
seedbox_1  | gzip: stdin: unexpected end of file
seedbox_1  | tar: Child returned status 1
seedbox_1  | tar: Error is not recoverable: exiting now
seedbox_1  | mv: can't rename 'GeoLite2-*/*.mmdb': No such file or directory
seedbox_1  | cp: can't stat '*.mmdb': No such file or directory

getting filebot to run after download

Great project you have going here. I was looking for some help on how to get filebot to run after a file is downloaded. I didnt see anything in the .rtorrent.rc config. Just wondering if it should work out of the box or if you need to enable it.

Thanks

Fix packages vulnerabilities...

djerfy/rutorrent:latest (alpine 3.10.2)
=======================================
Total: 35 (UNKNOWN: 1, LOW: 5, MEDIUM: 18, HIGH: 5, CRITICAL: 6)

+---------------+------------------+----------+-------------------+---------------+---------------------------------------+
|    LIBRARY    | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION |                 TITLE                 |
+---------------+------------------+----------+-------------------+---------------+---------------------------------------+
| curl          | CVE-2019-5481    | HIGH     | 7.65.1-r0         | 7.66.0-r0     | curl: double free due to              |
|               |                  |          |                   |               | subsequent call of realloc()          |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-5482    |          |                   |               | curl: heap buffer overflow in         |
|               |                  |          |                   |               | function tftp_receive_packet()        |
+---------------+------------------+----------+-------------------+---------------+---------------------------------------+
| e2fsprogs     | CVE-2019-5094    | MEDIUM   | 1.45.2-r0         | 1.45.2-r1     | e2fsprogs: crafted                    |
|               |                  |          |                   |               | ext4 partition leads to               |
|               |                  |          |                   |               | out-of-bounds write                   |
+               +------------------+          +                   +---------------+---------------------------------------+
|               | CVE-2019-5188    |          |                   | 1.45.5-r0     | e2fsprogs: Out-of-bounds write        |
|               |                  |          |                   |               | in  e2fsck/rehash.c                   |
+---------------+------------------+----------+-------------------+---------------+---------------------------------------+
| file          | CVE-2019-18218   | HIGH     | 5.37-r0           | 5.37-r1       | file: heap-based                      |
|               |                  |          |                   |               | buffer overflow in                    |
|               |                  |          |                   |               | cdf_read_property_info in             |
|               |                  |          |                   |               | cdf.c                                 |
+               +------------------+----------+                   +               +---------------------------------------+
|               | CVE-2019-19218   | UNKNOWN  |                   |               |                                       |
+---------------+------------------+----------+-------------------+---------------+---------------------------------------+
| fribidi       | CVE-2019-18397   | MEDIUM   | 1.0.5-r1          | 1.0.5-r2      | fribidi: buffer overflow in           |
|               |                  |          |                   |               | fribidi_get_par_embedding_levels_ex() |
|               |                  |          |                   |               | in lib/fribidi-bidi.c leading to      |
|               |                  |          |                   |               | denial of service...                  |
+---------------+------------------+----------+-------------------+---------------+---------------------------------------+
| git           | CVE-2019-1349    | CRITICAL | 2.22.0-r0         | 2.22.2        | git: Recursive submodule              |
|               |                  |          |                   |               | cloning allows using                  |
|               |                  |          |                   |               | git directory twice with              |
|               |                  |          |                   |               | synonymous directory...               |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-1350    |          |                   |               | git: Incorrect quoting of             |
|               |                  |          |                   |               | command-line arguments allowed        |
|               |                  |          |                   |               | remote code execution during          |
|               |                  |          |                   |               | a...                                  |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-1352    |          |                   |               | git: Files inside the .git            |
|               |                  |          |                   |               | directory may be overwritten          |
|               |                  |          |                   |               | during cloning via...                 |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-1354    |          |                   |               | git: Git does not refuse to           |
|               |                  |          |                   |               | write out tracked files with          |
|               |                  |          |                   |               | backlashes...                         |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-19604   |          |                   |               | git: Recursive clone followed         |
|               |                  |          |                   |               | by a submodule update could           |
|               |                  |          |                   |               | execute code contained...             |
+               +------------------+----------+                   +               +---------------------------------------+
|               | CVE-2019-1353    | HIGH     |                   |               | git: NTFS protections inactive        |
|               |                  |          |                   |               | when running Git in the               |
|               |                  |          |                   |               | Windows Subsystem for...              |
+               +------------------+----------+                   +               +---------------------------------------+
|               | CVE-2019-1351    | MEDIUM   |                   |               | git: Git mistakes some paths          |
|               |                  |          |                   |               | for relative paths allowing           |
|               |                  |          |                   |               | writing outside of...                 |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-1387    |          |                   |               | git: Remote code execution in         |
|               |                  |          |                   |               | recursive clones with nested          |
|               |                  |          |                   |               | submodules                            |
+               +------------------+----------+                   +               +---------------------------------------+
|               | CVE-2019-1348    | LOW      |                   |               | git: Arbitrary path                   |
|               |                  |          |                   |               | overwriting via export-marks          |
|               |                  |          |                   |               | in-stream command feature             |
+---------------+------------------+----------+-------------------+---------------+---------------------------------------+
| libjpeg-turbo | CVE-2019-2201    | CRITICAL | 2.0.2-r0          | 2.0.3-r0      | libjpeg-turbo: several integer        |
|               |                  |          |                   |               | overflows and subsequent              |
|               |                  |          |                   |               | segfaults when attempting             |
|               |                  |          |                   |               | to compress/decompress                |
|               |                  |          |                   |               | gigapixel...                          |
+---------------+------------------+----------+-------------------+---------------+---------------------------------------+
| libxml2       | CVE-2019-19956   | MEDIUM   | 2.9.9-r2          | 2.9.9-r3      | libxml2: There's a memory leak in     |
|               |                  |          |                   |               | xmlParseBalancedChunkMemoryRecover    |
|               |                  |          |                   |               | in parser.c that could result...      |
+---------------+------------------+          +-------------------+---------------+---------------------------------------+
| nginx         | CVE-2019-20372   |          | 1.16.1-r0         | 1.16.1-r2     | nginx: HTTP request                   |
|               |                  |          |                   |               | smuggling via error pages in          |
|               |                  |          |                   |               | http/ngx_http_special_response.c      |
+---------------+------------------+          +-------------------+---------------+---------------------------------------+
| nss           | CVE-2019-11745   |          | 3.44-r0           | 3.44.3-r0     | nss: Out-of-bounds write              |
|               |                  |          |                   |               | when passing an output buffer         |
|               |                  |          |                   |               | smaller than the block...             |
+---------------+------------------+          +-------------------+---------------+---------------------------------------+
| openjdk8      | CVE-2019-2762    |          | 8.212.04-r1       | 8.222.10-r0   | OpenJDK: Insufficient checks          |
|               |                  |          |                   |               | of suppressed exceptions in           |
|               |                  |          |                   |               | deserialization (Utilities,           |
|               |                  |          |                   |               | 8212328)                              |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-2769    |          |                   |               | OpenJDK: Unbounded                    |
|               |                  |          |                   |               | memory allocation during              |
|               |                  |          |                   |               | deserialization in Collections        |
|               |                  |          |                   |               | (Utilities, 8213432)                  |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-2816    |          |                   |               | OpenJDK: Missing URL format           |
|               |                  |          |                   |               | validation (Networking,               |
|               |                  |          |                   |               | 8221518)                              |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-2842    |          |                   |               | OpenJDK: Missing array bounds         |
|               |                  |          |                   |               | check in crypto providers             |
|               |                  |          |                   |               | (JCE, 8223511)                        |
+               +------------------+----------+                   +               +---------------------------------------+
|               | CVE-2019-2745    | LOW      |                   |               | OpenJDK: Side-channel attack          |
|               |                  |          |                   |               | risks in Elliptic Curve               |
|               |                  |          |                   |               | (EC) cryptography (Security,          |
|               |                  |          |                   |               | 8208698)                              |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-2766    |          |                   |               | OpenJDK: Insufficient                 |
|               |                  |          |                   |               | permission checks for file://         |
|               |                  |          |                   |               | URLs on Windows (Networking,          |
|               |                  |          |                   |               | 8213431)                              |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-2786    |          |                   |               | OpenJDK: Insufficient                 |
|               |                  |          |                   |               | restriction of privileges in          |
|               |                  |          |                   |               | AccessController (Security,           |
|               |                  |          |                   |               | 8216381)                              |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-7317    |          |                   |               | libpng: use-after-free in             |
|               |                  |          |                   |               | png_image_free in png.c               |
+---------------+------------------+----------+-------------------+---------------+---------------------------------------+
| openssl       | CVE-2019-1551    | MEDIUM   | 1.1.1d-r0         | 1.1.1d-r2     | openssl: Integer overflow in          |
|               |                  |          |                   |               | RSAZ modular exponentiation on        |
|               |                  |          |                   |               | x86_64                                |
+---------------+------------------+----------+-------------------+---------------+---------------------------------------+
| php7          | CVE-2019-11043   | HIGH     | 7.3.9-r0          | 7.3.11-r0     | php: underflow in                     |
|               |                  |          |                   |               | env_path_info in fpm_main.c           |
+               +------------------+----------+                   +---------------+---------------------------------------+
|               | CVE-2019-11045   | MEDIUM   |                   | 7.3.13-r0     | php: PHP DirectoryIterator            |
|               |                  |          |                   |               | class accepts filenames with          |
|               |                  |          |                   |               | embedded \0 byte and treats...        |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-11047   |          |                   |               | php: information disclosure in        |
|               |                  |          |                   |               | exif_read_data()                      |
+               +------------------+          +                   +               +---------------------------------------+
|               | CVE-2019-11050   |          |                   |               | php: out-of-bounds read when          |
|               |                  |          |                   |               | parsing EXIF information              |
+---------------+------------------+          +-------------------+---------------+---------------------------------------+
| sqlite        | CVE-2019-16168   |          | 3.28.0-r0         | 3.28.0-r1     | sqlite: division by zero in           |
|               |                  |          |                   |               | whereLoopAddBtreeIndex in             |
|               |                  |          |                   |               | sqlite3.c                             |
+               +------------------+          +                   +---------------+---------------------------------------+
|               | CVE-2019-19242   |          |                   | 3.28.0-r2     | sqlite: SQL injection in              |
|               |                  |          |                   |               | sqlite3ExprCodeTarget in              |
|               |                  |          |                   |               | expr.c                                |
+---------------+------------------+----------+-------------------+---------------+---------------------------------------+

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.