Bonjour les amis,j'ai voulu installer Cakebox-light v1.8.6 sur mon serveur fraichement tout neuf : avec le script de ex_rat, ..J arrivais a avoir le site cakebox avec cette adresse xx.xx.../ cakebox/index.PHP mais impossible de se connecter. J ai mis jour PHP de la v5 a la v7 et c est le drame. Voilà voilà

Maintenant quand je me connecte à mon serveur :au lieu d'arriver sur seedbox-manager j'ai ;

An error occurred.

Sorry, the page you are looking for is currently unavailable.
Please try again later.

If you are the system administrator of this resource then you should check the error log for details.

Faithfully yours, nginx.

Au Secours
Yop,
J'ai fait un ti tuto dans la partie correspondante pour cette version de cakebox, ça ne fonctionne pas avec ?

PS: check ton rutorrent.conf, tu as des chemins relatifs à php5, qu'il faut transformer pour php7.
PS²: j crois qu'il y a un tuto aussi pour le passage de php5 à php7 (et y'a aussi des infos là dessus dans mon tuto cakebox)
Avec la mise à jour de 5 -> 7, as tu mis a jour la config des vhost au niveau de php ?
ex_rat wrote:Salut
Si tu veux tester ça (je l'ai bricolé ce matin): https://github.com/exrat/Script-Debug-MonDedie
Ça nous donnera toutes les infos sur ta conf nginx
Ex.
edit: enfin si ça marche comme prévu ! 😀
###  Rapport pour ruTorrent généré le 05-08-2016 à 14:24  ###

Utilisateur ruTorrent => ks4bart69

Debian 8.5
Kernel : 3.14.32-xxxx-grs-ipv6-64
PHP 7.0

--> Utilisateur ks4bart69 existant


......................................................................
## Test rTorrent & sgci
......................................................................
rTorrent down
Aucun programme n'écoute sur le port 5001
Bon port SCGI renseigné dans le fichier config.php
Les ports nginx et celui indiqué correspondent


......................................................................
## rTorrent Activity
......................................................................



......................................................................
## Irssi Activity
......................................................................
ks4bart+   897  0.0  0.0  26144  1280 ?        Ss   Aug04   0:00 SCREEN -dmS irc_logger irssi
ks4bart+   907  0.0  0.2 132252 33244 pts/5    Ss+  Aug04   0:11 irssi


......................................................................
## .rtorrent.rc 
......................................................................
File : /home/ks4bart69/.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/ks4bart69/torrents
session = /home/ks4bart69/.session
encryption = allow_incoming, try_outgoing, enable_retry
schedule = watch_directory,1,1,"load_start=/home/ks4bart69/watch/*.torrent"
schedule = untied_directory,5,5,"stop_untied=/home/ks4bart69/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 ks4bart69 &}


......................................................................
## ruTorrent config.php ks4bart69
......................................................................
File : /var/www/rutorrent/conf/users/ks4bart69/config.php

<?php
$pathToExternals = array(
    "curl"  => '/usr/bin/curl',
    "stat"  => '/usr/bin/stat',
    );
$topDirectory = '/home/ks4bart69';
$scgi_port = 5001;
$scgi_host = '127.0.0.1';
$XMLRPCMountPoint = '/KS4BART69';


......................................................................
## ks4bart69-rtorrent
......................................................................
File : /etc/init.d/ks4bart69-rtorrent

#!/usr/bin/env bash

# Dépendance : screen, killall et rtorrent
### BEGIN INIT INFO
# Provides:          ks4bart69-rtorrent
# Required-Start:    $syslog $network
# Required-Stop:     $syslog $network
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start daemon at boot time
# Description:       Start-Stop rtorrent user session
### END INIT INFO

## Début configuration ##
user="ks4bart69"
## Fin configuration ##

rt_start() {
    su --command="screen -dmS ${user}-rtorrent rtorrent" "${user}"
}

rt_stop() {
    killall --user "${user}" screen
}

case "$1" in
start) echo "Starting rtorrent..."; rt_start
    ;;
stop) echo "Stopping rtorrent..."; rt_stop
    ;;
