Aller au contenu

Ajout De T411 Sur Couchpotato


Messages recommandés

Le Git Command fonctionne, le tuto devient alos :) :

Pour reprendre le tuto de brinbois et le nouveau dépot de sarakha63, celà devient:

1) Se connecter dans le DSM, dans le "centre de paquets", installer les packages git et CouchPotato Server de synocommunity (pour ceux qui n'ont pas installé la source, toujours dans le "centre de paquets", aller dans paramètre->source de paquets-> cliquez sur "Ajouter". Nom: SynoCommunity et Emplacement: http://packages.synocommunity.com

2) Stoper CouchPotato Server (via le centre de paquet)

3) ce connecter en SSH au syno en root

3.1) #cd /volume1/@appstore/couchpotatoserver/share

3.2) #mv CouchPotatoServer CouchPotatoServer_bak

3.3) #/volume1/@appstore/git/bin/git clone git://github.com/sarakha63/CouchPotatoServer.git CouchPotatoServer

3.4) #chmod -R 777 CouchPotatoServer

3.5) #exit

4) Relancer CouchPotato Server (via le centre de paquet)

5) Dans CouchPotato, aller dans Settings -> Géneral:

5.1) dans la fenêtre de droite, cochez "Show advanced setting"

5.2) descender tout bas de cette fenêtre dans le menu "Updater", renseigner dans le champ "Git Command" :

/volume1/@appstore/git/bin/git

6) Redémarrer CouchPotato via l'interface web

Attention: Aprés avoir réalisé cette installation manuelle, ne jamais mettre à jour CouchPotato depuis le centre de paquets quand il vous demande de "Mettre à jour". Il faudra ignorer ce message perpetuellement et toujours utiliser l'update depuis l'interface web de CouchPotato.

Modifié par nabsboss
Lien vers le commentaire
Partager sur d’autres sites

Je reprend le tuto avec la mise a jour git fonctionnelle :

1) Se connecter dans le DSM, dans le "centre de paquets", installer les packages git et CouchPotato Server de synocommunity

Pour ceux qui non pas installée la source :

Toujours dans le "centre de paquets", aller dans paramètre->source de paquets-> cliquez sur "Ajouter". Nom: SynoCommunity et Emplacement:

http://packages.synocommunity.com )

2) Stoper CouchPotato Server (via le centre de paquet)

3) ce connecter en SSH au syno en root

3.1)

#cd /volume1/@appstore/couchpotatoserver/share

3.2)

#mv CouchPotatoServer CouchPotatoServer_bak

3.3)

#/volume1/@appstore/git/bin/git clone git://github.com/sarakha63/CouchPotatoServer.git CouchPotatoServer

3.4)

#cd CouchPotatoServer

3.5)

#/volume1/@appstore/git/bin/git config user.mail "votre.email@mail.com"

N'oubliez pas de changer votre.email@mail.com par votre adresse mail.

3.6)

#chmod -R 777 .

3.7)

#exit

4) Relancer CouchPotato Server (via le centre de paquet)

5) Dans CouchPotato, aller dans Settings -> Géneral:

5.1) dans la fenêtre de droite, cochez "Show advanced setting"

5.2) descender tout bas de cette fenêtre dans le menu "Updater", renseigner dans le champ "Git Command" :

/volume1/@appstore/git/bin/git

6) Redémarrer CouchPotato via l'interface web

Merci a ceux qui bidouille un peu de tester et voir si il faut modifier rajouter des chose pour que ce soi completement fonctionnel

Modifié par brinbois
Lien vers le commentaire
Partager sur d’autres sites

Salut,

C'est fonctionnel sauf dans le cas ou on doit faire l'update directement depuis l'interface web de couch :

05-24 09:23:55 ERROR [potato.core._base.updater] Failed updating via GIT: Traceback (most recent call last):
File "/volume1/@appstore/couchpotatoserver/share/CouchPotatoServer/couchpotato/core/_base/updater/main.py", line 191, in doUpdate
self.repo.saveStash()
File "/usr/local/couchpotatoserver/share/CouchPotatoServer/libs/git/repository.py", line 427, in saveStash
self._executeGitCommandAssertSuccess(command)
File "/usr/local/couchpotatoserver/share/CouchPotatoServer/libs/git/repository.py", line 85, in _executeGitCommandAssertSuccess
raise GitCommandFailedException(kwargs.get('cwd', self._getWorkingDirectory()), command, returned)
GitCommandFailedException: GitCommandFailedException: Command 'stash save' failed in /usr/local/couchpotatoserver/share/CouchPotatoServer (1):

*** Please tell me who you are.

Run

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'couchpotatoserver@DiskStation.(none)')
Cannot save the current index state

,

Et j'ai bien l'adresse mail comme demandé ....

Lien vers le commentaire
Partager sur d’autres sites

Oui, voici :

DiskStation> ls -al
drwxrwxrwx 7 root root 4096 May 23 13:44 .
drwxrwxrwx 5 couchpot users 4096 May 23 13:39 ..
drwxrwxrwx 8 root root 4096 May 24 16:30 .git
-rwxrwxrwx 1 root root 46 May 23 13:40 .gitignore
drwxrwxrwx 2 root root 4096 May 23 13:40 .settings
-rwxrwxrwx 1 root root 4486 May 23 13:40 CouchPotato.py
-rwxrwxrwx 1 root root 2237 May 23 13:40 README.md
-rwxrwxrwx 1 root root 1085 May 23 13:40 contributing.md
drwxrwxrwx 5 root root 4096 May 23 13:44 couchpotato
drwxrwxrwx 2 root root 4096 May 23 13:40 init
drwxrwxrwx 39 root root 4096 May 23 13:44 libs
-rwxrwxrwx 1 root root 35125 May 23 13:40 license.txt
-rwxrwxrwx 1 root root 37 May 23 13:40 version.py
-rwxrwxrwx 1 couchpot users 217 May 23 13:44 version.pyc
Lien vers le commentaire
Partager sur d’autres sites

DiskStation> ls -la .git
drwxrwxrwx 8 root root 4096 May 24 16:30 .
drwxrwxrwx 7 root root 4096 May 23 13:44 ..
-rwxrwxrwx 1 couchpot users 577 May 24 12:48 FETCH_HEAD
-rwxrwxrwx 1 root root 24 May 23 13:40 HEAD
drwxrwxrwx 2 root root 4096 May 23 13:39 branches
-rw-r--r-- 1 root root 307 May 24 16:29 config
-rwxrwxrwx 1 root root 73 May 23 13:39 description
drwxrwxrwx 2 root root 4096 May 23 13:39 hooks
-rw-rw-rw- 1 couchpot users 143568 May 24 09:17 index
drwxrwxrwx 2 root root 4096 May 23 13:39 info
drwxrwxrwx 3 root root 4096 May 23 13:40 logs
drwxrwxrwx 13 root root 4096 May 24 09:17 objects
-rwxrwxrwx 1 root root 877 May 23 13:40 packed-refs
drwxrwxrwx 5 root root 4096 May 23 13:40 refs
DiskStation>
Modifié par guettaseb
Lien vers le commentaire
Partager sur d’autres sites

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.