Salut RyukaZ,

poste tes fichiers de logs stp.

/var/log/nginx pour le chemin.
nadrelaxe wrote:Salut RyukaZ,

poste tes fichiers de logs stp.

/var/log/nginx pour le chemin.
Je t'ai envoyé un mp pour éviter de poluer le topic ^^
RyukaZ wrote:Je t'ai envoyé un mp pour éviter de poluer le topic ^^
Tu pollues pas vraiment, et cela pourrait etre utile pour d'autres qui ont le même problème que toi.

Bref, poste tes logs error pour cakebox et rutorrent ici.
5 jours plus tard
Bonjour à tous, tout d'abord merci à vous pour ces excellents tutos, grâce a vous j'ai pris un dédié pour y installer rutorrent et le reste, maintenant j'aimerais installer cakebox en complément de plex mais j'ai un problème.
Erreur 500 quand j'accède a cakebox, j'ai passé en revu mes fichiers de config, essayé d’appeler cakebox en direct sur le port 81 (sans le allow from 127.0.0.1 et le deny from all) mais rien n'y fait...Toujours cette erreur 500.

Voici mes fichiers de config :

rutorrent.conf
server {
	
	##tuxadd ssl
	listen 443 ssl;
    	server_name mondomaine.ovh;
    	ssl_certificate /etc/letsencrypt/live/mondomaine.ovh/fullchain.pem;
    	ssl_certificate_key /etc/letsencrypt/live/mondomaine.ovh/privkey.pem;	
	##/tuxaddssl

#	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;
	    deny all;
	}

	## fin config accueil serveur ##

	## début config proxy ##

	location ^~ /proxy {
	    root /var/www;
	    include /etc/nginx/conf.d/php.conf;
	    include /etc/nginx/conf.d/cache.conf;
	}

	## fin config proxy ##

    ## debut config cakebox-light ##
 
   location /cakebox/ {
        rewrite ^/cakebox(/.*)$ $1 break;
        proxy_pass http://127.0.0.1:81;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_redirect off;
    }

    location /cakebox/mrtux/ {
        alias /home/mrtux/torrents/;
        add_header Content-Disposition "attachment";
        satisfy any;
        allow all;
    }
     
    

    ## etc si d'autre utilisateur ##

    ## fin config cakebox-light ##

	## 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 ##

	## 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;
	}

	## 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 ##

## Ajout de mr.tux ##

	# Ca partage le dossier torrents et ca l'indexe
	location /torrents {
			root /home/mrtux;
			autoindex on;
		}

	# Ca sa active un reverse proxy depuis le serveur plex vers le dossier /plex sur le port 443
	location /plex {
			proxy_pass http://127.0.0.1:32400/web;
		}

## Fin d'ajout mr.tux ##

        ## config utilisateurs  ##

        location /MRTUX {
            include scgi_params;
            scgi_pass 127.0.0.1:5001; #ou socket : unix:/home/username/.session/username.socket
            auth_basic "seedbox";
            auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_mrtux";
        }
}
cakebox.conf
server {
    listen 81;
    server_name _;

    root /var/www/cakebox/public;
    index index.php;

    allow 127.0.0.1; # only the proxy
    deny all;

    charset utf-8;
    include /etc/nginx/conf.d/cache.conf;

    access_log /var/log/nginx/cakebox-access.log;
    error_log /var/log/nginx/cakebox-error.log;

    location = / {
        try_files @site @site;
    }

    location / {
        try_files $uri $uri/ @site;
    }

    location ~ \.php$ {
        return 404;
    }

    location @site {
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root/index.php;
        fastcgi_param APPLICATION_ENV production;
        ## uncomment when running via https
        ## fastcgi_param HTTPS on;
    }
}

