NSA325v2: Transmission default download folder

2

All Replies

  • Oscwo
    Oscwo Posts: 40  Freshman Member
    First Comment Friend Collector Second Anniversary

    Thanks but I don't understand how that helps me to edit this setting. If I understand correctly you gave me earlier the file path to the general settings of the Transmission app? How do I go from there to specifically editing where Transmission saves the files?

    This is what I get when entering the command:

    "

    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~

    • /i-data/sysvol/.PKG/Transmission/config/Transmission/settings.json 1/1 100% "

    What would be the next step here?

  • Mijzelf
    Mijzelf Posts: 2,827  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    You should have seen the contents of the file, but instead you see nothing. So either the file is empty, or it isn't there. Is it possible that you installed Transmission on another volume than default?

  • Oscwo
    Oscwo Posts: 40  Freshman Member
    First Comment Friend Collector Second Anniversary

    Yeah I just reinstalled Transmission and chose to put it on "Volume 3" instead of "Volume 1" which would have been the default.

    Do I have to reinstall again or can the command be edited to fit the current location?

    vi /i-data/sysvol/.PKG/Transmission/config/Transmission/settings.json
    

    I tried changing sysvol to "sysvol3" but it did nothing.

  • Mijzelf
    Mijzelf Posts: 2,827  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    If the volume is not the default one, the path to the file is not predictable, as the mountpoints of the volumes are random names (sysvol is not really a directory, but a symlink to the random name which contains volume 1).

    Yet it is easy to get a list of the random names:

    ls /i-data
    

  • Oscwo
    Oscwo Posts: 40  Freshman Member
    First Comment Friend Collector Second Anniversary

    Thanks Mijzelf,

    That did not go as planned though.

    ls /i-data
    

    Did get me a list of 3 random "file names" but replacing "sysvol" on the command you gave with either of those changed nothing. File is empty or not there.

    Any clue?

  • Mijzelf
    Mijzelf Posts: 2,827  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    find /i-data/
    

    will give a full listing of all files in /i-data/, with their full path. That is way to much, so you can filter it on paths containing transmission (as string):

    find /i-data/ | grep -i transmission
    

    The -i makes the filter case independent.

    If that is still too much data, you could add a json filter:

    find /i-data/ | grep -i transmission | grep -i json
    

  • Oscwo
    Oscwo Posts: 40  Freshman Member
    First Comment Friend Collector Second Anniversary


    Thanks a bunch Mijzelf,

    I was able to find the correct path with your 3rd command as the 2nd yielded way to many results.

    I was also happy to be able to edit the settings with the instructions from your link.

    Now the only problem is when I download a file on Transmission I get the "No space left on device"- error message. I have space on all my volumes/drives so that is not the issue.

    Do you have any idea? One thing I was unsure about is weather I was right in keeping the beginning of the default file path that was there?

    Meaning the original was: "/etc/zyxel/storage/sysvol….." I edited it to "/etc/zyxel/storage/randomfilenameofmynewvolume/……"

  • Oscwo
    Oscwo Posts: 40  Freshman Member
    First Comment Friend Collector Second Anniversary

    If you have time to take a look I'll post the edited settings below:

    ~ # vi /i-data/randomfilenameofmynewvolume/.PKG/Transmission/config/Transmission/settings.json
    {
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": true,
    "blocklist-updates-enabled": true,
    "blocklist-url": "http://www.example.com/blocklist",
    "cache-size-mb": 4,
    "dht-enabled": true,
    "download-dir": "/etc/zyxel/storage/randomfilenameofmynewvolum/Storage/Transmission/",
    "download-queue-enabled": true,
    "download-queue-size": 5,
    "encryption": 0,
    "filter-mode": "show-seeding",
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/etc/zyxel/storage/randomfilenameofmynewvolum/Storage/Incomplete/",

    • /i-data/randomfilenameofmynewvolume/.PKG/Transmission/config/Transmission/settings.json 1/104 0%

  • Mijzelf
    Mijzelf Posts: 2,827  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    Ah right. /i-data/sysvol is a symlink which points to /etc/zyxel/storage/sysvol, which on his term points to /i-data/<somestring>.
    /etc/zyxel is the mountpoint of the config flash partition, and /etc/zyxel/storage/sysvol was created when the volume was created, and stored on flash.
    This way the box 'knows' which volume is the system volume.

    Now you have set the download directory to '/etc/zyxel/storage/<something>', which is a directory on the flash partition, which is small, and apparently full now.

    You should edit the directories to '/i-data/randomfilenameofmynewvolume/...', and then execute

    rm -rf /etc/zyxel/storage/randomfilenameofmynewvolume
    

    to remove the created directories from the flash partition.

  • Oscwo
    Oscwo Posts: 40  Freshman Member
    First Comment Friend Collector Second Anniversary

    And it finally works as intended! Good to have Transmission back and optimized for my storage capacity.

    Thanks a million for all the help Mijzelf. That was pretty fun, made you feel like a real hacker there :D.

    Btw, the last bit of code you gave to remove the faulty directory did not give any feedback to indicate it worked. Maybe that is as it should be?

Consumer Product Help Center