Aller au contenu

Featured Replies

Posté(e)

Tu as bien réinstallé le bootstrap/IPKG puis python 2.5 ?

Posté(e)
  • Auteur

J ai betement suivi les etapes du tuto

à partir d'ici : 1 Installation de python et de ses librairies + reconnaissance de caractères (décodage captcha)

S'il faut faire quoi que ce soit avant je veux veux bien que tu me dises quoi :)

Posté(e)
  • Auteur

DiskStation> ipkg install python py25-crypto py25-curl libcurl py25-openssl

Package python (2.5-1) installed in root is up to date.

Package py25-crypto (2.1.0-2) installed in root is up to date.

Package py25-curl (7.19.0-1) installed in root is up to date.

Package libcurl (7.21.7-1) installed in root is up to date.

Package py25-openssl (0.10-1) installed in root is up to date.

Nothing to be done

Successfully terminated.

DiskStation>

DiskStation> py25-django py25-pil tesseract-ocr tesseract-ocr-lang-eng ossp-js

-ash: py25-django: not found

DiskStation>

La premiere ligne passe pas la 2eme ...

J'ai change de nas mais pas de HDD dc je suppose qu'il reste qques petits trucs.

Posté(e)
  • Auteur

Apres plusieurs minutes de lecture je me rends compte que je suis un trou de b*****

En fait cest bien ipkg install py25-django

Une fois qu'on comprend ce qu'on fait ça va mieux :)

je coupais la commande en deux du coup ...ca marchait pas normal.

En y repansant j'ai été ridicule !

Enfin maintenant j'ai compris je passe à la suite

Posté(e)
  • Auteur

J'ai suivi tout le tuto

Jai ajouté cette étape à la fin

DiskStation> cd /usr/syno/synoman/webman/3rdparty

DiskStation> wget http://dl.dropbox.com/u/3001640/webman.pyload.tar.gz

–2011-04-10 17:24:11– http://dl.dropbox.com/u/3001640/webman.pyload.tar.gz

Resolving dl.dropbox.com… 184.72.245.175

Connecting to dl.dropbox.com|184.72.245.175|:80… connected.

HTTP request sent, awaiting response… 200 OK

Length: 3227 (3.2K) [application/x-tar]

Saving to: `webman.pyload.tar.gz’

100%[======================================>] 3,227 –.-K/s in 0.009s

2011-04-10 17:24:12 (366 KB/s) – `webman.pyload.tar.gz’ saved [3227/3227]

DiskStation> gunzip webman.pyload.tar.gz

DiskStation> tar xvf webman.pyload.tar

pyload/

pyload/images/

pyload/images/icon32.png

pyload/images/icon16.png

pyload/application.cfg

DiskStation> rm webman.pyload.tar

je vois pyload ds le DSM. Mais rien ne se lance. J'ai mis le port 5003 à la place du 8000 ds la config. J'ai rien changé à part ça. J'ai édité le fichier application.cfg et j'ai mis 5003 mais rien à faire

Une idée ?

Posté(e)
  • Auteur

Ce qu iest bizarre ces quil ne se passe rien qd je clique sur pyload ds linterface DSM !

Avant quand j avais des problemes de config, j'avais une page avec une erreur...là rien du tout

Pourtant pyload semble bien configuré !

J'ai supprimé le boutin pyload du dsm, j'ai remis mais tjrs pareil !

Posté(e)
  • Auteur

J'ai mis

Bonsoir,

Voici le script que j'utilise.

Il permet d'upgrader Pyload avec les dernières mises à jours (tip).

Il suffit d'adapter les chemins si vous n'avez pas suivi notre tuto ().