error.log
2016/01/10 20:27:18 [emerg] 15415#15415: open() "/etc/nginx/cakebox.conf" failed (2: No such file or directory)
2016/01/10 20:27:41 [emerg] 15421#15421: open() "/etc/nginx/rutorrent.conf" failed (2: No such file or directory)
2016/01/10 20:27:50 [emerg] 15424#15424: open() "/etc/nginx/./cakebox.conf" failed (2: No such file or directory)
2016/01/10 20:28:12 [emerg] 15473#15473: "server" directive is not allowed here in /etc/nginx/sites-enabled/cakebox.conf:1
2016/01/10 20:28:38 [emerg] 15479#15479: "server" directive is not allowed here in /etc/nginx/sites-enabled/rutorrent.conf:1
root@ns3303150:/var/log/nginx#
cat cakebox-error.log
2016/01/09 20:05:12 [error] 7629#7629: *738 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/09 20:05:20 [error] 7629#7629: *741 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/09 20:05:24 [error] 7629#7629: *745 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/09 20:06:42 [error] 7627#7627: *834 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/09 20:11:21 [error] 7627#7627: *888 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/09 20:13:14 [error] 7627#7627: *901 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /mrtux HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/09 20:13:29 [error] 7627#7627: *906 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/09 20:13:35 [error] 7627#7627: *909 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/10 20:10:56 [error] 7629#7629: *3666 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/10 20:11:48 [error] 7625#7625: *3714 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "127.0.0.1:81"
2016/01/10 20:12:51 [error] 7625#7625: *3771 access forbidden by rule, client: 5.xxx.159.xx, server: _, request: "GET / HTTP/1.1", host: "mondomaine.ovh:81"
2016/01/10 20:13:41 [error] 7625#7625: *3799 access forbidden by rule, client: 5.xxx.159.xx, server: _, request: "GET / HTTP/1.1", host: "mondomaine.ovh:81"
2016/01/10 20:13:58 [error] 7625#7625: *3802 access forbidden by rule, client: 5.xxx.159.xx, server: _, request: "GET / HTTP/1.1", host: "5.xxx.159.xx:81"
2016/01/10 20:14:07 [error] 7625#7625: *3804 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "127.0.0.1:81"
2016/01/10 20:17:37 [error] 13416#13416: *33 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 85.xxx.244.xx, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "5.xxx.159.xx:81"
2016/01/10 20:17:47 [error] 13416#13416: *33 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 85.xxx.244.xx, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "5.xxx.159.xx:81"
2016/01/10 20:22:09 [error] 13416#13416: *60 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 85.xxx.244.xx, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "5.xxx.159.xx:81"
2016/01/10 20:25:02 [error] 14627#14627: *3 access forbidden by rule, client: 85.xxx.244.xx, server: _, request: "GET / HTTP/1.1", host: "5.xxx.159.xx:81"
2016/01/10 20:25:02 [error] 14627#14627: *3 access forbidden by rule, client: 85.xxx.244.xx, server: _, request: "GET /favicon.ico HTTP/1.1", host: "5.xxx.159.xx:81", referrer: "http://5.xxx.159.xx:81/"
2016/01/10 20:25:23 [error] 14627#14627: *7 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/10 21:24:08 [error] 25489#25489: *16 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/10 21:24:14 [error] 25489#25489: *20 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /mrtux HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/10 21:24:20 [error] 25489#25489: *23 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /mrtux HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
2016/01/10 21:24:21 [error] 25489#25489: *27 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/cakebox/app/../config/default.php): failed to open stream: No such file or directory in /var/www/cakebox/app/bootstrap.php on line 28
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/cakebox/app/../config/default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cakebox/app/bootstrap.php on line 28" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /mrtuxl HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh"
Si quelqu'un a une idée ça serait sympa !

EDIT : Cetter erreur à été résolue, c'était du a mon fichier de config qui n'avait pas le bon nom tout simplement, mais maintenant j'en ai une autre cette fois je vois bien l'interface mais lorsque je veux lire un fichier c'est impossible et lorque je veux le téléchargé une erreur 404 apparait et le lien pointe vers
https://mondomaine.ovh/access//monfichier.pdf

J'ai beau passer en revue les fichiers de config je ne vois pas se qui cloche.
HELP !
Bonjour,
J'ai ma seedbox qui tourne correctement depuis quelque temps mais j'ai jamais réussi à faire fonctionner cakebox. Je viens de me refaire tout le tuto mais j'ai toujours la même erreur :
cakebox erreur

J'ai vu dans les premières pages de ce post que d’autre ont eu ce problème et qu'il l'ont résolut mais la solution n'est pas cité.

Ça ne doit pas être grand chose mais vu mon ignorance en la matière je rame.

Je vous met mes fichiers :

/var/www/cakebox/config/khobal.php (mon user principal)
<?php

/*
  General configuration of Cakebox
*/
$app["cakebox.root"] = "/home/khobal/torrents/"; // Root directory Cakebox have to scan
$app["cakebox.access"] = "/cakebox/khobal/"; // Alias used in web server for direct access
$app["cakebox.language"] = "fr"; //Language of Cakebox. Could be : fr, en

