Njon
-
Posts
160 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by Njon
-
-
As always I have some problems
First. I reinstalled pyload using the new package you posted and now unmenu says:
Package File: pyload-src-v0.4.9.zip md5 Checksum: 4fbc0ee89cafc709eb01addd07a9c0f7 (NOT matched - download may be corrupted or download URL no longer valid.)
Second. Pyload is extremely slow!
root@TServer:~# cat /etc/rc.d/unraid.d/rc.unraid_pyload case $1 in start) if test -e /etc/rc.d/unraid.d/rc.unraid_pyload -a $(ps auxwww | grep pyLoadCore.py | grep -v grep | wc -l) -lt 1; then if [ -d "/mnt/disk1/.pyload" ]; then test -f /etc/unraid-version && UNRAID_VERSION=`cat /etc/unraid-version | awk '{split($0,a,"="); print a[2]}' | awk '{split($0,b,"-"); print b[1]}'` if [ "${UNRAID_VERSION}" = "5.0" ]; then cd /mnt/disk1/.pyload chown -R nobody:users . chmod 755 /mnt/disk1/.pyload/pyload.conf LOG_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep log_folder | awk '{print$6}') mkdir -p "$LOG_DIR" DOWNLOAD_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep download_folder | awk '{print$7}') mkdir -p "$DOWNLOAD_DIR" chown -R nobody:users "$LOG_DIR" chown -R nobody:users "$DOWNLOAD_DIR" usermod -s /bin/bash nobody > /dev/null 2>&1 su nobody -c "python /mnt/disk1/.pyload/pyLoadCore.py --daemon > /dev/null 2>&1" echo "pyLoad started as nobody." else LOG_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep log_folder | awk '{print$6}') mkdir -p "$LOG_DIR" DOWNLOAD_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep download_folder | awk '{print$7}') mkdir -p "$DOWNLOAD_DIR" python /mnt/disk1/.pyload/pyLoadCore.py --daemon > /dev/null 2>&1 echo "pyLoad started as root." fi else echo "pyLoad could not be started because the installation directory, /mnt/disk1/.pyload, could not be found." echo "If pyLoad is installed to the unRAID array and the unRAID array is stopped, use the buttons on the User Scripts page to start pyLoad once the unRAID array is started." fi else echo "pyLoad is already started." fi ;; stop) if [[ ! -z $(ps -ef | grep pyLoadCore.py | grep -v grep | awk '{print$2}') ]]; then sleep 5 for i in $(ps -ef | grep pyLoadCore.py | grep -v grep | awk '{print$2}') do if [[ $(ps -fp $i | awk 'NR>1' | awk '{print $9}') = "/mnt/disk1/.pyload/pyLoadCore.py" ]]; then kill $i echo "<font color=\"red\"><b>Killed pyLoad process $i</b></font>" fi sleep 5 done echo "pyLoad stopped." else echo "pyLoad is already stopped." fi ;; version) chmod +x /mnt/disk1/.pyload/pyLoadCore.py /mnt/disk1/.pyload/pyLoadCore.py -v | awk '{print$2}' ;; esac root@TServer:~# ls -al /mnt/disk1/.pyload total 199 drwxrwx--- 9 nobody users 752 2012-02-11 08:21 ./ drwxrwx--- 9 nobody users 288 2012-01-26 19:45 ../ -rw-rw---- 1 nobody users 149 2011-12-15 17:37 .hg_archival.txt -rw-rw---- 1 nobody users 32422 2011-12-15 17:37 LICENSE -rw-rw---- 1 nobody users 2541 2011-12-15 17:37 README -rw------- 1 nobody users 498 2012-02-11 10:24 accounts.conf -rw------- 1 nobody users 35840 2012-02-11 08:21 files.db -rw-rw---- 1 nobody users 2 2011-12-15 17:37 files.version drwxrwx--- 2 nobody users 720 2011-12-15 17:37 icons/ drwxrwx--- 17 nobody users 616 2011-12-15 17:37 locale/ drwxrwx--- 12 nobody users 1264 2011-12-15 17:41 module/ -rw-rw---- 1 nobody users 9105 2011-12-15 17:37 pavement.py -rw------- 1 nobody users 5679 2012-02-06 20:41 plugin.conf -rw-rw---- 1 nobody users 19879 2011-12-15 17:37 pyLoadCli.py -rwxrwx--x 1 nobody users 22464 2011-12-15 17:37 pyLoadCore.py* -rw-rw---- 1 nobody users 28650 2011-12-15 17:37 pyLoadGui.py -rw------- 1 nobody users 2508 2012-02-06 20:41 pyload.conf -rw-rw-rw- 1 nobody users 5 2012-02-06 20:41 pyload.pid drwxrwx--- 10 nobody users 360 2011-12-15 17:37 scripts/ -rw-rw---- 1 nobody users 117 2011-12-15 17:37 setup.cfg -rw-rw---- 1 nobody users 3406 2011-12-15 17:37 systemCheck.py -rw-rw---- 1 nobody users 1005 2011-12-15 17:37 testlinks.txt drwxrwx--- 2 nobody users 112 2011-12-15 17:37 tests/ drwxrwx--- 5 nobody users 152 2012-02-11 07:54 tmp/ -rw-rw---- 1 nobody users 0 2011-12-15 17:51 unrar_passwords.txt drwxrwx--- 9 nobody users 288 2012-01-07 19:42 userplugins/ root@TServer:~# /etc/rc.d/unraid.d/rc.unraid_pyload version 0.4.9 root@TServer:~# cat /boot/packages/pyload-src-v0.4.9.zip.manual_install
-
ahh ok! Thank you!
-
prostuff sorry, but I cannot find this: "The "transmission" folder in the "custom" folder on the flash drive"
is it normal?
-
Did you install unrar (from unmenu)?
I had your problem but then I checked the log and at the beginning it said "ExtractArchive: UnRar not installed". So I installed unrar via unmenu and then I restarted pyload...
-
My god, it's extracting!!!!
Finally happy, thanks prostuff
-
So sorry
root@TServer:~# cat /etc/rc.d/unraid.d/rc.unraid_pyload case $1 in start) if test -e /etc/rc.d/unraid.d/rc.unraid_pyload -a $(ps auxwww | grep pyLoadCore.py | grep -v grep | wc -l) -lt 1; then if [ -d "/mnt/disk1/.pyload" ]; then test -f /etc/unraid-version && UNRAID_VERSION=`cat /etc/unraid-version | awk '{split($0,a,"="); print a[2]}' | awk '{split($0,b,"-"); print b[1]}'` if [ "${UNRAID_VERSION}" = "5.0" ]; then cd /mnt/disk1/.pyload chown -R nobody:users . chmod 755 /mnt/disk1/.pyload/pyload.conf LOG_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep log_folder | awk '{print$6}') mkdir -p "$LOG_DIR" DOWNLOAD_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep download_folder | awk '{print$7}') mkdir -p "$DOWNLOAD_DIR" chown -R nobody:users "$LOG_DIR" chown -R nobody:users "$DOWNLOAD_DIR" usermod -s /bin/bash nobody > /dev/null 2>&1 su nobody -c "python /mnt/disk1/.pyload/pyLoadCore.py --daemon > /dev/null 2>&1" echo "pyLoad started as nobody." else LOG_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep log_folder | awk '{print$6}') mkdir -p "$LOG_DIR" DOWNLOAD_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep download_folder | awk '{print$7}') mkdir -p "$DOWNLOAD_DIR" python /mnt/disk1/.pyload/pyLoadCore.py --daemon > /dev/null 2>&1 echo "pyLoad started as root." fi else echo "pyLoad could not be started because the installation directory, /mnt/disk1/.pyload, could not be found." echo "If pyLoad is installed to the unRAID array and the unRAID array is stopped, use the buttons on the User Scripts page to start pyLoad once the unRAID array is started." fi else echo "pyLoad is already started." fi ;; stop) if [[ ! -z $(ps -ef | grep pyLoadCore.py | grep -v grep | awk '{print$2}') ]]; then sleep 5 for i in $(ps -ef | grep pyLoadCore.py | grep -v grep | awk '{print$2}') do if [[ $(ps -fp $i | awk 'NR>1' | awk '{print $9}') = "/mnt/disk1/.pyload/pyLoadCore.py" ]]; then kill $i echo "<font color=\"red\"><b>Killed pyLoad process $i</b></font>" fi sleep 5 done echo "pyLoad stopped." else echo "pyLoad is already stopped." fi ;; version) /mnt/disk1/.pyload/pyLoadCore.py -v | awk '{print$2}' ;; esac root@TServer:~# ls -al /mnt/disk1/.pyload total 255 drwxrwx--- 9 nobody users 752 2011-12-15 15:23 ./ drwxrwx--- 8 nobody users 264 2011-11-30 18:23 ../ -rw-rw---- 1 nobody users 149 2011-12-15 15:01 .hg_archival.txt -rw-rw---- 1 nobody users 32422 2011-12-15 15:01 LICENSE -rw-rw---- 1 nobody users 2541 2011-12-15 15:01 README -rw------- 1 nobody users 377 2011-12-15 15:02 accounts.conf -rw------- 1 nobody users 87040 2011-12-15 15:23 files.db -rw-rw---- 1 nobody users 2 2011-11-27 20:14 files.version drwxrwx--- 2 nobody users 720 2011-11-27 20:14 icons/ drwxrwx--- 17 nobody users 616 2011-12-15 15:01 locale/ drwxrwx--- 12 nobody users 1264 2011-12-15 15:02 module/ -rwxr-xr-x 1 nobody users 9105 2011-12-15 15:01 pavement.py* -rw------- 1 nobody users 5010 2011-12-15 15:20 plugin.conf -rw-rw---- 1 nobody users 19879 2011-12-15 15:01 pyLoadCli.py -rw-rw---- 1 nobody users 22464 2011-12-15 15:01 pyLoadCore.py -rw-rw---- 1 nobody users 28650 2011-12-15 15:01 pyLoadGui.py -rw------- 1 nobody users 2514 2011-12-15 15:20 pyload.conf -rw-rw-rw- 1 nobody users 5 2011-12-15 15:02 pyload.pid drwxrwx--- 10 nobody users 360 2011-11-27 20:15 scripts/ -rwxr-xr-x 1 nobody users 117 2011-12-15 15:01 setup.cfg* -rw-rw---- 1 nobody users 3406 2011-12-15 15:01 systemCheck.py -rw-rw---- 1 nobody users 1005 2011-12-15 15:01 testlinks.txt drwxr-xr-x 2 nobody users 112 2011-12-15 15:01 tests/ drwxrwx--- 5 nobody users 488 2011-12-02 23:27 tmp/ -rw-rw---- 1 nobody users 24 2011-11-27 20:16 unrar_passwords.txt drwxrwx--- 9 nobody users 256 2011-12-15 15:02 userplugins/ root@TServer:~# /etc/rc.d/unraid.d/rc.unraid_pyload version /etc/rc.d/unraid.d/rc.unraid_pyload: line 52: /mnt/disk1/.pyload/pyLoadCore.py: Permission denied root@TServer:~# cat /boot/packages/pyload-src-v0.4.8.zip.manual_install
-
prostuff1 I'm so sorry to bother you again but I have another problem : "Installed, but version is different.Current version='' expected '0.4.9'"
Luckily it's not vital, but it's annoying
-
"new unrar plugin" sounds good
ah prostuff1 I solved my permissions problems setting permission at 0777 in the config page
-
before... there are some some folders which are ok (old new permission). Folders like "La Bella e la Bestia", "La musica nel cuore", "81719" are wrong.
-
i'm sorry, but now also with smb i can't modify the files in the Download folder.
So now i think that i have a wrong configuration of pyload. I tried to reinstall everything but the situation doesn't change: i still have to manually repair permission running a "New permission" process.
Here is the code you requested
root@TServer:~# ls -al /mnt/disk1/Tiny_Server/Downloads/ total 23 drwxrwx--- 11 nobody users 384 2011-12-05 07:32 ./ drwxrwx--- 11 nobody users 432 2011-12-02 15:12 ../ drwxrwx--- 2 nobody users 104 2011-10-15 14:23 .AppleDouble/ -rw-rw---- 1 nobody users 15364 2011-12-05 14:41 .DS_Store drwxr-xr-x 2 nobody users 496 2011-12-04 12:03 81719/ drwxrwx--- 3 nobody users 136 2011-11-15 17:09 Call\ of\ Duty\ 2/ drwxrwx--- 3 nobody users 112 2011-12-01 20:00 Fantasia/ drwxr-xr-x 2 nobody users 5856 2011-12-02 22:07 La\ Bella\ e\ la\ Bestia/ drwxr-xr-x 2 nobody users 528 2011-12-05 08:02 La\ musica\ nel\ cuore/ drwxrwx--- 4 nobody users 112 2011-11-30 18:21 Lightroom/ drwxrwx--- 3 nobody users 136 2011-11-30 18:21 NikSoftwarePlugin/ drwxrwx--- 3 nobody users 688 2011-12-03 17:24 Un\ Amore\ e\ una\ Vendetta/
-
so now it's SMB time!
Thank you for the support
-
I discovered something!
I'm on a mac and I use afp to connect to the server. Whit smb I have all the permissions I want! So I reckon it's an AFP problem!
-
root@TServer:~# ps -ef | grep pyload root 5243 5226 0 16:49 pts/0 00:00:00 grep pyload nobody 17589 1 0 Nov27 ? 00:41:09 python /mnt/disk1/.pyload/pyLoadCore.py --daemon
Yes, I log in as admin... I tried to add a new user typing the command
python pyLoadCore.py -u
but the problem still remain also because if I uncheck the admin field (creating a non-admin user) I can't access the web interface!
probably this could help
-
-
Sorry man
root@TServer:~# cat /etc/rc.d/unraid.d/rc.unraid_pyload case $1 in start) if test -e /etc/rc.d/unraid.d/rc.unraid_pyload -a $(ps auxwww | grep pyLoadCore.py | grep -v grep | wc -l) -lt 1; then if [ -d "/mnt/disk1/.pyload" ]; then test -f /etc/unraid-version && UNRAID_VERSION=`cat /etc/unraid-version | awk '{split($0,a,"="); print a[2]}' | awk '{split($0,b,"-"); print b[1]}'` if [ "${UNRAID_VERSION}" = "5.0" ]; then cd /mnt/disk1/.pyload chown -R nobody:users . chmod 755 /mnt/disk1/.pyload/pyload.conf LOG_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep log_folder | awk '{print$6}') mkdir -p "$LOG_DIR" DOWNLOAD_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep download_folder | awk '{print$7}') mkdir -p "$DOWNLOAD_DIR" chown -R nobody:users "$LOG_DIR" chown -R nobody:users "$DOWNLOAD_DIR" usermod -s /bin/bash nobody > /dev/null 2>&1 su nobody -c "python /mnt/disk1/.pyload/pyLoadCore.py --daemon > /dev/null 2>&1" echo "pyLoad started as nobody." else LOG_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep log_folder | awk '{print$6}') mkdir -p "$LOG_DIR" DOWNLOAD_DIR=$(cat /mnt/disk1/.pyload/pyload.conf | grep download_folder | awk '{print$7}') mkdir -p "$DOWNLOAD_DIR" python /mnt/disk1/.pyload/pyLoadCore.py --daemon > /dev/null 2>&1 echo "pyLoad started as root." fi else echo "pyLoad could not be started because the installation directory, /mnt/disk1/.pyload, could not be found." echo "If pyLoad is installed to the unRAID array and the unRAID array is stopped, use the buttons on the User Scripts page to start pyLoad once the unRAID array is started." fi else echo "pyLoad is already started." fi ;; stop) if [[ ! -z $(ps -ef | grep pyLoadCore.py | grep -v grep | awk '{print$2}') ]]; then sleep 5 for i in $(ps -ef | grep pyLoadCore.py | grep -v grep | awk '{print$2}') do if [[ $(ps -fp $i | awk 'NR>1' | awk '{print $9}') = "/mnt/disk1/.pyload/pyLoadCore.py" ]]; then kill $i echo "<font color=\"red\"><b>Killed pyLoad process $i</b></font>" fi sleep 5 done echo "pyLoad stopped." else echo "pyLoad is already stopped." fi ;; version) /mnt/disk1/.pyload/pyLoadCore.py -v | awk '{print$2}' ;; esac root@TServer:~# ls -al /mnt/disk1/.pyload total 243 drwxrwx--- 8 nobody users 696 2011-11-30 18:15 ./ drwxrwx--- 8 nobody users 264 2011-11-30 18:23 ../ -rw-rw---- 1 nobody users 122 2011-11-27 20:14 .hg_archival.txt -rw-rw---- 1 nobody users 32422 2011-11-27 20:14 LICENSE -rw-rw---- 1 nobody users 2655 2011-11-27 20:14 README -rw-rw---- 1 nobody users 339 2011-11-27 20:18 accounts.conf -rw------- 1 nobody users 69632 2011-11-30 18:15 files.db -rw-rw---- 1 nobody users 24248 2011-11-30 18:28 files.db-journal -rw-rw---- 1 nobody users 2 2011-11-27 20:14 files.version drwxrwx--- 2 nobody users 720 2011-11-27 20:14 icons/ drwxrwx--- 15 nobody users 568 2011-11-27 20:14 locale/ drwxrwx--- 12 nobody users 1264 2011-11-30 18:24 module/ -rw-rw---- 1 nobody users 4254 2011-11-30 18:14 plugin.conf -rw-rw---- 1 nobody users 19818 2011-11-27 20:14 pyLoadCli.py -rw-rw---- 1 nobody users 21049 2011-11-27 20:14 pyLoadCore.py -rw-rw---- 1 nobody users 28514 2011-11-27 20:14 pyLoadGui.py -rw-rw---- 1 nobody users 2473 2011-11-30 18:14 pyload.conf -rw-rw---- 1 nobody users 5 2011-11-27 20:18 pyload.pid drwxrwx--- 10 nobody users 360 2011-11-27 20:15 scripts/ -rw-rw---- 1 nobody users 3402 2011-11-27 20:14 systemCheck.py -rw-rw---- 1 nobody users 1005 2011-11-27 20:14 testlinks.txt drwxrwx--- 5 nobody users 152 2011-11-27 20:15 tmp/ -rw-rw---- 1 nobody users 24 2011-11-27 20:16 unrar_passwords.txt drwxrwx--- 8 nobody users 232 2011-11-27 20:15 userplugins/ root@TServer:~# /etc/rc.d/unraid.d/rc.unraid_pyload version /etc/rc.d/unraid.d/rc.unraid_pyload: line 52: /mnt/disk1/.pyload/pyLoadCore.py: Permission denied root@TServer:~# cat /boot/packages/pyload-src-v0.4.7.zip.manual_install
for the second code I already ran a new permission script, so I need to download another file (tomorrow)
Thank you
-
I'm having a strange issue... I loose permissions every time I download something! So if i want to extract a file, or delete one i can't do it. The only solution is to start a "new permission" process that re-gives me the power of doing something on my server
-
I would give it a try
I would only know where those files (log, tmp) are located, then I will simply put the script in the script folder and see if it works or not!
-
please help
-
I found this:
#!/bin/bash #Date for Log date >> /DataVolume/Public/log.txt #Set TMPDIR variable into env for big file size export TMPDIR=/CacheVolume/tmp echo Directory TEMP = $TMPDIR #Move to the download folder of pyLoad cd /DataVolume/Public/Downloads #Save my ls for directory tree tree="$(ls|grep -v '^:.*')" for i in $tree do echo Processing directory $i >> /DataVolume/Public/log.txt cd /DataVolume/Public/Downloads/$i #Checking for temp files ok=$(ls | grep -v '^.*.r..$') #IF there are temp files then skip the directory else start to extract it if [ $? -eq 0 ] then echo Directory not ready for extraction. Skip to next one. >> /DataVolume/Public/log.txt continue else archive=$(ls|grep '^.*.rar$'|head -1) if [ $? -eq 0 ] then echo The archive $archive will be now extract. echo Processing $archive >> /DataVolume/Public/log.txt #Create a log file for the extraction output of the archive touch OutputEstrazione.txt #Start with unrar process of the selected archive unrar x $archive /DataVolume/Public/Shared\ Videos/New/ >> OutputEstrazione.txt if [ $? -eq 0 ] then echo $i succesfuly extracted >> /DataVolume/Public/log.txt rm -rf /DataVolume/Public/Downloads/$i fi else echo There is a strange case... Why you are here?!!!. >> /DataVolume/Public/log.txt fi fi done
It is for a NAS but I think that changing folder's path with your help, it should work.
Who helps me? I'm not able to find the log file...
-
Pyload doesn't want to extract my files... It did it once and then it never did it again. The log file says "Extracting..." but nothing appens...
is it normal??
-
What a nice package! Congratulations
Only one question: is it normal that I don't have an "unrar" submenu where I can decide if i want to extract an archive or not?
Thank you
EDIT: I found it, under plug-ins
-
Hei guys!
Another problem: my server disconnects randomly, usually after 2-4 minutes. This started after I tried to modify settings to access via NFS but now I reset everything as it was before.
Help please, is very annoying!
I'm using unraid ver. 4.7 (access via samba)
Syslog attached
http://www.megaupload.com/?d=GN71VUJ7 (problems with the forum)
-
I tried, and in fact from a windows box the transfer speed was considerably higher (50/60 MegaBytes) so it's not an unraid's problem. Every machine is on a gigabit lan (also the mac).
Today I was transferring some files from my mac and I saw the transfer speed rise to 60 MB for about a minute and than fall again ... it's a mac (smb) problem
"Jumbo" frames could solve the problem?
-
I'm writing on a brand new EARS, so without jumper, with 4k MBR setting enabled. The other disks are MBR unaligned...problems of the motherboard (P5W Dh Deluxe)?
Edit: Yes, I'm using unraid 4.7
pyLoad unMenu package
in User Customizations
Posted
Now all my problems disappeared ( ) but another one came on surface:
ExtractArchive: No UnRar installed
Last time I fixed it reinstalling unrar, but this time the trick doesn't work...