- Modifié
martinbouillaud Tu peux nous envoyer ton log d'installation présent dans ../RuFy/log ?
martinbouillaud Tu peux nous envoyer ton log d'installation présent dans ../RuFy/log ?
Voici : install.log
C'est dommage qu'il n'y ai aucune gestion des erreurs dans le script d'install.. Je vais essayer de m'y pencher quand j'aurai le temps. Mais pour ce qui est de ces erreurs, je ne comprends pas.
Merci pour le partage.
LuffyyffuL j'ai envoyé les log
martinbouillaud Humm, je ne vois pas trop, on dirait que l'installe ne s'est pas faite correctement ^^
Je trouve la ligne suivante bizarre :
./RuFy/install.sh: 124: ./RuFy/install.sh: source: not found
Quand tu vas dans le dossier "RuFy" et que tu lances le script "./install.sh", ça donne la même chose ?
martinbouillaud Humm, si tu essais de lancer les commandes du script une par une :
apt-get install -y aptitude
aptitude install -y python2.7
aptitude install -y python-virtualenv
aptitude install -y python-dev
aptitude install -y supervisor
As-tu des erreurs lors de l'installation de ces paquets ?
LuffyyffuL Merci pour ton aide !!
Aucune erreur lors du passage des commandes à la main :
Je commence à avoir une erreur pour la commande pip install -r requirements.txt :
Bon ! J'ai réussi à tout installer a la mano, supervisorctl start rufy fonctionne correctement, mais je n'ai pas le fichier /var/www/RuFy/run/gunicorn.sock. J'ai vérifié le script gunicorn_start mais je ne vois pas d'ou peut venir le problème..
martinbouillaud Bonne nouvelle
De mon côté le fichier "gunicorn.sock" est aussi absent du dossier "RuFy/run".
LuffyyffuL Aaahahhhhhhh fonctionnel !!
Petite erreur 500 lorsque j'essaye d'accéder à la config Rutorrent mais je vais aller fouiller les logs un peu.
martinbouillaud Dans ma config nginx je n'utilise pas le fichier "gunicorn.sock" :
##########
## RuFy ##
location ^~ /rufy/static {
satisfy any;
allow all;
alias /var/www/RuFy/static/;
}
location ^~ /rufy/media {
satisfy any;
allow all;
alias /var/www/RuFy/media/;
}
location ^~ /rufy {
access_log /var/log/nginx/NGINX_SITE_ACCESS--RuFy.log;
error_log /var/log/nginx/NGINX_SITE_ERROR--RuFy.log;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache_utilisateurs.conf;
satisfy any;
allow all;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
if (!-f $request_filename) {
proxy_pass http:/127.0.0.1:9999;
break;
}
}
LuffyyffuL Et pour l'erreur 500 sur le /config/rutorrent/ une idée ? J'ai rien dans les logs ..
martinbouillaud Je ne sais pas, si tu veux tu peux comparer avec ma config nginx pour rutorrent :
###############
## rutorrent ##
location ^~ /rutorrent {
root /var/www;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/antho";
access_log /var/log/nginx/NGINX_SITE_ACCESS--rutorrent.log;
error_log /var/log/nginx/NGINX_SITE_ERROR--rutorrent.log;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache_utilisateurs.conf;
location ~ /\.svn {
deny all;
}
location ~ /\.ht {
deny all;
}
}
location /rutorrent/RPC2 {
include scgi_params;
scgi_pass 127.0.0.1:5000;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/antho";
}
location ^~ /rutorrent/conf/ {
deny all;
}
location ^~ /rutorrent/share/ {
deny all;
}
Bonjour à tous ,
J'ai installé RUFY, j'accède a l interface, je lance le téléchargement du fichier. Tout à l'air de fonctioner correctement sauf que le fichier demandé sur t411 ne se télécharge pas.
Dans le dossier de destination du téléchargement , je vois uniquement un fichier .torrent apparaitre.
Pouvez-vous me dire ou je me suis planté
Merci pour votre aide,
Mickael
Je n arrive toujours pas a faire démarrer mon téléchargement.
Le fichier torrent se télécharge bien dans mon dossier watch pourtant.
Je n ai aucun erreur sur l interface RUFY .
j ai fais :
chown bitoflan59:web /home/bitoflan59/watch
chmod g+w /home/bitoflan59/watch
Pouvez-vous me dire ou y a une erreur dans mon fichier ngninx ?
Merci pour votre aide.
Mickael
upstream rufy_server {
server unix:/var/www/RuFy/run/gunicorn.sock fail_timeout=0;
}
server {
listen 80 default_server;
listen 443 default_server ssl http2;
server_name _;
index index.html index.php;
charset utf-8;
client_max_body_size 10M;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
include /etc/nginx/conf.d/ciphers.conf;
access_log /var/log/nginx/rutorrent-access.log combined;
error_log /var/log/nginx/rutorrent-error.log error;
error_page 500 502 503 504 /50x.html;
location = /50x.html { root /usr/share/nginx/html; }
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
location = /favicon.ico {
access_log off;
log_not_found off;
}
## début config accueil serveur ##
location ^~ / {
root /var/www/base;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
satisfy any;
allow all;
}
## fin config accueil serveur ##
## début config rutorrent ##
location ^~ /rutorrent {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
location ~ /\.svn {
deny all;
}
location ~ /\.ht {
deny all;
}
}
location ^~ /rutorrent/conf/ {
deny all;
}
location ^~ /rutorrent/share/ {
deny all;
}
## fin config rutorrent ##
location ^~/rufy/static {
satisfy any;
allow all;
alias /var/www/RuFy/static/;
}
location ^~/rufy/media {
satisfy any;
allow all;
alias /var/www/RuFy/media/;
}
location ^~/rufy {
satisfy any;
allow all;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
if (!-f $request_filename) {
proxy_pass http://127.0.0.1:8000;
break;
}
}
## fin config rufy ##
## début config munin ##
location ^~ /graph {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
location ^~ /graph/img {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
error_log /dev/null crit;
}
location ^~ /monitoring {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
auth_basic "Monitoring";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_bitoflan59";
}
location ^~ /nginx_status {
stub_status on;
access_log off;
satisfy any;
allow 127.0.0.1;
deny all;
}
## fin config munin ##
## début config seedbox-manager ##
location ^~ /seedbox-manager {
alias /var/www/seedbox-manager/public;
include /etc/nginx/conf.d/php-manager.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config seedbox-manager ##
## config utilisateurs ##
location /BITOFLAN59 {
include scgi_params;
scgi_pass 127.0.0.1:5001;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_bitoflan59";
}
}
Hello ! A nouveau, Rufy depuis ce matin me colle une erreur 500 lorsque je m'identifie.
En passant en mode debug (comme indiqué plus haut), voici la sortie:
<>
ValueError at /rufy/connexion
No JSON object could be decoded
Request Method: POST
Request URL: http://*******/rufy/connexion
Django Version: 1.9.4
Exception Type: ValueError
Exception Value:
No JSON object could be decoded
Exception Location: /usr/lib/python2.7/json/decoder.py in raw_decode, line 384
Python Executable: /var/www/RuFy/venv/bin/python2.7
Python Version: 2.7.9
Python Path:
['/var/www/RuFy',
'/var/www/RuFy/venv/bin',
'/var/www/RuFy',
'/var/www/RuFy/venv/lib/python2.7',
'/var/www/RuFy/venv/lib/python2.7/plat-x86_64-linux-gnu',
'/var/www/RuFy/venv/lib/python2.7/lib-tk',
'/var/www/RuFy/venv/lib/python2.7/lib-old',
'/var/www/RuFy/venv/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/var/www/RuFy/venv/local/lib/python2.7/site-packages']
Server time: lun, 27 Mar 2017 15:37:49 +0000
Comment réparer ?
Yop all,
moi aussi j'ai une 500 depuis ce matin, je pense que ça vient du fait que t411 est passé de ".li" à ".ai" du coup ça doit faire planer l'api.
@Cyprien si jamais tu avais quelques minutes pour modifier les url de rufy ?
Merci !
Salut,
Il suffit de trouver la ligne:
API_URL = 'http://api.t411.li/%s'
et la changer en:
API_URL = 'http://api.t411.ai/%s'
dans "/var/www/RuFy/t411/models.py"