Page 1 of 2

USB Storage "Save Changes" doesn't save

Posted: Sun Jun 09, 2019 6:24 am
by merlino175
Hello,
after upgrading from 1.10 to 1.11.0, i can't save USB Storage data.
I can change them, I can add users and disks but after refreshing page (F5) users and disks are gone.

My device is TP-Link TL-WDR4300 v1.

Any suggest?

Re: USB Storage "Save Changes" doesn't save

Posted: Sun Jun 09, 2019 9:29 am
by Lantis
Are you pressing Save?
Can you post a system log after pressing save please.

Re: USB Storage "Save Changes" doesn't save

Posted: Sun Jun 09, 2019 9:41 am
by merlino175
Hi Lantis,
I don't know how to get the system log

Re: USB Storage "Save Changes" doesn't save

Posted: Sun Jun 09, 2019 9:55 am
by Lantis
You can find a guide here:
viewtopic.php?f=8&t=8505

Re: USB Storage "Save Changes" doesn't save

Posted: Sun Jun 09, 2019 11:56 am
by merlino175
ok, thank you

the attachment shows the log generated when I try to add an user and click "Save Changes".

I'm using an external drive as Plugin Root because my router has no enough memory to install the USB Storage plugin

system log:
Sun Jun 9 18:01:06 2019 daemon.err uhttpd[2567]: uci: Entry not found
Sun Jun 9 18:01:06 2019 daemon.err uhttpd[2567]: uci: Entry not found
Sun Jun 9 18:01:06 2019 daemon.err uhttpd[2567]: uci: Entry not found
Sun Jun 9 18:01:06 2019 daemon.err uhttpd[2567]: uci: Entry not found
Sun Jun 9 18:01:07 2019 daemon.err uhttpd[2567]: uci: Entry not found
Sun Jun 9 18:01:07 2019 daemon.err uhttpd[2567]: uci: Entry not found
Sun Jun 9 18:01:07 2019 daemon.err uhttpd[2567]: uci: I/O error
Sun Jun 9 18:01:07 2019 daemon.err uhttpd[2567]: uci: I/O error
Sun Jun 9 18:01:07 2019 daemon.err uhttpd[2567]: uci: I/O error
Sun Jun 9 18:01:09 2019 daemon.err uhttpd[2567]: exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/mnt".
Sun Jun 9 18:01:09 2019 daemon.err uhttpd[2567]: Assuming default behaviour ('no_subtree_check').
Sun Jun 9 18:01:09 2019 daemon.err uhttpd[2567]: NOTE: this default has changed since nfs-utils version 1.0.x
Sun Jun 9 18:01:09 2019 daemon.err uhttpd[2567]:
Sun Jun 9 18:01:09 2019 daemon.err uhttpd[2567]: exportfs: /mnt does not support NFS export
Sun Jun 9 18:01:09 2019 daemon.err uhttpd[2567]: Error loading shared library libtirpc.so.3: No such file or directory (needed by /usr/sbin/rpc.nfsd)

Re: USB Storage "Save Changes" doesn't save

Posted: Sun Jun 09, 2019 6:05 pm
by Lantis
That all looks a little sinister. Certainly not what I expected.
Can you describe what you’re trying to setup please so I can replicate it on my end and check?

What format and size are the drive(s)?
What sharing methods?
How many users?
Read/write or read only permissions?
And you’re using external plugin root only (not a full “extroot”)? Is this drive the same drive you’re trying to share?
Anything else interesting?

Re: USB Storage "Save Changes" doesn't save

Posted: Sun Jun 09, 2019 11:04 pm
by CBx86
You preserve settings on update? 1.10 to 1.11.0?

Re: USB Storage "Save Changes" doesn't save

Posted: Mon Jun 10, 2019 1:35 am
by merlino175
no, didn't but i tried to restore old settings

Re: USB Storage "Save Changes" doesn't save

Posted: Mon Jun 10, 2019 2:15 am
by Lantis
That's the same thing. Please don't do that between major version jumps.

If you try setting it up from scratch and it still doesn't work, please post the information i asked for so that i can try to debug it.

Re: USB Storage "Save Changes" doesn't save

Posted: Mon Jun 10, 2019 2:37 am
by merlino175
I restored default configuration and reconfigured the router but nothing has changed

edit: I also realized that when I add Port Range Forwarding and I refresh, data as gone