restart) echo "Restart rtorrent..."; rt_stop; sleep 1; rt_start
    ;;
*) echo "Usage: $0 {start|stop|restart}"; exit 1
    ;;
esac
exit 0


......................................................................
## cakebox.conf
......................................................................
File : /etc/nginx/sites-enabled/cakebox.conf

server {
        listen 81;
        server_name _;

        # only the proxy
        allow 127.0.0.1;
        deny all;

        root /var/www/cakebox/public/;

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

        #site root is redirected to the app boot script
        location = / {
            try_files @site @site;
        }

        #all other locations try other files first and go to our front controller if none of them exists
        location / {
            try_files $uri $uri/ @site;
        }

        #return 404 for all php files as we do have a front controller
        location ~ \.php$ {
            return 404;
        }

        #main configuration
        location @site {
            fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
            include fastcgi_params;
            fastcgi_param  SCRIPT_FILENAME $document_root/index.php;
            ## use debug instead of production to get more log
            fastcgi_param APPLICATION_ENV production;
            ## fastcgi_param HTTPS on;
        }
}


......................................................................
## rutorrent.conf
......................................................................
File : /etc/nginx/sites-enabled/rutorrent.conf

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

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

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

	## fin config proxy ##

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

	## debut 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 [url]http://127.0.0.1:81[/url];
        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 /access/ksbart69/ {
        alias /home/ksbart69/torrents/;
        add_header Content-Disposition "attachment";
        satisfy any;
        allow all;
   	 }

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

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

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



    ## etc si d'autre utilisateur ##

    ## fin config cakebox-light ##




        ## config utilisateurs  ##

        location /KS4BART69 {
            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_ks4bart69";
        }

        location /PIERROT {
            include scgi_params;
            scgi_pass 127.0.0.1:5003; #ou socket : unix:/home/username/.session/username.socket
            auth_basic "seedbox";
            auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_pierrot";
        }

        location /RICOUGIR {
            include scgi_params;
            scgi_pass 127.0.0.1:5004; #ou socket : unix:/home/username/.session/username.socket
            auth_basic "seedbox";
            auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_ricougir";
        }

        location /INVITES {
            include scgi_params;
            scgi_pass 127.0.0.1:5005; #ou socket : unix:/home/username/.session/username.socket
            auth_basic "seedbox";
            auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_invites";
        }
	
}


......................................................................
## cakebox.config.Php
......................................................................
File : /var/www/cakebox/config/ks4bart69.php

--> Fichier Invalide


......................................................................
## nginx.log
......................................................................
File : /var/log/nginx/rutorrent-error.log