/*
  Directory settings
*/
$app["directory.ignoreDotFiles"] = false;
$app["directory.ignore"] = "//"; // Regex for files exclusion. For exemple : "/(\.nfo|\.test)$/"

/*
  Web player settings
*/
$app["player.default_type"] = "html5"; // html5 or divx or vlc
$app["player.auto_play"] = "false";

/*
  User rights
*/
$app["rights.canPlayMedia"] = true;
$app["rights.canDownloadFile"] = true;
$app["rights.canArchiveDirectory"] = true;
$app["rights.canDelete"] = true;

/*
  Betaseries account
  NB: Ask API key here http://www.betaseries.com/api/
*/
$app["bs.login"] = "";
$app["bs.passwd"] = "";
$app["bs.apikey"] = "";
/etc/nginx/sites-enabled/cakebox.conf
server {
    listen 81;
    server_name _;

    root /var/www/cakebox/public;
    index index.php;

    allow 127.0.0.1; # only the proxy
    deny all;

    charset utf-8;
    include /etc/nginx/conf.d/cache.conf;

    access_log /var/log/nginx/cakebox-access.log;
    error_log /var/log/nginx/cakebox-error.log;

    location = / {
        try_files @site @site;
    }

    location / {
        try_files $uri $uri/ @site;
    }

    location ~ \.php$ {
        return 404;
    }

    location @site {
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root/index.php;
        fastcgi_param APPLICATION_ENV production;
        ## uncomment when running via https
        ## fastcgi_param HTTPS on;
    }
}
/etc/nginx/sites-enabled/default.conf
server {
    listen 80 default_server;
    listen 443 default_server ssl;
    server_name _;

    charset utf-8;
    index index.html index.php;
    client_max_body_size 10M;

    ssl_certificate /etc/nginx/ssl/server.crt;
    ssl_certificate_key /etc/nginx/ssl/server.key;

    root /var/www/;
    include /etc/nginx/conf.d/php.conf;
    include /etc/nginx/conf.d/cache.conf;


    error_page 500 502 503 504 /50x.html;
    location = /50x.html { root /usr/share/nginx/html; }

    location = /favicon.ico {
        access_log off;
        log_not_found off;
    }

    ## debut config rutorrent ##

    location ^~/rutorrent {
	include /etc/nginx/conf.d/php.conf;
	include /etc/nginx/conf.d/cache.conf;
        access_log /var/log/nginx/rutorrent-access.log combined;
        error_log /var/log/nginx/rutorrent-error.log error;
        auth_basic "seedbox";
        auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
    }
    location ^~/rutorrent/.*\.svn {
               deny all;
    }

    location ^~/rutorrent/.*\.ht {
                deny all;
    }
    
    location ^~/rutorrent/.*\.(jpg|jpeg|gif|css|png|js|map|woff|woff2|ttf|svg|eot)$ {
                expires 30d;
                access_log off;
    }

    location ^~/rutorrent/conf/ {
        deny all;
    }

    location ^~/rutorrent/share/ {
        deny all;
    }

    location /KHOBAL {
        include scgi_params;
        scgi_pass 127.0.0.1:5001;
        auth_basic "seedbox";
        auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_khobal";
    }

    location /WOLVIE {
        include scgi_params;
        scgi_pass 127.0.0.1:5002;
        auth_basic "seedbox";
        auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_wolvie";
    }

    location /TOUFFIC {
        include scgi_params;
        scgi_pass 127.0.0.1:5003;
        auth_basic "seedbox";
        auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_touffic";
    }

    location /MIKLNET {
        include scgi_params;
        scgi_pass 127.0.0.1:5004;
        auth_basic "seedbox";
        auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_miklnet";
    }
    ## fin config rutorrent ##

    ## 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 ##

## debut config cakebox-light ##
 
   location /cakebox/ {
        rewrite ^/cakebox(/.*)$ $1 break;
        proxy_pass http://127.0.0.1:81;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_redirect off;
    }

    location /cakebox/khobal/ {
        alias /home/khobal/torrents/;
        add_header Content-Disposition "attachment";
        satisfy any;
        allow all;
    }

    location /cakebox/wolvie/ {
        alias /home/wolvie/torrents/;
        add_header Content-Disposition "attachment";
        satisfy any;
        allow all;
    }

    location /cakebox/touffic/ {
        alias /home/touffic/torrents/;
        add_header Content-Disposition "attachment";
        satisfy any;
        allow all;
    }

    location /cakebox/miklnet/ {
        alias /home/miklnet/torrents/;
        add_header Content-Disposition "attachment";
        satisfy any;
        allow all;
    }

    ## fin config cakebox-light ##

    location ~ \.php {
    fastcgi_split_path_info ^(.+?\.php)(/.*)$;
    if (!-e $document_root$fastcgi_script_name) {
        return 404;
    }
    fastcgi_pass  unix:/var/run/php5-fpm.sock;
    include fastcgi.conf;
    }
}
Je suis preneur de toute idée.

