Ba oui mais bower faut l'exécuter dans le dossier cakebox
cd /var/www/cakebox/
bower update --allow-root
cd /var/www/cakebox/
bower update --allow-root
Oui c'est bien ce que je fais mais il n'y a aucun changement.Magicalex wrote:Ba oui mais bower faut l'exécuter dans le dossier cakebox
cd /var/www/cakebox/ bower update --allow-root
root@ns327638:/var/www/cakebox# bower update --allow-root
bower cached git://github.com/twbs/bootstrap.git#3.2.0
bower validate 3.2.0 against git://github.com/twbs/bootstrap.git#~3.2.0
bower cached git://github.com/angular/bower-angular.git#1.2.24
bower validate 1.2.24 against git://github.com/angular/bower-angular.git#~1.2.19
bower cached git://github.com/angular/bower-angular-i18n.git#1.2.24
bower validate 1.2.24 against git://github.com/angular/bower-angular-i18n.git#~1.2.19
bower cached git://github.com/angular/bower-angular-resource.git#1.2.24
bower validate 1.2.24 against git://github.com/angular/bower-angular-resource.git#~1.2.19
bower cached git://github.com/angular/bower-angular-route.git#1.2.24
bower validate 1.2.24 against git://github.com/angular/bower-angular-route.git#~1.2.19
bower cached git://github.com/angular-ui/bootstrap-bower.git#0.11.0
bower validate 0.11.0 against git://github.com/angular-ui/bootstrap-bower.git#~0.11.0
bower cached git://github.com/fabien-d/alertify.js-shim.git#0.3.10
bower validate 0.3.10 against git://github.com/fabien-d/alertify.js-shim.git#~0.3.10
bower cached git://github.com/asafdav/ng-clip.git#0.2.1
bower validate 0.2.1 against git://github.com/asafdav/ng-clip.git#0.2.1
bower cached git://github.com/PascalPrecht/bower-angular-translate.git#2.2.0
bower validate 2.2.0 against git://github.com/PascalPrecht/bower-angular-translate.git#~2.2.0
bower cached git://github.com/PascalPrecht/bower-angular-translate-loader-static-files.git#2.2.0
bower validate 2.2.0 against git://github.com/PascalPrecht/bower-angular-translate-loader-static-files.git#~2.2.0
bower cached git://github.com/jquery/jquery.git#2.1.1
bower validate 2.1.1 against git://github.com/jquery/jquery.git#>= 1.9.0
bower cached git://github.com/zeroclipboard/zeroclipboard.git#2.1.6
bower validate 2.1.6 against git://github.com/zeroclipboard/zeroclipboard.git#~2.1.0
Ca ne change rien ...Magicalex wrote:Ba oui mais bower faut l'exécuter dans le dossier cakebox
cd /var/www/cakebox/ bower update --allow-root
cd /var/www/cakebox/
bower update --allow-root
Fichier conf de mon user mis à jour mais toujours le même soucisMagicalex wrote:@winz
vérifie ton fichier conf de ton utilisateur il doit être incomplet.
"listen" directive is not allowed here in /etc/nginx/sites-enabled/rutorrent.conf:35
Voici mon rutorrent.conf : location /cakebox/<username2>/ {
alias /home/<user2>/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
## etc si d'autre utilisateur ##
## fin config cakebox-light ##
}
listen 80 default_server;
listen 443 default_server ssl;
server_name _;
index index.html index.php;
Bon ben la ligne 35 c'est : listen 80 default_server;...mais alors, j'ai vraiment aucune idée pourquoi cela ne marche pas.http {
server {
#vhost 1
listen 80;
}
server {
#vhost 2
listen 80;
}
server {
#vhost 3
listen 80;
location /monsite/ {
}
}
## etc
}
# You may add here your
# server {
# ...
# }
# statements for each of your virtual hosts to this file
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
##
server {
listen 81 default_server; ## listen for ipv4; this line is default and implied
#listen [::]:80 default_server ipv6only=on; ## listen for ipv6
root /var/www/cakebox/public;
index index.php;
# Make site accessible from http://localhost/
server_name CakeBox;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.html;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
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_set_header X-Forwarded-Proto https;
proxy_redirect off;
}
location /cakebox/motok/ {
alias /media/USBHDD1/shares/Web/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
autoindex on;
}
location /doc/ {
alias /usr/share/doc/;
autoindex on;
allow 127.0.0.1;
allow ::1;
deny all;
}
# Only for nginx-naxsi used with nginx-naxsi-ui : process denied requests
#location /RequestDenied {
# proxy_pass http://127.0.0.1:8080;
#}
#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/www;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
#
# # With php5-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php5-fpm:
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;
# root html;
# index index.html index.htm;
#
# location / {
# try_files $uri $uri/ =404;
# }
#}
# HTTPS server
#
#server {
# listen 443;
# server_name localhost;
#
# root html;
# index index.html index.htm;
#
# ssl on;
# ssl_certificate cert.pem;
# ssl_certificate_key cert.key;
#
# ssl_session_timeout 5m;
#
# ssl_protocols SSLv3 TLSv1;
# ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
# ssl_prefer_server_ciphers on;
#
# location / {
# try_files $uri $uri/ =404;
# }
#}
/var/www/cakebox/config/motok.php<?php
/*
General configuration of Cakebox
*/
$app["cakebox.root"] = "/media/USBHDD1/shares/Web/"; // Root directory Cakebox have to scan
$app["cakebox.access"] = "/cakebox/motok/"; // 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"] = "vlc"; // 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"] = "";
access.log192.168.0.3 - - [29/Sep/2014:17:10:22 +0200] "GET /cakebox/motok/ HTTP/1.1" 200 204 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
192.168.0.3 - - [29/Sep/2014:17:10:24 +0200] "GET /cakebox/motok/ HTTP/1.1" 200 204 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
192.168.0.3 - - [29/Sep/2014:17:10:26 +0200] "GET /cakebox/motok HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
127.0.0.1 - - [29/Sep/2014:17:10:26 +0200] "GET /motok HTTP/1.0" 304 0 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
192.168.0.3 - - [29/Sep/2014:17:10:27 +0200] "GET /cakebox/ressources/languages/locale-fr.json HTTP/1.1" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
127.0.0.1 - - [29/Sep/2014:17:10:27 +0200] "GET /ressources/languages/locale-fr.json HTTP/1.0" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
192.168.0.3 - - [29/Sep/2014:17:10:27 +0200] "GET /cakebox/api/app HTTP/1.1" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
192.168.0.3 - - [29/Sep/2014:17:10:27 +0200] "GET /cakebox/api/rights HTTP/1.1" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
127.0.0.1 - - [29/Sep/2014:17:10:27 +0200] "GET /api/app HTTP/1.0" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
127.0.0.1 - - [29/Sep/2014:17:10:27 +0200] "GET /api/rights HTTP/1.0" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
192.168.0.3 - - [29/Sep/2014:17:10:27 +0200] "GET /cakebox/partials/browse.html HTTP/1.1" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
127.0.0.1 - - [29/Sep/2014:17:10:27 +0200] "GET /partials/browse.html HTTP/1.0" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
192.168.0.3 - - [29/Sep/2014:17:10:27 +0200] "GET /cakebox/components/jquery/dist/jquery.min.map HTTP/1.1" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
127.0.0.1 - - [29/Sep/2014:17:10:27 +0200] "GET /components/jquery/dist/jquery.min.map HTTP/1.0" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
192.168.0.3 - - [29/Sep/2014:17:10:27 +0200] "GET /cakebox/components/angular/angular.min.js.map HTTP/1.1" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
127.0.0.1 - - [29/Sep/2014:17:10:27 +0200] "GET /components/angular/angular.min.js.map HTTP/1.0" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
192.168.0.3 - - [29/Sep/2014:17:10:27 +0200] "GET /cakebox/components/angular-resource/angular-resource.min.js.map HTTP/1.1" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
127.0.0.1 - - [29/Sep/2014:17:10:27 +0200] "GET /components/angular-resource/angular-resource.min.js.map HTTP/1.0" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
192.168.0.3 - - [29/Sep/2014:17:10:27 +0200] "GET /cakebox/components/angular-route/angular-route.min.js.map HTTP/1.1" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
127.0.0.1 - - [29/Sep/2014:17:10:27 +0200] "GET /components/angular-route/angular-route.min.js.map HTTP/1.0" 304 0 "http://192.168.0.5:81/cakebox/motok" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
192.168.0.3 - - [29/Sep/2014:17:10:34 +0200] "-" 400 0 "-" "-"
192.168.0.3 - - [29/Sep/2014:17:10:34 +0200] "-" 400 0 "-" "-"
Le fichier error.log est vide.TypeError: Cannot read property 'local' of undefined
at http://192.168.0.5:81/cakebox/app/controller/AppCtrl.js:14:39
at http://192.168.0.5:81/cakebox/components/angular-resource/angular-resource.min.js:9:303
at E (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:100:187)
at http://192.168.0.5:81/cakebox/components/angular/angular.min.js:101:350
at k.$eval (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:112:68)
at k.$digest (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:109:168)
at k.$apply (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:112:398)
at h (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:72:454)
at u (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:77:463)
at XMLHttpRequest.w.onreadystatechange (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:79:24) angular.js:10071
4Error: [$resource:badcfg] http://errors.angularjs.org/1.2.25/$resource/badcfg?p0=array&p1=object
at Error (native)
at http://192.168.0.5:81/cakebox/components/angular/angular.min.js:6:450
at p.then.m.$resolved (http://192.168.0.5:81/cakebox/components/angular-resource/angular-resource.min.js:8:517)
at E (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:100:187)
at E (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:100:187)
at http://192.168.0.5:81/cakebox/components/angular/angular.min.js:101:350
at k.$eval (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:112:68)
at k.$digest (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:109:168)
at k.$apply (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:112:398)
at h (http://192.168.0.5:81/cakebox/components/angular/angular.min.js:72:454)
{"status_code":404,"message":"No route found for \u0022GET \/motok\u0022"}
quand je veux aller sur http://192.168.0.5/cakebox/motok