Hammer, meet nail.
Thanks again MrQuade.
Grumpy_Geoff wrote: ↑Thu Apr 04, 2019 12:02
Are you using FSTAB (mount at boot)?
I'm using AUTOFS (mount as needed) and that's not my experience, as once the mount has been re-activated then the symlink re-appears in the media selection list.
Tried all 3 (timeout, OK, Exit). Makes no difference.Grumpy_Geoff wrote: ↑Thu Apr 04, 2019 13:53When reactivating the mount, when the last popup ("activated") appears are you either letting it timeout (9 secs) or pressing OK on it, rather than EXIT?
(first popup is "update existing mount question", second popup is "mounts being updated" and this one restarts the network).
...
<autofs>Grumpy_Geoff wrote: ↑Thu Apr 04, 2019 13:53...
When it doesn't reappear, is the entry for MyTVShows in /etc/enigma2/automounts.xml set to <active>True</active>?
...
# automounter configurationGrumpy_Geoff wrote: ↑Thu Apr 04, 2019 13:53...
Is the corresponding entry for it missing from file /etc/auto.network (the entry should be:
MyTVShows -{a bunch of options} ://192.168.1.120/NonAnime)?
Going to Locations, I see /media/autofs (where the directories would be), but when I select it, it's empty.Grumpy_Geoff wrote: ↑Thu Apr 04, 2019 18:36Got me beat!
I stopped using symbolic links quite a while ago as they slowed down the media selection list if the target share was offline. There's another problem I can't quite recall - something to do with deleting and trashes and the deleted file being copied to local.
Instead of rebooting, can you get to the share via YELLOW/Locations in the media selection list?
Maybe I'm not following you exactly, but it sounds like this isn't a problem with the symlinks. If the autofs directory is empty, it means that the mounts haven't been re-mounted, so the symlink has nowhere to point to.
You seem to be having a lot of trouble with Trevor lately... you've quoted the wrong person.
Tomorrow.Grumpy_Geoff wrote: ↑Thu Apr 04, 2019 23:16
All of the mounts have disappeared? That sounds like the command /etc/init.d/autofs stop succeeds but the /etc/init.d/autofs start does not.
Perhaps enable debug logging.
Ha! I quoted the right person with the wrong person's text.
Apologies
Star6key wrote: ↑Fri Apr 05, 2019 00:49Tomorrow.Grumpy_Geoff wrote: ↑Thu Apr 04, 2019 23:16
All of the mounts have disappeared? That sounds like the command /etc/init.d/autofs stop succeeds but the /etc/init.d/autofs start does not.
Perhaps enable debug logging.
Code: Select all
{630}< 2664.047> KEY: 139 make KEY_MENU ('MENU',)
{630}< 2664.048> [ActionMap] InfobarMenuActions mainMenu
{630}< 2664.059> Skip plugin => AutoTimer
{630}< 2664.061> Skip plugin => Front Panel Update
{630}< 2664.063> Skip plugin => OpenWebif
{630}< 2664.065> Skip plugin => Picture player
{630}< 2664.066> Skip plugin => Software management
{630}< 2664.067> Skip plugin => YouTube TV Settings
{630}< 2664.072> Skip menu => Media player
{630}< 2664.087> [Skin] processing screen GeneralMenu:
{630}< 2664.198> [Skin] processing screen GeneralMenuSummary:
{630}< 2664.201> [SCREENNAME] GeneralMenuSummary
{630}< 2664.222> [SCREENNAME] GeneralMenu
{630}< 2664.242> KEY: 139 break KEY_MENU ('MENU',)
{630}< 2665.376> KEY: 106 make KEY_RIGHT ('RIGHT',)
{630}< 2665.377> [ActionMap] DirectionActions right
{630}< 2665.567> KEY: 106 break KEY_RIGHT ('RIGHT',)
{630}< 2665.763> KEY: 106 make KEY_RIGHT ('RIGHT',)
{630}< 2665.763> [ActionMap] DirectionActions right
{630}< 2665.956> KEY: 106 break KEY_RIGHT ('RIGHT',)
{630}< 2667.459> KEY: 352 make KEY_OK ('OK',)
{630}< 2667.460> [ActionMap] OkCancelActions ok
{630}< 2667.584> [Skin] processing screen GeneralSetup:
{630}< 2667.678> [Skin] processing screen SimpleSummary:
{630}< 2667.758> [SCREENNAME] ['GeneralSetup_summary', 'SimpleSummary']
{630}< 2667.765> [SCREENNAME] GeneralSetup
{630}< 2667.770> KEY: 352 break KEY_OK ('OK',)
{630}< 2670.801> KEY: 103 make KEY_UP ('UP',)
{630}< 2670.801> [ActionMap] WizardActions up
{630}< 2670.992> KEY: 103 break KEY_UP ('UP',)
{630}< 2671.186> KEY: 103 make KEY_UP ('UP',)
{630}< 2671.187> [ActionMap] WizardActions up
{630}< 2671.378> KEY: 103 break KEY_UP ('UP',)
{630}< 2671.601> KEY: 103 make KEY_UP ('UP',)
{630}< 2671.602> [ActionMap] WizardActions up
{630}< 2671.792> KEY: 103 break KEY_UP ('UP',)
{630}< 2672.389> KEY: 103 make KEY_UP ('UP',)
{630}< 2672.389> [ActionMap] WizardActions up
{630}< 2672.580> KEY: 103 break KEY_UP ('UP',)
{630}< 2673.407> KEY: 106 make KEY_RIGHT ('RIGHT',)
{630}< 2673.408> [ActionMap] SetupActions right
{630}< 2673.598> KEY: 106 break KEY_RIGHT ('RIGHT',)
{630}< 2673.963> KEY: 108 make KEY_DOWN ('DOWN',)
{630}< 2673.963> [ActionMap] WizardActions down
{630}< 2674.154> KEY: 108 break KEY_DOWN ('DOWN',)
{630}< 2674.868> KEY: 352 make KEY_OK ('OK',)
{630}< 2674.868> [ActionMap] SetupActions ok
{630}< 2674.921> [Skin] processing screen AutoMountManager:
{630}< 2674.994> [Skin] processing screen PluginBrowserSummary:
{630}< 2675.024> [SCREENNAME] PluginBrowserSummary
{630}< 2675.033> [SCREENNAME] AutoMountManager
{630}< 2675.060> KEY: 352 break KEY_OK ('OK',)
{630}< 2675.976> KEY: 108 make KEY_DOWN ('DOWN',)
{630}< 2676.167> KEY: 108 break KEY_DOWN ('DOWN',)
{630}< 2676.624> KEY: 352 make KEY_OK ('OK',)
{630}< 2676.624> [ActionMap] WizardActions ok
{630}< 2676.678> [Skin] processing screen AutoMountView:
{630}< 2676.767> [Skin] processing screen PluginBrowserSummary:
{630}< 2676.796> [SCREENNAME] PluginBrowserSummary
{630}< 2676.803> [SCREENNAME] AutoMountView
{630}< 2676.816> KEY: 352 break KEY_OK ('OK',)
{630}< 2679.776> KEY: 352 make KEY_OK ('OK',)
{630}< 2679.776> [ActionMap] WizardActions ok
{630}< 2679.841> [Skin] processing screen AutoMountEdit:
{630}< 2679.949> [Skin] processing screen SetupSummary:
{630}< 2679.979> [SCREENNAME] SetupSummary
{630}< 2679.986> [SCREENNAME] AutoMountEdit
{630}< 2679.991> KEY: 352 break KEY_OK ('OK',)
{630}< 2681.623> KEY: 108 make KEY_DOWN ('DOWN',)
{630}< 2681.814> KEY: 108 break KEY_DOWN ('DOWN',)
{630}< 2682.190> KEY: 105 make KEY_LEFT ('LEFT',)
{630}< 2682.191> [ActionMap] SetupActions left
{630}< 2682.191> [ActionMap] unknown action SetupActions/left! typo in keymap?
{630}< 2682.192> [ActionMap] SetupActions left
{630}< 2682.382> KEY: 105 break KEY_LEFT ('LEFT',)
{630}< 2683.665> KEY: 399 make KEY_GREEN ('GREEN',)
{630}< 2683.665> [ActionMap] SetupActions save
{630}< 2683.666> [ActionMap] unknown action SetupActions/save! typo in keymap?
{630}< 2683.666> [ActionMap] SetupActions save
{630}< 2683.666> [ActionMap] unknown action SetupActions/save! typo in keymap?
{630}< 2683.856> KEY: 399 break KEY_GREEN ('GREEN',)
{630}< 2683.857> [ActionMap] ColorActions green
{630}< 2683.867> [Skin] processing screen MessageBox:
{630}< 2683.934> [Skin] processing screen MessageBox_summary:
{630}< 2683.939> [SCREENNAME] ['MessageBox_summary', 'SimpleSummary']
{630}< 2683.941> [SCREENNAME] ['MessageBox']
{630}< 2685.527> KEY: 108 make KEY_DOWN ('DOWN',)
{630}< 2685.527> [ActionMap] DirectionActions down
{630}< 2685.719> KEY: 108 break KEY_DOWN ('DOWN',)
{630}< 2686.105> KEY: 352 make KEY_OK ('OK',)
{630}< 2686.105> [ActionMap] MsgBoxActions ok
{630}< 2686.108> [SCREENNAME] SetupSummary
{630}< 2686.117> [SCREENNAME] AutoMountEdit
{630}< 2686.128> [Skin] processing screen MessageBox:
{630}< 2686.155> [Skin] processing screen MessageBox_summary:
{630}< 2686.160> [SCREENNAME] ['MessageBox_summary', 'SimpleSummary']
{630}< 2686.161> [SCREENNAME] ['MessageBox']
{630}< 2686.171> command ['/etc/init.d/autofs stop', 'sleep 2']
{630}< 2686.171> [Console] command: /etc/init.d/autofs stop
{630}< 2686.172> [eConsoleAppContainer] Starting /bin/sh
{630}< 2686.296> KEY: 352 break KEY_OK ('OK',)
{630}< 2687.315> [Console] finished: /etc/init.d/autofs stop
{630}< 2687.315> [eBatch] retval=0, cmds left=1, data:
Stopping automount: done.
{630}< 2687.316>
{630}< 2687.316> [Console] command: sleep 2
{630}< 2687.316> [eConsoleAppContainer] Starting /bin/sh
{630}< 2689.333> [Console] finished: sleep 2
{630}< 2689.333> [eBatch] retval=0, cmds left=0, data:
{630}< 2689.333>
{630}< 2689.334> command ['/etc/init.d/autofs stop', 'sleep 2']
{630}< 2689.335> [Console] command: /etc/init.d/autofs stop
{630}< 2689.335> [eConsoleAppContainer] Starting /bin/sh
{630}< 2689.410> [Console] finished: /etc/init.d/autofs stop
{630}< 2689.410> [eBatch] retval=0, cmds left=1, data:
Stopping automount: done.
{630}< 2689.410>
{630}< 2689.411> [Console] command: sleep 2
{630}< 2689.411> [eConsoleAppContainer] Starting /bin/sh
{630}< 2691.427> [Console] finished: sleep 2
{630}< 2691.428> [eBatch] retval=0, cmds left=0, data:
{630}< 2691.428>
{630}< 2692.431> [SCREENNAME] SetupSummary
{630}< 2692.440> [SCREENNAME] AutoMountEdit
{630}< 2692.450> [Skin] processing screen MessageBox:
{630}< 2692.477> [Skin] processing screen MessageBox_summary:
{630}< 2692.482> [SCREENNAME] ['MessageBox_summary', 'SimpleSummary']
{630}< 2692.484> [SCREENNAME] ['MessageBox']
{630}< 2694.278> KEY: 352 make KEY_OK ('OK',)
{630}< 2694.278> [ActionMap] MsgBoxActions ok
{630}< 2694.281> [SCREENNAME] SetupSummary
{630}< 2694.290> [SCREENNAME] AutoMountEdit
{630}< 2694.297> [SCREENNAME] PluginBrowserSummary
{630}< 2694.313> [SCREENNAME] AutoMountView
{630}< 2694.469> KEY: 352 break KEY_OK ('OK',)
{630}< 2756.664> KEY: 108 make KEY_DOWN ('DOWN',)
{630}< 2756.855> KEY: 108 break KEY_DOWN ('DOWN',)
{630}< 2760.650> KEY: 352 make KEY_OK ('OK',)
{630}< 2760.651> [ActionMap] WizardActions ok
{630}< 2760.716> [Skin] processing screen AutoMountEdit:
{630}< 2760.812> [Skin] processing screen SetupSummary:
{630}< 2760.841> [SCREENNAME] SetupSummary
{630}< 2760.848> [SCREENNAME] AutoMountEdit
{630}< 2760.853> KEY: 352 break KEY_OK ('OK',)
{630}< 2762.008> KEY: 108 make KEY_DOWN ('DOWN',)
{630}< 2762.200> KEY: 108 break KEY_DOWN ('DOWN',)
{630}< 2762.674> KEY: 106 make KEY_RIGHT ('RIGHT',)
{630}< 2762.675> [ActionMap] SetupActions right
{630}< 2762.675> [ActionMap] unknown action SetupActions/right! typo in keymap?
{630}< 2762.676> [ActionMap] SetupActions right
{630}< 2762.865> KEY: 106 break KEY_RIGHT ('RIGHT',)
{630}< 2764.530> KEY: 399 make KEY_GREEN ('GREEN',)
{630}< 2764.531> [ActionMap] SetupActions save
{630}< 2764.531> [ActionMap] unknown action SetupActions/save! typo in keymap?
{630}< 2764.531> [ActionMap] SetupActions save
{630}< 2764.532> [ActionMap] unknown action SetupActions/save! typo in keymap?
{630}< 2764.723> KEY: 399 break KEY_GREEN ('GREEN',)
{630}< 2764.723> [ActionMap] ColorActions green
{630}< 2764.733> [Skin] processing screen MessageBox:
{630}< 2764.759> [Skin] processing screen MessageBox_summary:
{630}< 2764.764> [SCREENNAME] ['MessageBox_summary', 'SimpleSummary']
{630}< 2764.765> [SCREENNAME] ['MessageBox']
{630}< 2766.192> KEY: 108 make KEY_DOWN ('DOWN',)
{630}< 2766.192> [ActionMap] DirectionActions down
{630}< 2766.383> KEY: 108 break KEY_DOWN ('DOWN',)
{630}< 2767.181> KEY: 352 make KEY_OK ('OK',)
{630}< 2767.181> [ActionMap] MsgBoxActions ok
{630}< 2767.184> [SCREENNAME] SetupSummary
{630}< 2767.193> [SCREENNAME] AutoMountEdit
{630}< 2767.203> [Skin] processing screen MessageBox:
{630}< 2767.229> [Skin] processing screen MessageBox_summary:
{630}< 2767.430> [SCREENNAME] ['MessageBox_summary', 'SimpleSummary']
{630}< 2767.431> [SCREENNAME] ['MessageBox']
{630}< 2767.441> command ['/etc/init.d/autofs stop', 'sleep 2', '/etc/init.d/autofs start']
{630}< 2767.441> [Console] command: /etc/init.d/autofs stop
{630}< 2767.442> [eConsoleAppContainer] Starting /bin/sh
{630}< 2767.453> KEY: 352 break KEY_OK ('OK',)
{630}< 2767.531> [Console] finished: /etc/init.d/autofs stop
{630}< 2767.531> [eBatch] retval=0, cmds left=2, data:
Stopping automount: done.
{630}< 2767.532>
{630}< 2767.532> [Console] command: sleep 2
{630}< 2767.532> [eConsoleAppContainer] Starting /bin/sh
{630}< 2769.549> [Console] finished: sleep 2
{630}< 2769.550> [eBatch] retval=0, cmds left=1, data:
{630}< 2769.550>
{630}< 2769.551> [Console] command: /etc/init.d/autofs start
{630}< 2769.551> [eConsoleAppContainer] Starting /bin/sh
{630}< 2770.662> [Console] finished: /etc/init.d/autofs start
{630}< 2770.662> [eBatch] retval=0, cmds left=0, data:
Starting automount: done.
{630}< 2770.662>
{630}< 2770.667> command ['/etc/init.d/autofs stop', 'sleep 2']
{630}< 2770.668> [Console] command: /etc/init.d/autofs stop
{630}< 2770.668> [eConsoleAppContainer] Starting /bin/sh
{630}< 2771.799> [Console] finished: /etc/init.d/autofs stop
{630}< 2771.799> [eBatch] retval=0, cmds left=1, data:
Stopping automount: done.
{630}< 2771.799>
{630}< 2771.799> [Console] command: sleep 2
{630}< 2771.800> [eConsoleAppContainer] Starting /bin/sh
{630}< 2773.817> [Console] finished: sleep 2
{630}< 2773.817> [eBatch] retval=0, cmds left=0, data:
{630}< 2773.817>
{630}< 2774.821> [SCREENNAME] SetupSummary
{630}< 2774.830> [SCREENNAME] AutoMountEdit
{630}< 2774.841> [Skin] processing screen MessageBox:
{630}< 2774.867> [Skin] processing screen MessageBox_summary:
{630}< 2774.872> [SCREENNAME] ['MessageBox_summary', 'SimpleSummary']
{630}< 2774.874> [SCREENNAME] ['MessageBox']
{630}< 2776.094> KEY: 352 make KEY_OK ('OK',)
{630}< 2776.095> [ActionMap] MsgBoxActions ok
{630}< 2776.098> [SCREENNAME] SetupSummary
{630}< 2776.107> [SCREENNAME] AutoMountEdit
{630}< 2776.114> [SCREENNAME] PluginBrowserSummary
{630}< 2776.132> [SCREENNAME] AutoMountView
{630}< 2776.286> KEY: 352 break KEY_OK ('OK',)
Reboot.
System OE: OE-Alliance 4.1Grumpy_Geoff wrote: ↑Fri Apr 05, 2019 11:23
I have 5 mounts listed in /etc/auto.network
When I reactivate a mount, I get 5 x command ['/etc/init.d/autofs stop', 'sleep 2', '/etc/init.d/autofs start'] listed in the debug log.
You have one listed -
{630}< 2767.441> command ['/etc/init.d/autofs stop', 'sleep 2', '/etc/init.d/autofs start']
... and then a half-baked one -
{630}< 2770.667> command ['/etc/init.d/autofs stop', 'sleep 2']
What happens on a manual network restart - any difference?
Are you still on 20190206 and haven't updated, perhaps there was a change?
Star6key wrote: ↑Fri Apr 05, 2019 11:36System OE: OE-Alliance 4.1
Firmware version: beyonwiz 17.5.20190206 (17.5-819-gdd3f1fa)
Kernel / Drivers: 3.14.2 / 20180416
Manually restarted the network.
Exit back to live tv (hdmi in).
Open media list.
Press long blue (locations setting).
Select 'NonAnime' (the share name).
'Directory '/media/autofs/nonanime/' does not exist'.
Code: Select all
< 2770.667> command ['/etc/init.d/autofs stop', 'sleep 2']
Yes and yes.Grumpy_Geoff wrote: ↑Fri Apr 05, 2019 11:45You have two mounts right?
Do you still have an inactive mount? That would match -...Code: Select all
< 2770.667> command ['/etc/init.d/autofs stop', 'sleep 2']
System OE: OE-Alliance 4.1Grumpy_Geoff wrote: ↑Fri Apr 05, 2019 11:45...
Can you attach a screenshot of Mountpoints management / Mount Viewer please.
Can you online update to 20190207 and try again?
Grumpy_Geoff wrote: ↑Fri Apr 05, 2019 11:23I have 5 mounts listed in /etc/auto.network
When I reactivate a mount, I get 5 x command ['/etc/init.d/autofs stop', 'sleep 2', '/etc/init.d/autofs start'] listed in the debug log.
Thanks. I'll try to replicate it.Star6key wrote: ↑Fri Apr 05, 2019 11:32Reboot.
Open media list.
Press long blue (locations setting).
...
Star6key wrote: ↑Fri Apr 05, 2019 12:36System OE: OE-Alliance 4.1Grumpy_Geoff wrote: ↑Fri Apr 05, 2019 11:45...
Can you attach a screenshot of Mountpoints management / Mount Viewer please.
Can you online update to 20190207 and try again?
Firmware version: beyonwiz 17.5.20190207 (17.5-819-gdd3f1fa)
Kernel / Drivers: 3.14.2 / 20180416
Updated, but get the same results.
8192_0_1_0_0_0_0_0_0_0_20190405133534.jpg
prl wrote: ↑Fri Apr 05, 2019 12:53Grumpy_Geoff wrote: ↑Fri Apr 05, 2019 11:23I have 5 mounts listed in /etc/auto.network
When I reactivate a mount, I get 5 x command ['/etc/init.d/autofs stop', 'sleep 2', '/etc/init.d/autofs start'] listed in the debug log.
That seems excessive.
And in a later post I said -Grumpy_Geoff wrote: ↑Fri Apr 05, 2019 13:17...
Previously you stated it as -
MyTVShows on //192.168.1.120/NonAnime
The screenshot doesn't have MyTVShows.
Have you renamed local share 'MyTVShows' as 'NonAnime' (or vice versa)?
...
So MyTvShows is now NonAnime.
Grumpy_Geoff wrote: ↑Fri Apr 05, 2019 13:29i.e. is there a bug that doesn't issue autofs start when an inactive mount is detected after first stopping the mounts?
Grumpy_Geoff wrote: ↑Fri Apr 05, 2019 14:03Grumpy_Geoff wrote: ↑Fri Apr 05, 2019 13:29i.e. is there a bug that doesn't issue autofs start when an inactive mount is detected after first stopping the mounts?
I think that's the issue. I'm guessing if the code sees an inactive mount it just issues an autofs stop, whereas if it sees an active mount it issues an autofs stopt and an autofs start.
If the inactive mount is found last then the network isn't restarted and /media/autofs/ is empty even if active mounts are present.
Grumpy_Geoff wrote: ↑Fri Apr 05, 2019 16:32
What list is that though?
In Star6key's case, the inactive entry was listed first in Mount Viewer screen, but must have been "actioned" last.
Looking at my mounts, the ordering doesn't match between the Mount Viewer screen and /etc/enigma2/automounts.xml file contents.
The contents order of /etc/auto.network does match the order of the active entries from /etc/enigma2/automounts.xml, so perhaps that's the processing order (but not directly user-controllable).
Yes, I know you said "not applicable in all cases".
Me too. Just looking at what you posted, not on the Beyonwiz. Is that bold or regular?