Cette page n'a pas encore d'étiquettes.
Apportez votre aide…

Ceci est une ancienne révision du document !


Clutch

Clutch est une interface Web pour le client BitTorrent Transmission. Elle permet de gérer vos torrents depuis n'importe quel poste connecté à Internet.

Clutch est écrit en PHP, HTML et Javascript (AJAX).

Il faut au préalable avoir installé un serveur apache.

Clutch est disponible sous Hardy dans les dépôts.

Installez le paquet clutch.

sudo apt-get install clutch

ou apt://clutch

L'interface Clutch est visible à l'adresse http://localhost/clutch

Problème

En allant à l'adresse http://localhost/clutch, un message me dit :

Transmission Logo
Connection Failed
Could not connect to the server. You may need to reload the page to reconnect.

En cliquant sur Details, on obtient les avertissements suivants :

Warning:  touch() [function.touch]: Unable to create file data/prefs.txt because Permission denied in /usr/share/clutch/www/remote/lib/Preferences.class.php on line 19

Warning:  file_get_contents(data/prefs.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /usr/share/clutch/www/remote/lib/Preferences.class.php on line 24

Warning:  file_put_contents(data/prefs.txt) [function.file-put-contents]: failed to open stream: Permission denied in /usr/share/clutch/www/remote/lib/Preferences.class.php on line 37

Warning:  Cannot modify header information - headers already sent by (output started at /usr/share/clutch/www/remote/lib/Preferences.class.php:19) in /usr/share/clutch/www/remote/index.php on line 227
transmission.initializeSettings({"auto_start":1,"download_location":"\/var\/cache\/clutch\/downloads\/","port":51413,"encryption":"preferred","filter":"all","sort_method":"queue_order","sort_direction":"ascending","show_inspector":false,"show_filter":true,"limit_download":false,"limit_upload":false,"download_rate":10,"upload_rate":10,"refresh_rate":5});

Résolution

Il suffit de changer les droits du dossier remote/data

sudo chmod -R 777 /usr/share/clutch/www/remote/data

Il faut également modifier le fichier /etc/init.d/clutch

sudo gedit /etc/init.d/clutch

Repérez la ligne :

case "1" in 
start

(ligne 201)

Juste avant les lignes

;;

Rajoutez :

chmod -R 777 /var/cache/clutch/daemon

Vous obtenez ainsi <code>case "$1" in

start)
log_daemon_msg "Starting $DESC " "$NAME"

      # Check if it's running first
      if running ;  then
          log_progress_msg "apparently already running"
          log_end_msg 0
          exit 0
      fi
      if start_server 
  • clutch.1213899497.txt.gz
  • Dernière modification: Le 18/04/2011, 14:57
  • (modification externe)