2016/08/04 14:35:47 [error] 903#903: *8 open() "/var/www/base/ru" failed (2: No such file or directory), client: 46.218.64.226, server: _, request: "GET /ru HTTP/2.0", host: "91.121.109.104"
2016/08/04 14:37:25 [error] 903#903: *9 open() "/var/www/base/ru" failed (2: No such file or directory), client: 46.218.64.226, server: _, request: "GET /ru HTTP/1.1", host: "91.121.109.104"
2016/08/04 14:39:21 [error] 903#903: *16 FastCGI sent in stderr: "PHP message: PHP Warning:  fopen(/var/www/rutorrent/share/users/pierrot/settings/uisettings.json): failed to open stream: No such file or directory in /var/www/rutorrent/php/getsettings.php on line 7" while reading response header from upstream, client: 46.218.64.226, server: _, request: "POST /rutorrent/php/getsettings.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "91.121.109.104", referrer: "[url]http://91.121.109.104/rutorrent/[/url]"
2016/08/04 14:41:34 [error] 901#901: *375 open() "/var/www/base/cakebox" failed (2: No such file or directory), client: 46.218.64.226, server: _, request: "GET /cakebox HTTP/1.1", host: "91.121.109.104"
2016/08/04 15:34:37 [error] 3192#3192: *1 open() "/var/www/base/cakebox" failed (2: No such file or directory), client: 46.218.64.226, server: _, request: "GET /cakebox HTTP/1.1", host: "91.121.109.104"
2016/08/04 15:39:36 [error] 14245#14245: *1 open() "/var/www/base/cakebox" failed (2: No such file or directory), client: 46.218.64.226, server: _, request: "GET /cakebox HTTP/1.1", host: "91.121.109.104"
2016/08/04 15:45:05 [error] 14245#14245: *6 open() "/var/www/base/cakebox" failed (2: No such file or directory), client: 46.218.64.226, server: _, request: "GET /cakebox HTTP/1.1", host: "91.121.109.104"
2016/08/04 15:51:56 [error] 17385#17385: *6 open() "/var/www/base/cakebox" failed (2: No such file or directory), client: 46.218.64.226, server: _, request: "GET /cakebox HTTP/1.1", host: "91.121.109.104"
2016/08/04 15:52:23 [error] 17385#17385: *7 open() "/var/www/base/cakebox" failed (2: No such file or directory), client: 46.218.64.226, server: _, request: "GET /cakebox HTTP/2.0", host: "91.121.109.104"
2016/08/04 16:06:52 [error] 20684#20684: *1 open() "/var/www/base/cakebox" failed (2: No such file or directory), client: 46.218.64.226, server: _, request: "GET /cakebox HTTP/2.0", host: "91.121.109.104"
2016/08/04 16:06:56 [error] 20684#20684: *2 open() "/var/www/base/cakebox" failed (2: No such file or directory), client: 46.218.64.226, server: _, 
2016/08/05 13:45:52 [crit] 5124#5124: *37 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 46.218.64.226, server: _, request: "POST /rutorrent/php/getsettings.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "91.121.109.104", referrer: "[url]http://91.121.109.104/rutorrent/[/url]"
2016/08/05 13:46:06 [crit] 5124#5124: *37 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 46.218.64.226, server: _, request: "POST /rutorrent/php/setsettings.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "91.121.109.104", referrer: "[url]http://91.121.109.104/rutorrent/[/url]"
2016/08/05 13:46:16 [crit] 5124#5124: *46 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 46.218.64.226, server: _, request: "POST /rutorrent/php/setsettings.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "91.121.109.104", referrer: "[url]http://91.121.109.104/rutorrent/[/url]"
2016/08/05 13:46:17 [crit] 5124#5124: *46 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 46.218.64.226, server: _, request: "POST /rutorrent/php/setsettings.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "91.121.109.104", referrer: "[url]http://91.121.109.104/rutorrent/[/url]"


......................................................................
## nginx.conf
......................................................................
File : /etc/nginx/nginx.conf

user www-data;
worker_processes auto;
pid /var/run/nginx.pid;

events {
    worker_connections 1024;
    use epoll; # gestionnaire d'évènements epoll (kernel 2.6+)
}

