Forum
[Part 1] Download torrent & newsserver package - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: [Part 1] Download torrent & newsserver package (/thread-196.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


RE: Download torrent & newsserver package - harmenzon - 16th Feb, 2013 11:55 PM

(16th Feb, 2013 11:48 PM)CurlyMo Wrote:  
Code:
man dpkg
^-- works for almost all programs.

However, no need to use them because in the xbian packages, purge and remove work the same.

So I still use the following?
Code:
mkdir /media/usb/downloads
mkdir /media/usb/incomplete
cp -R /home/xbian/downloads/* /media/usb/downloads/
cp -R /home/xbian/incomplete/* /media/usb/incomplete/
rm -r /home/xbian/downloads
rm -r /home/xbian/incomplete
ln -s /media/usb/downloads /home/xbian/downloads
ln -s /media/usb/incomplete /home/xbian/incomplete



RE: Download torrent & newsserver package - kraleksandr - 16th Feb, 2013 11:59 PM

If I move Dl and incomplete transmission dirs to another location through settings file, destination dirs must be xbian:xbian,777, right?


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 12:08 AM

I just tested writing to usb, no problem Smile. What i did was:

Code:
mv /home/xbian/downloads /media/usb/
mv /home/xbian/incomplete /media/usb/
mv /home/xbian/torrents /media/usb/
ln -s /media/usb/downloads /home/xbian/downloads
ln -s /media/usb/incomplete /home/xbian/incomplete
ln -s /media/usb/torrents /home/xbian/torrents



RE: Download torrent & newsserver package - kraleksandr - 17th Feb, 2013 12:14 AM

You said that symbolic link is better than another dir in settings.json?


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 12:16 AM

Yes, don't change these settings.


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 01:24 AM

Already downloading for an hour now to my usb drive.


RE: Download torrent & newsserver package - harmenzon - 17th Feb, 2013 02:05 AM

(17th Feb, 2013 01:24 AM)CurlyMo Wrote:  Already downloading for an hour now to my usb drive.

Sounds great!
Not so much luck on my side yet... After reinstalling all packages, the webgui of transmission, nzbget and couchpotato are starting, but the webgui of sickbeard and headphones are not.

When trying the long command of sickbeard, no errors show. Any ideas?


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 02:08 AM

No, i just installed the latest versions of the packages like in the FP, and moved the folders to my usb drive. Still working, even after a reboot.


RE: Download torrent & newsserver package - harmenzon - 17th Feb, 2013 02:15 AM

(17th Feb, 2013 02:08 AM)CurlyMo Wrote:  No, i just installed the latest versions of the packages like in the FP, and moved the folders to my usb drive. Still working, even after a reboot.

ok. maybe i messed something up then. i will do a complete new install tomorrow. thanks. when installing again, are the packages removed first? or is this still a manual process. if so, what was the command again to remove a package?


RE: Download torrent & newsserver package - kraleksandr - 17th Feb, 2013 02:21 AM

UPnP port mapping in transmission works or I need to do this manually?

Looks like it works, but it disabled o_O


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 02:28 AM

@harmenzon, please try to figure out thing more by yourself. I already said you can look up the manual of (the dpkg) command(s) by:
Code:
man dpkg



RE: Download torrent & newsserver package - kraleksandr - 17th Feb, 2013 02:32 AM

Clean install, wget && dpkg -i transmission, mv && ln.
"Unable to save..." again


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 02:37 AM

I'm currently testing with nzbget, will test later with transmission.


RE: Download torrent & newsserver package - kraleksandr - 17th Feb, 2013 02:39 AM

If u need, I can give u ssh access.


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 02:39 AM

I will first test things locally.

Both transmission and nzbget work:
Code:
root@xbian:~# fdisk -l

Disk /dev/mmcblk0: 4012 MB, 4012900352 bytes
4 heads, 16 sectors/track, 122464 cylinders, total 7837696 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f06a6

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1            2048       71679       34816    c  W95 FAT32 (LBA)
/dev/mmcblk0p2           71680     7837695     3883008   83  Linux

Disk /dev/sda: 4063 MB, 4063232000 bytes
5 heads, 32 sectors/track, 49600 cylinders, total 7936000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5ff61c6a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        8064     7935999     3963968    c  W95 FAT32 (LBA)

Code:
root@xbian:~# df -h
Filesystem                           Size  Used Avail Use% Mounted on
rootfs                               3.7G  1.2G  2.5G  32% /
/dev/mmcblk0p2                       3.7G  1.2G  2.5G  32% /
tmpfs                                 13M  256K   12M   3% /run
tmpfs                                5.0M     0  5.0M   0% /run/lock
tmpfs                                 10M     0   10M   0% /dev
/dev/sda1                            3.8G  766M  3.1G  20% /media/usb0
tmpfs                                 25M     0   25M   0% /run/shm
/dev/mmcblk0p1                        34M   13M   22M  36% /boot

Code:
-rw------- 1 xbian xbian      144 Feb  6 14:08 .bash_history
-rw-r--r-- 1 xbian xbian      220 Jul 24  2012 .bash_logout
-rw-r--r-- 1 root  xbian     3263 Feb  6 13:56 .bashrc
-rw-r--r-- 1 xbian xbian      675 Jul 24  2012 .profile
drwxr-xr-x 2 xbian xbian     4096 Feb 15 19:03 .smb
drwxr-xr-x 8 xbian xbian     4096 Jan  1  1970 .xbmc
lrwxrwxrwx 1 root  root        20 Feb 16 14:58 downloads -> /media/usb/downloads
lrwxrwxrwx 1 root  root        21 Feb 16 14:58 incomplete -> /media/usb/incomplete
-rw-r--r-- 1 xbian xbian   382617 Feb 16 18:05 nzbget.log
lrwxrwxrwx 1 root  root        19 Feb 16 14:58 torrents -> /media/usb/torrents

Code:
root@xbian:~# ls -Al /media/usb
lrwxrwxrwx 1 root root 4 Nov 11 18:18 /media/usb -> usb0

Code:
root@xbian:~# ls -Al /media/usb/
total 16
drwxrwxrwx 3 xbian xbian 4096 Feb 10 13:44 downloads
drwxrwxrwx 2 xbian xbian 8192 Feb 16 18:12 incomplete
drwxrwxrwx 8 xbian xbian 4096 Feb 16 18:09 torrents

Code:
root@xbian:~# ls -Al /media/usb0/
total 16
drwxrwxrwx 3 xbian xbian 4096 Feb 10 13:44 downloads
drwxrwxrwx 2 xbian xbian 8192 Feb 16 18:12 incomplete
drwxrwxrwx 8 xbian xbian 4096 Feb 16 18:09 torrents

Hmm, transmission hangs...