Posted: Thu Mar 17, 2016 16:51 Post subject: Transmission read only error
In the place I live at the moment we have very bad bittorrent policies. Maximum download speed is at 10 kB/s. From where I come from download speeds are excellent. I have tried to find other means to fulfill my addictions, but have not met one that is right for me. So I am stuck with bittorent to comply to my needs.
One of the DD-WRT goodies is transmission
Until now I have no luck with transmission though. Bad luck all the way from installing till using.
I'm on firmware: DD-WRT v3.0-r29218 std (03/07/2016) which has transmission pre-installed. When I tried downloading a torrent, I get an error "unable to save resume file read-only file system". I know what this error means, but I don't know how to fix it.
Transmission seems to have no rights to write to the disk.
I have tried different directories. I even tried putting the transmission folder in the /opt and /jffs directory with the same results. I mounted the /opt and /jffs directories first ofcourse.
My question is how to give Transmission write rigts to a certain folder?
chmod -r 770 /opt/foldername _________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
chmod -R 770 /opt/foldername works here all the time.
My ext3 usb stick is named opt, automounted to /opt, shared to opt.
I do not attach Win NTFS drives to my linux router. _________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
The command return no error this time.
I know chmod 770 is to give full access for yourself and your group. What does the -R means?
I still get the same error in Transmission though. I also give -R 770 permission to the folder "resume". Closed Transmission, started and did a reboot. I also flash and reconfigure the firmware from scratch again. The error persist.
I give full access for everyone (chmod 777) with and without the "-R" for the Transmission root folder and the "resume" folder. Command succeeded, but the error persist.
I tried another harddisk and the error persist.
Tried another build of the firmware (2016-02-01 r28647), but still no luck. Error persist.
1. Tried some other (4) BETA firmwares. Went back to till 2014.
Error still persist
2. Flashed the stock firmware and resetting settings. Hoping some stubborn bit will be reset. Flashed DD-WRT r29218 after the initial .chk DD-WRT firmware.
Error still persist.
3. Partitioned the drive into 2 partitions. 1st partition as Ext4 and the second partition as Linux swap.
Error still persist
4. Gave full permission to transmission folder and the resume folder.
Error still persist.
I am about to give up and revert back to stock firmware. I am out of ideas.
I had same problem and it does solves by chmod at all. every time i had read only error.
Try this
Connect to your router through PuTTY ssh mode
Username root and your router password
locate your transmission folder,
cd /jffs/transmission
then
vi settings.json
you will see setting file
next locate "download-dir": "//Downloads"
Create Downloads folder on your drive
go to your services->USB locate your mounting point, it should be like this /dev/sda4 mounted to /tmp/mnt/sda4
Copy everything after mounted to and past it instead //downloads in PuTTY window and add /downloads in the end it will look like this
"download-dir": "/tmp/mnt/sda4/Downloads"
press Shift+zz (or Esc then zz and enter)
file will be saved and you will see normal ssh terminal again
thats all
OMG!!! Your solution works! After 3 sleepless nights, I've got it working. You are my best friend at the moment.
Thanks alot!
I also understand now that the transmission folder you set in the Web UI is not the download folder. You set the download folder in the settings.json. It was set to //Downloads, which doesn't exist (no mounts). Therefor the read only error. I had expect a "No such directory" error though.
it doesn't matter exists downloads folder in transmission catalogue or not. All jffs partition is read only for other process, I dont know why!
Wish you a happy using of transmission!
Posted: Tue Mar 22, 2016 4:08 Post subject: Error: Read-only system error during torrent download
Try the below procedures:
1. Go to transmission web interface: http://192.168.11.1:9091/transmission/web/.
2. Click edit preferences button, second button on the lower left, the one with wrench icon.
3. On download to: textbox under Torrent tab, enter your download folder with this format //mnt//sda1//Downloads.
4. Close the window then try to download if it solves the read-only issue.
5. If it did not work make sure that the download folder do exists.
6. If #5 did not solve the issue, try to reboot the router and check the download path again then repeat step 1-4.
Posted: Wed Mar 23, 2016 0:34 Post subject: Re: Error: Read-only system error during torrent download
jonisip wrote:
Try the below procedures:
1. Go to transmission web interface: http://192.168.11.1:9091/transmission/web/.
2. Click edit preferences button, second button on the lower left, the one with wrench icon.
3. On download to: textbox under Torrent tab, enter your download folder with this format //mnt//sda1//Downloads.
4. Close the window then try to download if it solves the read-only issue.
5. If it did not work make sure that the download folder do exists.
6. If #5 did not solve the issue, try to reboot the router and check the download path again then repeat step 1-4.
Hope the above procedures will work for you too.
settings.json is read only for all web GUI manipulation. And your method will work until first reboot.
I was trying to setup Transmission on the latest build, but whenever I try to access the Web Interface it just times out. Can someone list steps to get it working.
I was trying to setup Transmission on the latest build, but whenever I try to access the Web Interface it just times out. Can someone list steps to get it working.
Enable and set a location on the NAS tab, then apply. Disable and apply again. On WinSCP or similar, navigate to your selected location and edit the settings.json file. Save it, then enable transmission again.