http {
    include /etc/nginx/mime.types;
    default_type  application/octet-stream;

    access_log /var/log/nginx/access.log combined;
    error_log /var/log/nginx/error.log error;

    sendfile on;
    keepalive_timeout 15;
    keepalive_disable msie6;
    keepalive_requests 100;
    tcp_nopush on;
    tcp_nodelay off;
    server_tokens off;

    gzip on;
    gzip_comp_level 5;
    gzip_min_length 512;
    gzip_buffers 4 8k;
    gzip_proxied any;
    gzip_vary on;
    gzip_disable "msie6";
    gzip_types
        text/css
        text/javascript
        text/xml
        text/plain
        text/x-component
        application/javascript
        application/x-javascript
        application/json
        application/xml
        application/rss+xml
        application/vnd.ms-fontobject
        font/truetype
        font/opentype
        image/svg+xml;

    include /etc/nginx/sites-enabled/*.conf;
}


......................................................................
## cache.conf
......................................................................
File : /etc/nginx/conf.d/cache.conf

location ~* \.(jpg|jpeg|gif|css|png|js|woff|ttf|svg|eot)$ {
	expires 30d;
	access_log off;
}

location ~* \.(eot|ttf|woff|svg)$ {
	add_header Acccess-Control-Allow-Origin *;
}


......................................................................
## ciphers.conf
......................................................................
File : /etc/nginx/conf.d/ciphers.conf

ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
ssl_prefer_server_ciphers on;
ssl_dhparam /etc/nginx/ssl/dhparams.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;


......................................................................
## default.conf
......................................................................
File : /etc/nginx/conf.d/default.conf

server {
    listen       80;
    server_name  localhost;

    #charset koi8-r;
    #access_log  /var/log/nginx/log/host.access.log  main;

    location / {
        root   /usr/share/nginx/html;
        index  index.html index.htm;
    }

    #error_page  404              /404.html;

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }

    # proxy the PHP scripts to Apache listening on 127.0.0.1:80
    #
    #location ~ \.php$ {
    #    proxy_pass   [url]http://127.0.0.1[/url];
    #}

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    #location ~ \.php$ {
    #    root           html;
    #    fastcgi_pass   127.0.0.1:9000;
    #    fastcgi_index  index.php;
    #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
    #    include        fastcgi_params;
    #}

    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    #location ~ /\.ht {
    #    deny  all;
    #}
}


......................................................................
## php.conf
......................................................................
File : /etc/nginx/conf.d/php.conf

location ~ \.php$ {
	fastcgi_index index.php;
	fastcgi_pass unix:/var/run/php5-fpm.sock;
	fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
	include /etc/nginx/fastcgi_params;
}


......................................................................
## php-manager.conf
......................................................................
File : /etc/nginx/conf.d/php-manager.conf

location ~ \.php$ {
    root /var/www/seedbox-manager/public;
    include /etc/nginx/fastcgi_params;
    fastcgi_index index.php;
    fastcgi_pass unix:/var/run/php5-fpm.sock;
    fastcgi_param SCRIPT_FILENAME $document_root/index.php;
}


......................................................................
## fichier pass nginx
......................................................................
Dir : /etc/nginx/passwd

rutorrent_passwd
rutorrent_passwd_invites
rutorrent_passwd_ks4bart69
rutorrent_passwd_pierrot
rutorrent_passwd_ricougir


......................................................................
## fichier ssl nginx
......................................................................
Dir : /etc/nginx/ssl

dhparams.pem
server.crt
server.key


......................................................................
## fin
......................................................................
Est ce que tu peux juster éditer pour mettre le tout dans la balise CODE ?
Merci
arckosfr wrote:Avec la mise à jour de 5 -> 7, as tu mis a jour la config des vhost au niveau de php ?
non comment je fais☹
......................................................................
## php.conf
......................................................................
File : /etc/nginx/conf.d/php.conf
location ~ \.php$ {
    fastcgi_index index.php;
    fastcgi_pass unix:/var/run/php7.0-fpm.sock;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include /etc/nginx/fastcgi_params;
}

......................................................................
## php-manager.conf
......................................................................
File : /etc/nginx/conf.d/php-manager.conf
location ~ \.php$ {
    root /var/www/seedbox-manager/public;
    include /etc/nginx/fastcgi_params;
    fastcgi_index index.php;
    fastcgi_pass unix:/var/run/php7.0-fpm.sock;
    fastcgi_param SCRIPT_FILENAME $document_root/index.php;
il faut que les fichiers soit comme ca
arckosfr wrote:Est ce que tu peux juster éditer pour mettre le tout dans la balise CODE ?
Merci 🙂

je veux bien comment faire?
bah tu edite ton message et tu met au début [ code ] et a la fin [ /code ] sans les espaces
C'est le script qui a merdé ou tu n'as vraiment pas de fichier:
......................................................................
## cakebox.config.Php
......................................................................
File : /var/www/cakebox/config/ks4bart69.php
--> Fichier Invalide
normalement t'en as 1 par user (sur le tuto de Magicalex en tout cas)
https://mondedie.fr/d/5314
et rtorrent a l'air down, faudra relancer avec seedbox-manager
edit: ça aurait été mieux avec le lien ratbox.nl, y'a la musique ^^
ex_rat wrote:C'est le script qui a merdé ou tu n'as vraiment pas de fichier:
......................................................................
## cakebox.config.Php
......................................................................
File : /var/www/cakebox/config/ks4bart69.php
--> Fichier Invalide
normalement t'en as 1 par user (sur le tuto de Magicalex en tout cas)
https://mondedie.fr/d/5314
et rtorrent a l'air down, faudra relancer avec seedbox-manager
edit: ça aurait été mieux avec le lien ratbox.nl, y'a la musique ^^

c'est vrai avec la musiquz c'est plus cool

moi j'ai suivi le tuto :

https://mondedie.fr/d/8193

j'ai pas acces à seedbox-manager
tu as modifier les configs nginx comme j'ai poster ?
arckosfr wrote:tu as modifier les configs nginx comme j'ai poster ?
oui..toujours planté
Tu peux poster les logs de nginx ??
arckosfr wrote:Tu peux poster les logs de nginx ??

var/log/nginx c'est bien ça ?

errors logs :


2016/08/04 16:30:53 [emerg] 4844#4844: "location" directive is not allowed here in /etc/nginx/sites-enabled/cakebox.conf:39
2016/08/04 16:31:18 [emerg] 4951#4951: "location" directive is not allowed here in /etc/nginx/sites-enabled/cakebox.conf:39
2016/08/04 16:31:26 [emerg] 4966#4966: "location" directive is not allowed here in /etc/nginx/sites-enabled/cakebox.conf:39
2016/08/04 16:31:34 [emerg] 4976#4976: "location" directive is not allowed here in /etc/nginx/sites-enabled/cakebox.conf:39
2016/08/04 16:33:14 [emerg] 795#795: "location" directive is not allowed here in /etc/nginx/sites-enabled/cakebox.conf:39
2016/08/04 19:25:11 [emerg] 26265#26265: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165
2016/08/04 19:25:43 [emerg] 26406#26406: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165
2016/08/04 19:29:59 [emerg] 26698#26698: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165
2016/08/04 19:30:06 [emerg] 27066#27066: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165
2016/08/04 19:31:45 [emerg] 794#794: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165
2016/08/04 19:39:43 [emerg] 3075#3075: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165
2016/08/04 19:40:04 [emerg] 3336#3336: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165
2016/08/04 19:55:59 [emerg] 7049#7049: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165
2016/08/04 19:56:13 [emerg] 7107#7107: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165
2016/08/04 19:56:29 [emerg] 7120#7120: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165
2016/08/04 19:56:34 [emerg] 7132#7132: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165
2016/08/04 19:58:09 [emerg] 870#870: unexpected "}" in /etc/nginx/sites-enabled/rutorrent.conf:165

acces logs :: (vide )
Voila comme marqué dans les logs tu as un soucis de } dans rutorrent.conf et un soucis de syntaxe dans cakebox.conf
Aerya wrote:Ligne 165
comment editer et modifier juste cette ligne avec winSCP avec putty je galère
ex_rat wrote:Salut
Si tu veux tester ça (je l'ai bricolé ce matin): https://github.com/exrat/Script-Debug-MonDedie
Ça nous donnera toutes les infos sur ta conf nginx
Ex.
edit: enfin si ça marche comme prévu ! 😀
Sous ce format, il n'y a pas une numérotation des lignes (cf message n°5) ? Et ce même juste pour la config de Nginx ? Et à propos de l'indentation, faudrait-il que ce script la corrige ?
Je crois, il y aurait peut-être ces 2 petits détails qui pourraient apporter une légère amélioration visuelle.

WinSCP peut l'ouvrir grâce à un simple double clique à la condition d'être connecté. Bien entendu, via le compte adéquat. De plus, il propose même de l'ouvrir via un logiciel comme NotePad++ (etc s'il est installé). Une fois ouvert, il suffira de sauvegardé la modification et elle sera appliqué (automatiquement).

PS : Pendant que j'y pense, autant le dire et je place un petit repère (pour le futur). J'entends par indentation ceci :
http
{
	server
	{
		location
		{

		}
	}
}
Un petit rappel. Parmi les fichiers logs, assez souvent, il n'y a qu'un unique fichier à consulter. Ainsi, pour connaître les erreurs, il faut se référer à la directive : "error_log"..C'est également peut-être ce qu'il faudrait que j'inclus à la FAQ de Nginx ? Verra un autre jour.