Modify

Opened 2 years ago

Last modified 20 months ago

#20388 new defect

Pkg `block-mount` defunct: Tries to open non-existing file

Reported by: ralfbergs Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: block-mount Cc:

Description

This is about package block-mount, version 2015-05-24-09027fc86babc3986027a0e677aca1b6999a9e14, running under OpenWrt Chaos Calmer 15.05-rc3 / LuCI Master (git-15.167.71950-8005ecb) (upgraded from Barrier Breaker stable IIRC).

When I click the System -> Mount Points menu item I get the following error message:

/usr/lib/lua/luci/dispatcher.lua:433: Failed to execute cbi dispatcher target for entry '/admin/system/fstab'.
The called action terminated with an exception:
/usr/lib/lua/luci/cbi.lua:311: Unable to read UCI data: fstab
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:433: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:168: in function </usr/lib/lua/luci/dispatcher.lua:167>

Maybe a config snippet is missing that points to the correct location of the fstab file?

Attachments (0)

Change History (14)

comment:1 Changed 2 years ago by anonymous

I am getting the same message. Any news on this?

comment:2 Changed 2 years ago by anonymous

Same here with OpenWrt Chaos Calmer 15.05-rc3 / LuCI Master (git-15.179.51004-cf2e3f6)

comment:3 Changed 2 years ago by eblot.ml@…

Same with Chaos Calmer 15.05 final.

comment:4 Changed 2 years ago by eblot.ml@…

Note: /etc/fstab is a symlink to /tmp/fstab which does not seem to exist.

comment:5 Changed 2 years ago by esaumell@…

Doing a touch seems to solve it :)

touch /etc/config/fstab

comment:6 Changed 2 years ago by esaumell

That was with:

OpenWrt Chaos Calmer 15.05 / LuCI (git-15.248.30277-3836b45)

comment:7 Changed 2 years ago by anonymous

comment:8 Changed 2 years ago by anonymous

I can confirm that "touch /etc/config/fstab" works. Thanks @esaumell

comment:9 Changed 2 years ago by colinhayes

Confirmed here as well, the touch command worked.

comment:10 Changed 23 months ago by anonymous

I als can confirm that "touch /etc/config/fstab" works. Thank you esaumell

comment:11 Changed 21 months ago by wilsontp@…

I also needed to touch the file.

If you're on Windows, and you don't know how to touch a file, you need to do the following:

  1. Download PuTTY. (get the ZIP file)
  2. Run PUTTY.exe
  3. Connect to your router's IP addres with the default settings
  4. Log in as root, with your admin password
  5. just type "touch /etc/config/fstab" (without the quotes)
  6. You will get no feedback from the console *if you did it right.*
  7. After that, try reloading the Map Points page in your browser.

comment:12 Changed 21 months ago by anonymous

i try "touch /etc/config/fstab" and the message "Read only file system" why?

comment:13 Changed 21 months ago by LipkeGu

the package 'block-mount' doesnt create the file!

/usr/lib/lua/luci/dispatcher.lua:433: Failed to execute cbi dispatcher target for entry '/admin/system/fstab'.
The called action terminated with an exception:
/usr/lib/lua/luci/cbi.lua:311: Unable to read UCI data: fstab
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:433: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:168: in function </usr/lib/lua/luci/dispatcher.lua:167>

comment:14 Changed 20 months ago by anonymous

the touch worked!

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.