Njon

Members
  • Posts

    160
  • Joined

  • Last visited

Everything posted by Njon

  1. "new unrar plugin" sounds good ah prostuff1 I solved my permissions problems setting permission at 0777 in the config page
  2. 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.
  3. 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/
  4. so now it's SMB time! Thank you for the support
  5. 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!
  6. 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
  7. 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
  8. 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
  9. 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!
  10. 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...
  11. 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??
  12. 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
  13. 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)
  14. 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?
  15. 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
  16. You are my hero Now it works fine!! Last question: is it normal that I have a transfer rate over Gigabit line of 30/35 Mb/s without the parity drive? I'm using a mac with smb Thank you again
  17. I'm really sorry, I was trying to find a quick solution...stupid me So now, i solved the previous problem reguarding the Sata port but now I have a bigger one: every time i boot my system up, unraid seems to forget to add the new two disks that I've recently added (the WD10EADS and the WD20EARS) so I always have to re-add them. I attached the system log of my server. I hope I didn't do something wrong... Thanks for the help Unraid_Server.doc
  18. I nearly solved the problem changing the sata port, but now i have a bigger problem: every time I boot up my server I have to re-add the 2 drives that I recently added...this is very disappointing . What can I do? Please help, i'm a noob
  19. Hi all, I've recently bought one of this drives and today I installed it into my computer. Now the name displayed on Unraid main page is "External_Disk_0_0E088AF__________0_A" and the temp is 0°... it's a motherboard problem? I'm using an Asus P5W Dh Deluxe and the drive is attached to the "Raid" Sata port. Please help me