Merci d'avance.
6 jours plus tard
Hello,

Pour info, pour ceux qui ont un soucis lors de l'install de composer au tout début du tuto, rechercher la variable "memory_limit" sous /etc/php5/cli/php.ini et vérifiez que l'unité est bien en M et non pas en MB.
moi j'arrive bien à l'installer par contre j'ai bien l'image qui est streamer mais pas de son le haut-parleur reste barré.
kris06800 wrote:moi j'arrive bien à l'installer par contre j'ai bien l'image qui est streamer mais pas de son le haut-parleur reste barré.
Alors à priori ça c'est pas un soucis de Cakebox, mais du html5 et de ses limitations - je suppose que tu lis en html5 ?
(Sinon oublie ce que je viens d'écrire 😛)
lokiii wrote:Alors à priori ça c'est pas un soucis de Cakebox, mais du html5 et de ses limitations - je suppose que tu lis en html5 ?
(Sinon oublie ce que je viens d'écrire 😛)
oui html5 les autres les plugin ne sont plus compatible avec chrome...
kris06800 wrote: oui html5 les autres les plugin ne sont plus compatible avec chrome...
Effectivement, ils ne sont plus accessibles depuis Chrome depuis l'arrêt de NPAPI, par contre tu peux toujours utiliser les plugins VLC et Divx Web depuis firefox dernière version, pas de soucis.
Pour info j'ai la meme erreur que @Khobal et quand je relance
bower install --allow-root
J'ai a la fin:
bower angular#~1.2.19                                       ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/angular/bower-angular.git", exit code of #128 fatal: unable to connect to github.com: github.com[0: 192.30.252.128]: errno=Connexion terminée par expiration du délai d'attente
[RESOLU]

Bonjour tout le monde,

Merci pour votre contribution.

J’ai installé rtorrent en utilisant ce tuto : https://mondedie.fr/d/5399

Puis j’ai installé cakebox avec ce tuto : https://mondedie.fr/d/5314

Tout d’abord j’ai rencontré ce problème lors du téléchargement du composer.phar, ca me l’a fait plus d’une fois.
Quelqu’un aurait une explication ?
root@xxxx:~# cd /tmp/
root@xxxx:/tmp# curl -s http://getcomposer.org/installer | php
All settings correct for using Composer
Downloading...
Download failed: file_get_contents(https://getcomposer.org/composer.phar.sig): failed to open stream: Connection timed out
Download failed: file_get_contents(https://getcomposer.org/composer.phar.sig): failed to open stream: Connection timed out
file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: Connection timed out
Downloading...
Download failed: file_get_contents(https://getcomposer.org/composer.phar.sig): failed to open stream: Connection timed out
Download failed: file_get_contents(https://getcomposer.org/composer.phar.sig): failed to open stream: Connection timed out
file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: Connection timed out
Downloading...
Download failed: file_get_contents(https://getcomposer.org/composer.phar.sig): failed to open stream: Connection timed out
Download failed: file_get_contents(https://getcomposer.org/composer.phar.sig): failed to open stream: Connection timed out
file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: Connection timed out
The download failed repeatedly, aborting.
root@xxxx:/tmp# curl -s http://getcomposer.org/installer | php
All settings correct for using Composer
Downloading...

Composer successfully installed to: /tmp/composer.phar
Use it: php composer.phar
root@xxxx:/tmp# mv /tmp/composer.phar /usr/bin/composer
Une fois le tuto fini j’arrive à accéder à la cakebox (URL: http://x.x.x.x/cakebox/index.html#/), je vois bien mes fichiers et dossiers. Une fois que je clique sur un fichier vidéo, je vois bien le lecteur, mais impossible de le visionner. (URL: http://x.x.x.x/cakebox/index.html#/play/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv).
Et impossible de la télécharger j’ai une erreur 404 Not Found nginx (URL : http://x.x.x.x/cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv).

J'ai fait quelques vérifications :

Fichier user.php
cat /var/www/cakebox/config/maelys09.php
<?php

/*
  General configuration of Cakebox
*/
$app["cakebox.root"] = "/home/maelys09/torrents/"; // Root directory Cakebox have to scan
$app["cakebox.access"] = "/cakebox/maelys09/"; // Alias used in web server for direct access
$app["cakebox.language"] = "fr"; //Language of Cakebox. Could be : fr, en

/*
  Directory settings
*/
$app["directory.ignoreDotFiles"] = false;
$app["directory.ignore"] = "//"; // Regex for files exclusion. For exemple : "/(\.nfo|\.test)$/"

/*
  Web player settings
*/
$app["player.default_type"] = "html5"; // html5 or divx or vlc
$app["player.auto_play"] = "false";

/*
  Betaseries account
  NB: Ask API key here http://www.betaseries.com/api/
*/
$app["bs.login"] = "";
$app["bs.passwd"] = "";
$app["bs.apikey"] = "";

$app["rights.canPlayMedia"] = true;
$app["rights.canDownloadFile"] = true;
$app["rights.canArchiveDirectory"] = true;
$app["rights.canDelete"] = true;
Fichier file_torrent.sh
cat /home/maelys09/.session/file_torrent.sh
#!/bin/bash

# mise à jour des chmod et du groupe.
# chmod 775 pour les dossiers et chmod 664 pour les fichiers (obligatoire)
find /home/$USER/torrents ! -group web -type f -exec chmod 664 {} \;
find /home/$USER/torrents ! -group web -type d -exec chmod 775 {} \;
find /home/$USER/torrents ! -group web -exec chown $USER:web {} \;

exit 0
Fichier .rtorrent.rc
cat /home/maelys09/.rtorrent.rc
scgi_port = 127.0.0.1:5001
encoding_list = UTF-8
port_range = 45000-65000
port_random = no
check_hash = no
directory = /home/maelys09/torrents
session = /home/maelys09/.session
encryption = allow_incoming, try_outgoing, enable_retry
schedule = watch_directory,1,1,"load_start=/home/maelys09/watch/*.torrent"
schedule = untied_directory,5,5,"stop_untied=/home/maelys09/watch/*.torrent"
schedule = espace_disque_insuffisant,1,30,close_low_diskspace=500M
use_udp_trackers = yes
dht = off
peer_exchange = no
min_peers = 40
max_peers = 100
min_peers_seed = 10
max_peers_seed = 50
max_uploads = 15
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php maelys09 &}
system.method.set_key = event.download.finished,update_file,"execute=/home/maelys09/.session/file_torrent.sh"
system.method.set_key = event.download.finished,update_file,"execute=/home/maelys09/.session/file_torrent.sh"
system.method.set_key = event.download.finished,update_file,"execute=/home/maelys09/.session/file_torrent.sh"
system.method.set_key = event.download.finished,update_file,"execute=/home/maelys09/.session/file_torrent.sh"
Fichier cakebox-error.log
cat /var/log/nginx/cakebox-error.log
vide
Fichier cakebox-access.log
cat /var/log/nginx/cakebox-access.log
127.0.0.1 - maelys09 [22/Jan/2016:19:50:33 +0100] "GET /api/directories?path= HTTP/1.0" 200 1641 "http://x.x.x.x/cakebox/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0"
127.0.0.1 - maelys09 [22/Jan/2016:19:50:35 +0100] "GET /api/player HTTP/1.0" 200 209 "http://x.x.x.x/cakebox/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0"
127.0.0.1 - maelys09 [22/Jan/2016:19:50:35 +0100] "GET /api/betaseries/config HTTP/1.0" 200 45 "http://x.x.x.x/cakebox/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0"
127.0.0.1 - maelys09 [22/Jan/2016:19:50:35 +0100] "GET /api/files?path=Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv HTTP/1.0" 200 305 "http://x.x.x.x/cakebox/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0"
Toutes les commandes ont été réalisé en root.

Merci d'avance pour votre aide.

Edit pour nadrelaxe :

Fichier rutorrent-error.log :
cat /var/log/nginx/rutorrent-error.log
2016/01/22 08:57:38 [error] 15775#15775: *339 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 187.189.195.40, server: _, request: "HEAD /a2billing/customer/iridium_threed.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "x.x.x.x"
2016/01/22 09:05:11 [error] 15775#15775: *343 open() "/var/www/base/script" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /script HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:19 [error] 15775#15775: *345 open() "/var/www/base/jenkins/script" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /jenkins/script HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:26 [error] 15775#15775: *347 open() "/var/www/base/login" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /login HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:35 [error] 15775#15775: *349 open() "/var/www/base/jmx-console" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /jmx-console HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:42 [error] 15775#15775: *351 open() "/var/www/base/manager/html" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /manager/html HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:50 [error] 15775#15775: *353 open() "/var/www/base/msd" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /msd HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:56 [error] 15775#15775: *355 open() "/var/www/base/mySqlDumper" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /mySqlDumper HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:05 [error] 15775#15775: *357 open() "/var/www/base/msd1.24stable" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /msd1.24stable HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:12 [error] 15775#15775: *359 open() "/var/www/base/msd1.24.4" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /msd1.24.4 HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:18 [error] 15775#15775: *361 open() "/var/www/base/mysqldumper" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /mysqldumper HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:24 [error] 15775#15775: *363 open() "/var/www/base/MySQLDumper" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /MySQLDumper HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:30 [error] 15775#15775: *365 open() "/var/www/base/mysql" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /mysql HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:37 [error] 15775#15775: *367 open() "/var/www/base/sql" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /sql HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:43 [error] 15775#15775: *369 open() "/var/www/base/phpmyadmin" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /phpmyadmin HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:49 [error] 15775#15775: *371 open() "/var/www/base/phpMyAdmin" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /phpMyAdmin HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 10:39:33 [error] 15775#15775: *389 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 95.213.177.122, server: _, request: "POST http://check.proxyradar.com/azenv.php?auth=145345556969&a=PSCMN&i=86465884&p=80 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "check.proxyradar.com", referrer: "https://proxyradar.com/"
2016/01/22 14:44:43 [error] 15775#15775: *394 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: x.x.x.x, server: _, request: "POST http://check.proxyradar.com/azenv.php?auth=145347027941&a=PSCMN&i=86465884&p=80 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "check.proxyradar.com", referrer: "https://proxyradar.com/"
2016/01/22 18:16:05 [error] 15775#15775: *396 open() "/var/www/base/manager/html" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /manager/html HTTP/1.1", host: "x.x.x.x"
2016/01/22 19:01:06 [error] 15775#15775: *449 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: x.x.x.x, server: _, request: "POST http://check.proxyradar.com/azenv.php?auth=145348566265&a=PSCMN&i=86465884&p=80 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "check.proxyradar.com", referrer: "https://proxyradar.com/"
2016/01/22 19:13:56 [error] 15775#15775: *521 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:13:57 [error] 15775#15775: *521 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:39:36 [error] 15775#15775: *626 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:39:37 [error] 15775#15775: *626 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:45:07 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:45:09 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:49:59 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: http://x.x.x.x/cakebox/index.html
2016/01/22 19:50:35 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:50:37 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 21:38:11 [error] 15776#15776: *1454 open() "/var/www/base/clientaccesspolicy.xml" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /clientaccesspolicy.xml HTTP/1.1", host: "x.x.x.x"
J'ai pu remarquer une erreur de frappe "maelys009" au lieu de "maelys09":
2016/01/22 19:50:37 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
Mais je ne sais pas quel fichier il faut modifier.

[SOLUTION]

Edit : faute de frappe dans le fichier rutorrent.conf (Un grand merci à Jedediah).
nano /etc/nginx/sites-enabled/rutorrent.conf
Bonsoir,

Regarde bien le lien qui se met dans ton navigateur, tu devrais certainement avoir un double slash (//) quelque part. Peux tu nous mettre les logs d'erreur de rutorrent aussi stp?

(/var/log/nginx/rutorrent-error.log)

Cordialement,
[RESOLU]
nadrelaxe wrote:Bonsoir,

Regarde bien le lien qui se met dans ton navigateur, tu devrais certainement avoir un double slash (//) quelque part. Peux tu nous mettre les logs d'erreur de rutorrent aussi stp?

(/var/log/nginx/rutorrent-error.log)

Cordialement,
Bonsoir nadrelaxe,

Merci de ta réponse.
cat /var/log/nginx/rutorrent-error.log
2016/01/22 08:57:38 [error] 15775#15775: *339 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 187.189.195.40, server: _, request: "HEAD /a2billing/customer/iridium_threed.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "x.x.x.x"
2016/01/22 09:05:11 [error] 15775#15775: *343 open() "/var/www/base/script" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /script HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:19 [error] 15775#15775: *345 open() "/var/www/base/jenkins/script" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /jenkins/script HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:26 [error] 15775#15775: *347 open() "/var/www/base/login" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /login HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:35 [error] 15775#15775: *349 open() "/var/www/base/jmx-console" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /jmx-console HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:42 [error] 15775#15775: *351 open() "/var/www/base/manager/html" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /manager/html HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:50 [error] 15775#15775: *353 open() "/var/www/base/msd" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /msd HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:05:56 [error] 15775#15775: *355 open() "/var/www/base/mySqlDumper" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /mySqlDumper HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:05 [error] 15775#15775: *357 open() "/var/www/base/msd1.24stable" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /msd1.24stable HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:12 [error] 15775#15775: *359 open() "/var/www/base/msd1.24.4" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /msd1.24.4 HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:18 [error] 15775#15775: *361 open() "/var/www/base/mysqldumper" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /mysqldumper HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:24 [error] 15775#15775: *363 open() "/var/www/base/MySQLDumper" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /MySQLDumper HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:30 [error] 15775#15775: *365 open() "/var/www/base/mysql" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /mysql HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:37 [error] 15775#15775: *367 open() "/var/www/base/sql" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /sql HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:43 [error] 15775#15775: *369 open() "/var/www/base/phpmyadmin" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /phpmyadmin HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 09:06:49 [error] 15775#15775: *371 open() "/var/www/base/phpMyAdmin" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /phpMyAdmin HTTP/1.1", host: "x.x.x.x:80"
2016/01/22 10:39:33 [error] 15775#15775: *389 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 95.213.177.122, server: _, request: "POST http://check.proxyradar.com/azenv.php?auth=145345556969&a=PSCMN&i=86465884&p=80 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "check.proxyradar.com", referrer: "https://proxyradar.com/"
2016/01/22 14:44:43 [error] 15775#15775: *394 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: x.x.x.x, server: _, request: "POST http://check.proxyradar.com/azenv.php?auth=145347027941&a=PSCMN&i=86465884&p=80 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "check.proxyradar.com", referrer: "https://proxyradar.com/"
2016/01/22 18:16:05 [error] 15775#15775: *396 open() "/var/www/base/manager/html" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /manager/html HTTP/1.1", host: "x.x.x.x"
2016/01/22 19:01:06 [error] 15775#15775: *449 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: x.x.x.x, server: _, request: "POST http://check.proxyradar.com/azenv.php?auth=145348566265&a=PSCMN&i=86465884&p=80 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "check.proxyradar.com", referrer: "https://proxyradar.com/"
2016/01/22 19:13:56 [error] 15775#15775: *521 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:13:57 [error] 15775#15775: *521 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:39:36 [error] 15775#15775: *626 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:39:37 [error] 15775#15775: *626 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:45:07 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:45:09 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:49:59 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Invisible.Boy.2015.FRENCH.1080p.WEB-DL.H264-AMY.mkv HTTP/1.1", host: "x.x.x.x", referrer: http://x.x.x.x/cakebox/index.html
2016/01/22 19:50:35 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 19:50:37 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
2016/01/22 21:38:11 [error] 15776#15776: *1454 open() "/var/www/base/clientaccesspolicy.xml" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /clientaccesspolicy.xml HTTP/1.1", host: "x.x.x.x"
J'ai pu remarquer une erreur de frappe "maelys009" au lieu de "maelys09":
2016/01/22 19:50:37 [error] 15775#15775: *742 open() "/home/maelys009/torrents/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv" failed (2: No such file or directory), client: x.x.x.x, server: _, request: "GET /cakebox/maelys09/Seul.Sur.Mars.The.Martian.2015.1080p.Truefrench.DTS.H264~Xantar.mkv HTTP/1.1", host: "x.x.x.x", referrer: "http://x.x.x.x/cakebox/index.html"
Mais je ne sais pas quel fichier il faut modifier.

[SOLUTION]

Edit : faute de frappe dans le fichier rutorrent.conf (Un grand merci à Jedediah).
nano /etc/nginx/sites-enabled/rutorrent.conf
17 jours plus tard
Bonjour a tous ,
j'ai aussi cette fameuse erreur , j'ai lu les 13 pages du topic
Error 500 (Internal Server Error): GET api/directories
Voici mon error.log
2016/02/08 20:21:32 [error] 31679#31679: *36 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected '/', expecting variable (T_VARIABLE) in /var/www/cakebox/app/models/utils.php on line 15" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /api/rights HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "NDD", referrer: "http://NDDl"
2016/02/08 20:21:32 [error] 31679#31679: *40 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected '/', expecting variable (T_VARIABLE) in /var/www/cakebox/app/models/utils.php on line 15" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /api/app HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "NDD", referrer: "http:///cakebox/index.html"
2016/02/08 20:21:32 [error] 31679#31679: *44 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected '/', expecting variable (T_VARIABLE) in /var/www/cakebox/app/models/utils.php on line 15" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /api/directories?path= HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "NDD", referrer: "http://NDD"
La ligne 15 de utils.php
function get_size(/SplFileInfo $file) {
Merci pour votre aide
fais voir tes fichiers de config (rutorrent.conf, caekbox.conf et /var/www/cakebox/config/user.php
Cakebox.conf
server {
    listen 81;
    server_name _;

    root /var/www/cakebox/public;
    index index.php;

    allow 127.0.0.1; # only the proxy
    deny all;

    charset utf-8;
    include /etc/nginx/conf.d/cache.conf;

    access_log /var/log/nginx/cakebox-access.log;
    error_log /var/log/nginx/cakebox-error.log;

    location = / {
        try_files @site @site;
    }

    location / {
        try_files $uri $uri/ @site;
    }

    location ~ \.php$ {
        return 404;
    }

    location @site {
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root/index.php;
        fastcgi_param APPLICATION_ENV production;
        ## uncomment when running via https
        ## fastcgi_param HTTPS on;
    }
}
Rutorrent.conf
server {
    listen 80 default_server;
    listen 443 default_server ssl;
    server_name _;

    charset utf-8;
    index index.html index.php;
    client_max_body_size 10M;

    ssl_certificate /etc/nginx/ssl/server.crt;
    ssl_certificate_key /etc/nginx/ssl/server.key;
    ssl_dhparam /etc/nginx/ssl/dhparam.pem;

    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 rutorrent ##
    location /MAJAXXX {
        include scgi_params;
        scgi_pass 127.0.0.1:5001;
        auth_basic "seedbox";
        auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_majaxxx";
    }
    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 ##

    ## debut config cakebox-light ##

   location /cakebox/ {
        rewrite ^/cakebox(/.*)$ $1 break;
        proxy_pass http://127.0.0.1:81;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_redirect off;
    }

    location /cakebox/majaxxx/ {
        alias /home/majaxxx/torrents/;
        add_header Content-Disposition "attachment";
        satisfy any;
        allow all;
    }

    ## etc si d'autre utilisateur ##

    ## fin config cakebox-light ##
}
majaxxx.php

<?php

/*
  General configuration of Cakebox
*/
$app["cakebox.root"] = "/var/majaxxx/torrents/"; //"; // Root directory Cakebox have to scan
$app["cakebox.access"] = "/cakebox/majaxxx/"; // Alias used in web server for direct access
$app["cakebox.language"] = "fr"; //Language of Cakebox. Could be : fr, en

/*
  Directory settings
*/
$app["directory.ignoreDotFiles"] = "false";
$app["directory.ignore"] = "//"; // Regex for files exclusion. For exemple : "/(\.nfo|\.test)$/"


/*
  Web player settings
*/
$app["player.default_type"] = "html5"; // html5 or divx or vlc
$app["player.auto_play"] = "false";

/*
  User rights
*/
$app["rights.canPlayMedia"] = true;
$app["rights.canDownloadFile"] = true;
$app["rights.canArchiveDirectory"] = false;
$app["rights.canDelete"] = false;

/*
  Betaseries account
  NB: Ask API key here http://www.betaseries.com/api/
*/
$app["bs.login"] = "";
$app["bs.passwd"] = "";
$app["bs.apikey"] = "";
merci
Ton alias dans ton /var/www/cakebox/config/majaxxx.php est pas bon
$app["cakebox.root"] = "/var/majaxxx/torrents/";
La bonne syntaxe est:
$app["cakebox.root"] = "/home/majaxxx/torrents/";
Un grand merci J'ai honte de cette erreur
:S
n'oublie pas un restart de ta session rtorrent