#!/bin/sh

		##########################################################################

		# pyLoad STARTUP and UPDATE SCRIPT for Synology NAS

		# AUTOSTART pyLoad as DAEMON - UPDATE PROGRAM FILES

		# <./S99pyload info>  for  more  details  and  help

		##########################################################################

		PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin

		SYNO=/usr/syno/bin

		DAEMON="python /opt/pyload/pyLoadCore.py --daemon"

		DAEMON_OPTS="--debug"

		STATUS="python /opt/pyload/pyLoadCore.py --status"

		VERSION="python /opt/pyload/pyLoadCore.py -v"

		UPDATE_SRC="https://bitbucket.org/spoob/pyload/get/tip.zip"

		LOG="/volume1/public/.pyload/Logs/log.txt" #your path to the Logfile here!

		SCRN=/usr/syno/etc.default/rc.d/S99pyload.sh

		##########################################################################

		# COMMANDS START

		##########################################################################

		start()

		{

				if [ `$STATUS` -gt 3 ]; then

				echo "`$VERSION`: already performing"

				else

				echo "`$VERSION`: try to start"

				echo "`$VERSION`:" `$DAEMON`

				sleep 2

						if [ `$STATUS` -gt 3 ]; then

						echo "`$VERSION`: successfully startet"

						else

						`$DAEMON`

						fi

				fi

		}

		##########################################################################

		stop()

		{

		if [ `$STATUS` -gt 3 ]; then

				echo "`$VERSION`: try to kill myself"

				kill `$STATUS`; sleep 2

				echo "`$VERSION`: successfully stopped"

		else

				echo "`$VERSION`: already killed"

		fi

		}

		##########################################################################

		update()

		{

		if [ `$STATUS` -gt 3 ]; then

				stop; sleep 5;

		fi

				echo "UPDATE: updating `$VERSION`"

				echo "`date '+%d.%m.%Y %T'` INFO		Updating `$VERSION`" >>$LOG

				cd /opt/

				$SYNO/wget --no-check-certificate -q $UPDATE_SRC

				if [ $? -eq 0 ] ; then

						echo "UPDATE: successfully loaded dev version"

				else

						update

				fi

				unzip -q spoob-pyload*.zip; rm spoob-pyload*.zip

				if [ $? -eq 0 ] ; then

						echo "UPDATE: archive unzipped and removed"; sleep 2

				else

						update

				fi

						$SYNO/rsync -qru /opt/spoob-pyload-*/ /opt/pyload/

				if [ $? -eq 0 ] ; then

						echo "UPDATE: `$VERSION` successfully updated"

				else

						update

				fi

						rm -rf /opt/spoob-pyload-*/

						echo "`date '+%d.%m.%Y %T'` INFO		Update complete" >>$LOG

				start

		}

		##########################################################################

		debug()

		{

		if [ `$STATUS` -gt 3 ]; then

				echo "`$VERSION`: already performing ... restart"

				stop

				sleep 5

				debug

		else

				echo "`$VERSION`: try to start in debug mode + show output"

				echo "`$VERSION`:" `$DAEMON $DAEMON_OPTS`

				sleep 2

				if [ `$STATUS` -gt 3 ]; then

						echo "`$VERSION`: successfully startet in debug mode"

						echo ""

						echo "***** ctrl + c to STOP OUTPUT and return *****"

						echo ""

						tail -f $LOG

				else

						`$DAEMON $DAEMON_OPTS`

				fi

		fi

		}

		##########################################################################

		info()

		{

				if [ `$STATUS` -gt 3 ];

				then

				echo "`$VERSION`: Process ID is `$STATUS`"

				echo ""

		echo '####################################################################'

		echo '# OPERATIONS'

		echo '# start   = start pyLoad (default)'

		echo '# stop	= stop pyLoad'

		echo '# restart = stop and start pyLoad'

		echo '# update  = update program files'

		echo '# debug   = enable debug mode + output'

		echo '# info	= print out PID and status of pyLoad'

		echo '# show	= print out Logfile while executing'

		echo '####################################################################'

				else

				echo "`$VERSION`: process is NOT active"

				fi

		}

		##########################################################################

		show()

		{

				start

				while [ `$STATUS` -gt 3 ]; do

				echo ""

				echo "***** ctrl + c to STOP OUTPUT and return *****"

				echo ""

				tail -f $LOG

				done

		}

		##########################################################################

		case "$1" in

		start)

				start

				;;

		stop)

				stop

				;;

		restart)

				stop

				sleep 5

				start

				;;

		update)

				update

				;;

		debug)

				debug

				;;

		info)

				info

				;;

		show)

				show

				;;

		*)

				echo "Usage: $SCRN (start|stop|restart|update|debug|info|show)" >&2

				exit 1

				;;

		esac


		exit 0

		##########################################################################

		# End of script

		##########################################################################

Bon courage.

TimY

Ton script a l'air de marcher.

Qd je fais :

./s90pyload.sh start

./s90pyload.sh: line 18: the: not found

sh: false: bad number

pyLoad 0.4.9: try to start

pyLoad 0.4.9: Daemon PID 7730

pyLoad 0.4.9:

successfully startet

DiskStation>

Et j'arrive à me connecter à pyload sur la webinterface.Du coup je reboot le nas mais la rien il a pas reboot !!

Je suis ds /etc/init.d

Posté(e)
  • Auteur

Je regarde le script et

SCRN=/usr/syno/etc.default/rc.d/S99pyload.sh

bizarre moi déjà c'est etc.defaults avec un "s" à la fin et de toute façon à cette endroit j'ai pas de fichier S99pyload.sh ...

Normal ?

J'ai essayé de mettre le script ds rc.d au lieu de init.d.

Dans ce cas même en lancant manuellement ça marche pas !!!

HELP please

Modifié par mehdi42

  • 2 semaines après...
Posté(e)
  • Auteur

Merci

j'ai jamais réussi à faire marche ce script

J'ai utilisé ce package : http://pvr.unzureichende.info/synology

Tout marche nickel

Posté(e)

Merci

j'ai jamais réussi à faire marche ce script

J'ai utilisé ce package : http://pvr.unzureichende.info/synology

Tout marche nickel

Bonsoir,

C'est quoi au juste ce package ?

Je bataille aussi avec un script S99pyload, différent du tiens ou celui de Timy, mais même chose

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…

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.