Backup configuration using LUCI doesn't work

Hi guys,

After upgrade to 19.07 (from 18.06.2) when I try to backup configuration in Luci (/cgi-bin/luci/admin/system/flash) all I get is "The requested URL /cgi-bin/cgi-backup was not found on this server."

Using sysupgrade command from ssh works as expected.

Could this problem with configuration backup have something to do with rendering Luci pages in browser instead on router side and because I connect to my box (Zyxel NBG6817) throught putty ssh tunneling feature ? All other Luci settings works flawlessly though...

Thanks.

Please provide the output of ls -lh /www/cgi-bin and opkg list-installed cgi-io

ls -lh /www/cgi-bin:

lrwxrwxrwx    1 root     root          24 Jan 10 10:03 cgi-backup -> ../../usr/libexec/cgi-io
lrwxrwxrwx    1 root     root          24 Jan 10 10:03 cgi-download -> ../../usr/libexec/cgi-io
lrwxrwxrwx    1 root     root          24 Jan 10 10:03 cgi-exec -> ../../usr/libexec/cgi-io
lrwxrwxrwx    1 root     root          24 Jan 10 10:03 cgi-upload -> ../../usr/libexec/cgi-io
-rwxr-xr-x    1 root     root         135 Jan  8 18:36 luci

opkg list-installed cgi-io :

cgi-io - 16

What happens if you try to access http://your-router-ip/cgi-bin/cgi-backup in the browser?

Not Found

The requested URL /cgi-bin/cgi-backup was not found on this server.

Also doesn't work if I try it from LAN and not through putty port forwarding.
Weird, as files seems like to be there...

Is your /etc/config/uhttpd enabling option no_symlinks 1 by any chance?

1 Like

That was it. Thank you very much :slight_smile:
I have no idea why I enabled it in the first place. Probably some security shit I read somewhere on the internet :blush: