Transmission read only error

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
Bladiblato
DD-WRT Novice


Joined: 10 Mar 2016
Posts: 37

PostPosted: Thu Mar 17, 2016 16:51    Post subject: Transmission read only error Reply with quote
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 Very Happy
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?
Sponsor
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Thu Mar 17, 2016 16:55    Post subject: Reply with quote
From a cli or the command window:

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
Bladiblato
DD-WRT Novice


Joined: 10 Mar 2016
Posts: 37

PostPosted: Thu Mar 17, 2016 17:24    Post subject: Reply with quote
Running chmod -r 770 /opt/transmission in the web interface results:

chmod: 770: No such file or directory

Running chmod -r 770 /tmp/mnt/sda1/opt/transmission results:

chmod: 770: No such file or directory

Running:

mount -o bind /tmp/mnt/sda1/opt /opt
chmod -r 770 /opt/transmission

Results: chmod: 770: No such file or directory

I am running Windows here if that makes any different. The disk, attached on the router with the ransmission folder, is formatted as NTFS.
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Fri Mar 18, 2016 1:50    Post subject: Reply with quote
Oops, should be -R.

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
Bladiblato
DD-WRT Novice


Joined: 10 Mar 2016
Posts: 37

PostPosted: Fri Mar 18, 2016 4:45    Post subject: Reply with quote
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.

Maybe it's hardware related?!
Bladiblato
DD-WRT Novice


Joined: 10 Mar 2016
Posts: 37

PostPosted: Fri Mar 18, 2016 13:53    Post subject: Reply with quote
I format the drive as FAT32. Error still persist.
Check the drive for errors and repair. No errors were found.

Question Question Question
Bladiblato
DD-WRT Novice


Joined: 10 Mar 2016
Posts: 37

PostPosted: Fri Mar 18, 2016 17:40    Post subject: Reply with quote
Tried some other stuff ...

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.
Nonikoff
DD-WRT Novice


Joined: 18 Mar 2016
Posts: 30

PostPosted: Fri Mar 18, 2016 23:54    Post subject: Reply with quote
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
Bladiblato
DD-WRT Novice


Joined: 10 Mar 2016
Posts: 37

PostPosted: Sat Mar 19, 2016 18:32    Post subject: Reply with quote
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.
Nonikoff
DD-WRT Novice


Joined: 18 Mar 2016
Posts: 30

PostPosted: Sat Mar 19, 2016 21:41    Post subject: Reply with quote
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!
jonisip
DD-WRT Novice


Joined: 22 Mar 2016
Posts: 1

PostPosted: Tue Mar 22, 2016 4:08    Post subject: Error: Read-only system error during torrent download Reply with quote
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.
Nonikoff
DD-WRT Novice


Joined: 18 Mar 2016
Posts: 30

PostPosted: Wed Mar 23, 2016 0:34    Post subject: Re: Error: Read-only system error during torrent download Reply with quote
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.
deppy_v2
DD-WRT Novice


Joined: 20 Apr 2016
Posts: 6

PostPosted: Fri Apr 22, 2016 5:49    Post subject: Reply with quote
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.
mwbuss8
DD-WRT Guru


Joined: 23 Feb 2015
Posts: 751

PostPosted: Fri Apr 22, 2016 6:03    Post subject: Reply with quote
deppy_v2 wrote:
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.
deppy_v2
DD-WRT Novice


Joined: 20 Apr 2016
Posts: 6

PostPosted: Fri Apr 22, 2016 6:43    Post subject: Reply with quote
Worked brilliantly. Thanks a lot.
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum