Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 1 of 3 123 LastLast
Results 1 to 15 of 31

Thread: Box hangs when installing openwebif-terminal

  1. #1
    Willo3092's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    656
    Thanks
    583
    Thanked 272 Times in 201 Posts

    Box hangs when installing openwebif-terminal

    Clean ViX installation on Vu+ Uno 4K and an SF8008.
    When installing openwebif-terminal from the plugin downloads the box hangs at this screen and has to be manually powered off and rebooted.
    When the box reboots it appears to have installed correctly and appears in the list of removable plugins.
    I've manually downloaded the ipk and attached as not sure if it's a fault with that?
    Thanks in advance.

    openwebif-terminal.jpg

    Enigma2_debug_2021-09-06_14-59-59.log

    enigma2-plugin-extensions-openwebif-terminal_1.4.6+git4139+5661acd-r0_cortexa15hf-neon-vfpv4.ipk

  2. The Following User Says Thank You to Willo3092 For This Useful Post:

    topchippyles (09-09-21)

  3. #2
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,097
    Thanks
    5,938
    Thanked 8,680 Times in 5,859 Posts
    Just for comparison/reference, I did it by command line and seems fine. Mipsel receiver though.


    Code:
    root@et8500:~# opkg install enigma2-plugin-extensions-openwebif-terminal
    Installing shellinabox (2.21.0+git0+a2b7bc07c3) on root.
    Downloading http://www.openvix.co.uk/feeds/openvix/release/5.4/et8500/mips32el/shellinabox_2.21.0+git0+a2b7bc07c3-r0_mips32el.ipk.
    Installing enigma2-plugin-extensions-openwebif-terminal (1.4.6+git4139+5661acd) on root.
    Downloading http://www.openvix.co.uk/feeds/openvix/release/5.4/et8500/mips32el/enigma2-plugin-extensions-openwebif-terminal_1.4.6+git4139+5661acd-r0_mips32el.ipk.
    Configuring shellinabox.
     Adding system startup for /etc/init.d/shellinabox.
    Starting Shell In A Box server: shellinabox.
    Configuring enigma2-plugin-extensions-openwebif-terminal.
    root@et8500:~#

  4. The Following User Says Thank You to abu baniaz For This Useful Post:

    Willo3092 (06-09-21)

  5. #3
    Willo3092's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    656
    Thanks
    583
    Thanked 272 Times in 201 Posts
    Thanks Abu, I've just tried it on my ET8500.
    It hangs when installing through the plugin browser but installs fine via putty for some reason.

  6. #4
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,804
    Thanks
    484
    Thanked 1,124 Times in 958 Posts
    Quote Originally Posted by Willo3092 View Post
    Thanks Abu, I've just tried it on my ET8500.
    It hangs when installing through the plugin browser but installs fine via putty for some reason.
    Maybe debug logs will show what the plugin browser is doing?

  7. #5
    Willo3092's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    656
    Thanks
    583
    Thanked 272 Times in 201 Posts
    Quote Originally Posted by ccs View Post
    Maybe debug logs will show what the plugin browser is doing?
    I added the debug log to the first post but it doesn't mean much to me. Hopefully someone will see what the problem is.

  8. #6
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,804
    Thanks
    484
    Thanked 1,124 Times in 958 Posts
    Quote Originally Posted by Willo3092 View Post
    I added the debug log to the first post but it doesn't mean much to me. Hopefully someone will see what the problem is.
    Sorry, missed that.

    Code:
    15:00:29.0570 [Screen] Showing screen '['PluginDownloadBrowserSummary', 'ScreenSummary', 'PluginDownloadBrowser_summary', 'SimpleSummary']'.
    15:00:29.0589 [Screen] Showing screen '['PluginDownloadBrowser']'.
    15:00:29.0614 [Skin] Processing screen 'Console', position=(200, 120), size=(880 x 480) for module 'Console'.
    15:00:29.0639 [Console] executing in run 0  the command: /usr/bin/opkg install enigma2-plugin-extensions-openwebif-terminal
    15:00:29.0640 [eConsoleAppContainer] Starting /bin/sh
    15:00:29.0656 [Skin] Processing screen 'SimpleSummary' from list 'ConsoleSummary, ScreenSummary, Console_summary, SimpleSummary', position=(0, 0), size=(1 x 1) for module 'ScreenSummary'.
    15:00:29.0680 [Screen] Showing screen '['ConsoleSummary', 'ScreenSummary', 'Console_summary', 'SimpleSummary']'.
    15:00:29.0693 [Screen] Showing screen 'Console'.
    15:00:29.2635 [eInputDeviceInit] 0 160 (352) 1
    15:00:29.2636 [eRCDeviceInputDev] emit: 0
    15:00:29.2645 [InfoBarGenerics] Key: 352 (Break) KeyID='KEY_OK' Binding='('OK',)'.
    15:00:49.5477 [eConsoleAppContainer] Starting /usr/bin/grab
    15:00:50.5563 [OpenWebif] page '/favicon.ico' not found
    15:03:04.6699 [AutoTimer] current auto poll 2021-09-06 15:03:04
    15:03:04.6701 [AutoTimer] Auto Poll Started
    15:03:04.6723 [Task] job Components.Task.Job name=AutoTimer #tasks=0 completed with [] in None
    15:03:04.6726 [AutoTimer] next auto poll at 2021-09-06 15:33:04

  9. The Following User Says Thank You to ccs For This Useful Post:

    Willo3092 (06-09-21)

  10. #7
    Willo3092's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    656
    Thanks
    583
    Thanked 272 Times in 201 Posts
    Do we know what that means?

  11. #8
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,804
    Thanks
    484
    Thanked 1,124 Times in 958 Posts
    Quote Originally Posted by Willo3092 View Post
    Do we know what that means?
    I was just confirming that the same command was issued using the gui and telnet. Pity the telnet detail wasn't displayed in the debug logs.

    No idea if the "not found" error is significant.
    Last edited by ccs; 06-09-21 at 16:20.

  12. #9
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    6,765
    Thanks
    847
    Thanked 2,391 Times in 1,830 Posts
    So it hangs configuring enigma2-plugin-extensions-openwebif-terminal, so never returns from Console.
    will look at plugin build...
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  13. The Following 2 Users Say Thank You to twol For This Useful Post:

    topchippyles (09-09-21),Willo3092 (06-09-21)

  14. #10
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    6,765
    Thanks
    847
    Thanked 2,391 Times in 1,830 Posts
    Looks like we have been here before. https://www.world-of-satellite.com/s...erminal-Plugin

    Wonder if Birdman found a solution?
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  15. The Following User Says Thank You to twol For This Useful Post:

    abu baniaz (06-09-21)

  16. #11
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,097
    Thanks
    5,938
    Thanked 8,680 Times in 5,859 Posts
    I can confirm the issue too. I flashed an image, stopped E2 and started in console mode. Using GUI, I installed the OWIF terminal, as reported it stalled. I did a ctrl & C to stop E2 then restarted. Everythng back to normal including shellinabox within OWIF.

    I have given Spacerat a ping on Slack.


    < 281.1449> 20:27:14.6880 [eRCDeviceInputDev] emit: 1
    < 281.1465> 20:27:14.6896 [InfoBarGenerics] Key: 352 (Make) KeyID='KEY_OK' Binding='('OK',)'.
    < 281.1471> 20:27:14.6901 [ActionMap] Keymap 'WizardActions' -> Action = 'ok'.
    < 281.1522> 20:27:14.6952 [Skin] Processing screen 'MessageBox', position=(380, 355), size=(520 x 10) for module 'MessageBox'.
    < 281.1707> 20:27:14.7138 [ePNG] loadSVG /usr/share/enigma2/skin_default/icons/input_error.svg 53x53 from 53x53
    < 281.1772> 20:27:14.7202 [ePNG] loadSVG /usr/share/enigma2/skin_default/icons/input_info.svg 53x53 from 53x53
    < 281.1816> 20:27:14.7246 [ePNG] loadSVG /usr/share/enigma2/skin_default/icons/input_question.svg 53x53 from 53x53
    < 281.1856> 20:27:14.7287 [Screen] Warning: Skin is missing element 'icon' in <class 'Screens.MessageBox.MessageBox'>(Do you really want to download the plugin "extensions-openwebif-terminal"?).
    < 281.1861> 20:27:14.7292 [Pixmap] setPixmapNum(0) failed! defined pixmaps: []
    < 281.1987> 20:27:14.7417 [Skin] Processing screen 'MessageBox_summary' from list 'MessageBoxSummary, ScreenSummary, MessageBox_summary, SimpleSummary', position=(0, 0), size=(720 x 576) for module 'ScreenSummary'.
    < 281.2067> 20:27:14.7497 [Screen] Showing screen '['MessageBoxSummary', 'ScreenSummary', 'MessageBox_summary', 'SimpleSummary']'.
    < 281.2119> 20:27:14.7549 [Screen] Showing screen '['MessageBox']'.
    < 281.3091> 20:27:14.8522 [eInputDeviceInit] 0 160 (352) 1
    < 281.3092> 20:27:14.8522 [eRCDeviceInputDev] emit: 0
    < 281.3106> 20:27:14.8537 [InfoBarGenerics] Key: 352 (Break) KeyID='KEY_OK' Binding='('OK',)'.
    < 283.4416> 20:27:16.9846 [eInputDeviceInit] 1 160 (352) 1
    < 283.4417> 20:27:16.9847 [eRCDeviceInputDev] emit: 1
    < 283.4433> 20:27:16.9863 [InfoBarGenerics] Key: 352 (Make) KeyID='KEY_OK' Binding='('OK',)'.
    < 283.4438> 20:27:16.9868 [ActionMap] Keymap 'MsgBoxActions' -> Action = 'ok'.
    < 283.4468> 20:27:16.9899 [Screen] Showing screen '['PluginDownloadBrowserSummary', 'ScreenSummary', 'PluginDownloadBrowser_summary', 'SimpleSummary']'.
    < 283.4547> 20:27:16.9978 [Screen] Showing screen '['PluginDownloadBrowser']'.
    < 283.4595> 20:27:17.0026 [Skin] Processing screen 'Console', position=(200, 120), size=(880 x 480) for module 'Console'.
    < 283.4694> 20:27:17.0124 [Console] executing in run 0 the command: /usr/bin/opkg install enigma2-plugin-extensions-openwebif-terminal
    < 283.4695> 20:27:17.0125 [eConsoleAppContainer] Starting /bin/sh
    < 283.4729> 20:27:17.0160 [Skin] Processing screen 'SimpleSummary' from list 'ConsoleSummary, ScreenSummary, Console_summary, SimpleSummary', position=(0, 0), size=(720 x 576) for module 'ScreenSummary'.
    < 283.4814> 20:27:17.0244 [Screen] Showing screen '['ConsoleSummary', 'ScreenSummary', 'Console_summary', 'SimpleSummary']'.
    < 283.4897> 20:27:17.0327 [Screen] Showing screen 'Console'.
    < 283.6061> 20:27:17.1491 [eInputDeviceInit] 0 160 (352) 1
    < 283.6062> 20:27:17.1492 [eRCDeviceInputDev] emit: 0
    < 283.6078> 20:27:17.1509 [InfoBarGenerics] Key: 352 (Break) KeyID='KEY_OK' Binding='('OK',)'.
    < 379.8339> 20:28:53.3770 [eConsoleAppContainer] Starting /usr/bin/grab
    < 418.9514> 20:29:32.4944 [AutoTimer] current auto poll 2021-09-06 20:29:32
    < 418.9520> 20:29:32.4951 [AutoTimer] Auto Poll Started
    < 418.9605> 20:29:32.5035 [Task] job Components.Task.Job name=AutoTimer #tasks=0 completed with [] in None
    < 418.9624> 20:29:32.5054 [AutoTimer] next auto poll at 2021-09-06 20:59:32
    Attached Images Attached Images
    Last edited by abu baniaz; 09-09-21 at 16:21. Reason: conform > confirm

  17. The Following User Says Thank You to abu baniaz For This Useful Post:

    Willo3092 (06-09-21)

  18. #12
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    6,508
    Thanks
    182
    Thanked 1,484 Times in 1,151 Posts
    Quote Originally Posted by twol View Post
    Looks like we have been here before. https://www.world-of-satellite.com/s...erminal-Plugin

    Wonder if Birdman found a solution?
    Haven't looked. I would suspect a problem with a postinst script? One that is expecting to read from a terminal, and waits for that to happen?

    EDIT: That seems unlikely. The actual package with the files is shellinabox (pulled in as a dependency). That does have a postinst file, but I can't see it causing a problem.
    Last edited by birdman; 07-09-21 at 01:52.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  19. #13
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    6,508
    Thanks
    182
    Thanked 1,484 Times in 1,151 Posts
    The opkg command which does the installation (which seems to have completed OK) is left as a zombie (marked as defunct in the ps output).
    Might be a problem with enigma2 (and CHLD signals)?
    There are also 4 vps processes (all started by enigma2) all marked as defunct.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  20. #14
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    6,508
    Thanks
    182
    Thanked 1,484 Times in 1,151 Posts
    Hmmmm....a quick look at the lib/base/console.cpp code reveals this at line 127:

    Code:
             in = eSocketNotifier::create(eApp, fd[0], eSocketNotifier::Read|eSocketNotifier::Priority|eSocketNotifier::Hungup ); 
            out = eSocketNotifier::create(eApp, fd[1], eSocketNotifier::Write, false); 
            err = eSocketNotifier::create(eApp, fd[2], eSocketNotifier::Read|eSocketNotifier::Priority );
    Not sure why stderr should be being set up as a reader!
    Might be a problem?

    EDIT: Or might not. There seems to be some confusion (possibly mine) over the file unit numbering here.
    Seems that the author didn't know how execvp() work, though, as the call fallowing it is:
    Code:
    eDebug("[eConsoleAppContainer] Finished %s", cmd);
    but exec*() calls only ever return if the command fails to even start.
    It's all cryptic C++ code with member functions used to do something that is, I suspect, much easier to follow in C (and there are no doubt many examples of such code that could have been used).
    Last edited by birdman; 07-09-21 at 03:56.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  21. The Following User Says Thank You to birdman For This Useful Post:

    Willo3092 (07-09-21)

  22. #15
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    6,508
    Thanks
    182
    Thanked 1,484 Times in 1,151 Posts
    I'll need to have a look at the child-reaping code.

    Does anything that calls this actually complete?
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.