Shellinabox do not start from latest debian update

    • OMV 2.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Shellinabox do not start from latest debian update

      I see bind updates and apply in webGUI, from this latest update shellinabox do not start:




      PD: error sending LogID is: ZC8wImW1

      Creating sysinfo file...
      Creating config.xml file with passwords and SSL certs removed...
      Received message too long 1416128883


      attached to post: content1436563378.zip
      OMV 4.1.11 x64 on a HP T510, 16GB CF as Boot Disk & 32GB SSD 2,5" disk for Data, 4 GB RAM, CPU VIA EDEN X2 U4200 is x64 at 1GHz

      Post: HPT510 SlimNAS ; HOWTO Install Pi-Hole ; HOWTO install MLDonkey ; HOHTO Install ZFS-Plugin ; OMV_OldGUI ; ShellinaBOX ;
      Dockers: MLDonkey ; PiHole ; weTTY
      Videos: @TechnoDadLife
    • There is a new version of Shellinabox, 2.15-1, I found on Github . I did a build of the new version and it is working in Stoneburner. So it is not dead. Give me a week or less to make sure it is working with plugin. If things go well maybe it will be out today. If things have to be reworked for the plugin it might be a week or more. They are making upgrades on shellinabox too. It is nice to see. :)

      Source Code

      1. root@stoneburnervm:/# dpkg -l | grep shellinabox
      2. ii shellinabox 2.15-1 amd64 publish command line shell through AJAX interface
      3. root@stoneburnervm:/# service shellinabox status
      4. Shell In A Box Daemon is running
      5. root@stoneburnervm:/#

      The post was edited 2 times, last by tekkb ().

    • It works well but there are a few issues. The shellinabox package is not completely uninstalling, this is separate from the plugin package which is OK. The people that are working on this are trying to get it hosted by the same Debian maintainer. I will send some messages on this because if it gets hosted soon we will not have to host it, would be easy this way. It times out for non use really fast, maybe 60 seconds. Find out how to change timeout period.

      See pic...
      Images
      • shellinabox plugin stoneburner.jpg

        127.2 kB, 1,040×557, viewed 538 times

      The post was edited 1 time, last by tekkb ().

    • Hello!
      I have OMV 2.1.23 and I wanted to install openmediavault-shellinabox from System / Plugins:
      [IMG:http://s30.postimg.org/9ajv3ldpt/shellinabox.jpg]
      and I have also tried with "apt-get install".

      But I cannot install it.



      Error message:

      Source Code

      1. ​# apt-get install openmediavault-shellinabox
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. Some packages could not be installed. This may mean that you have
      6. requested an impossible situation or if you are using the unstable
      7. distribution that some required packages have not yet been created
      8. or been moved out of Incoming.
      9. The following information may help to resolve the situation:
      10. The following packages have unmet dependencies:
      11. openmediavault-shellinabox : Depends: shellinabox (>= 2.18) but it is not going to be installed
      12. E: Unable to correct problems, you have held broken packages.
      13. The following packages have unmet dependencies:
      14. shellinabox : Depends: libssl0.9.8 (>= 0.9.8m-1) but it is not installable
      Display All




      Any idea?
      Or it's not working on Debian 7
    • hello!
      yes, it's enabled. I've omv-extras 2.13.1

      [IMG:http://s8.postimg.org/gtnd5ecwl/extras.jpg]

      In command line (as root) I tried what you've suggested:

      # apt-get --purge remove openmediavault-shellinabox
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Package 'openmediavault-shellinabox' is not installed, so not removed
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


      # apt-get --purge remove shellinabox
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Package 'shellinabox' is not installed, so not removed
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


      # apt-get install openmediavault-shellinabox
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      openmediavault-shellinabox : Depends: shellinabox (>= 2.18) but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
    • Maybe it's not available in my source?

      Source Code

      1. ​deb http://ftp.fsn.hu/debian/ wheezy main
      2. deb-src http://ftp.fsn.hu/debian/ wheezy main
      3. deb http://security.debian.org/ wheezy/updates main contrib non-free
      4. deb-src http://security.debian.org/ wheezy/updates main contrib non-free
      5. # wheezy-updates, previously known as 'volatile'
      6. deb http://ftp.fsn.hu/debian/ wheezy-updates main contrib non-free
      7. deb-src http://ftp.fsn.hu/debian/ wheezy-updates main contrib non-free
    • Give me results of "apt-cache policy shellinabox". It should look like this:

      Source Code

      1. root@omv:~# apt-cache policy shellinabox
      2. shellinabox:
      3. Installed: 2.18
      4. Candidate: 2.18
      5. Version table:
      6. *** 2.18 0
      7. 996 http://packages.omv-extras.org/debian/ stoneburner-testing/main amd64 Packages
      8. 100 /var/lib/dpkg/status
      9. 2.14-1 0
      10. 500 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages


      And give results of this:

      cat etc/apt/sources.list.d/omv-extras-org-stoneburner.list
    • hello!
      this is the output:

      Source Code

      1. ​# apt-cache policy shellinabox
      2. shellinabox:
      3. Installed: (none)
      4. Candidate: 2.14-1
      5. Version table:
      6. 2.14-1 0
      7. 500 http://ftp.fsn.hu/debian/ wheezy/main i386 Packages
      8. 2.14-1 0
      9. 996 http://packages.omv-extras.org/debian/ stoneburner-testing/main i386 Packages


      and the source list includes the following:

      Source Code

      1. ​~# cat /etc/apt/sources.list.d/omv-extras-org-stoneburner.list
      2. # Regular omv-extras.org repo
      3. deb http://packages.omv-extras.org/debian/ stoneburner main
      4. # Testing omv-extras.org repo
      5. deb http://packages.omv-extras.org/debian/ stoneburner-testing main
      6. # Plexmediaserver repo
      7. deb http://packages.omv-extras.org/debian/ stoneburner-plex main
      8. deb http://dh2k.omv-extras.org/debian/ plex-wheezy-mirror main
      9. # miller repo
      10. deb http://dh2k.omv-extras.org/debian/ stoneburner-miller main
      11. deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu precise main
      Display All
    • Let's make it short.
      If I would somehow get it done and installed.
      Could I just
      1) login to the OMV admin page
      2) go to menu "services" and
      3) open "shellinabox"
      4) in a window within the "admin page"
      5) and access my shell like I would do it per PuTTy?

      (Like under Services the 2nd tab for Bittorrent (to access & check currently running torrents and upload new ones)... Or it will open a new "window" on the shellinabox port, like host:4433 for instance like the Services tab for Plex?)

      Because if it's not the OMV admin page itself, I cannot use it.
      The solution I can use it only if it's within the OMV Admin page, and it doesn't give me the "unauthorized IP adress" error, as the bittorrent client does (as I sitting behind a corporate NAT, and my IP is change sometimes within one session to visit a web site).


      If this can be done, how can I install this version from the github and use it with the omv-plugin? ;)
    • You would have a web page that looks just like the page where you login in Putty. You sign in with root and then can do command line. You need a 32 bit version of the shellinabox version 1.18 or higher. Someone needs to build it for you.

      At work you should be able to use an OpenVPN client to connect to your OMV at home with OpenVPN or OpenVPN AS server running. Once you are connected to your LAN you can use things normally, like the Web GUI.
    • I can do it for you but I have to upgrade my vm. I try to do it in the next couple hours.

      It is coming. I forgot Kralizec was on Wheezy...

      @ryecoaaron 32 bit shellinabox for OMV 2.x

      @keksznet
      apt-get purge openmediavault-shellinabox
      apt-get purge shellinabox
      Download this zip file and install it on your machine.
      Then install the shellinabox plugin.


      Or you can wait to see if Aaron gets it in the repo. If he does just do those 2 purge command and then install from the plugin lisst in the Web GUI.
      Files

      The post was edited 5 times, last by tekkb ().

    • Thanks for the help!
      I have it now...


      Webclient is working.
      But within the Services / Shellinabox the [Terminal] TAB is empty.

      [IMG:http://s22.postimg.org/6y407kzu9/Capture.jpg]



      if I put ssh back to port 22, as it was not on default therefore the webclient under 4200 was also not working until I have added a shellinabox wrapper to route ssh to the correct port, the window is not empty, like on the screenshot, but gives me the following error:
      301 Moved Permanently



      Is it because the HTTPS certificate I have was created by the server itself? or is this some webserver setting?