Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cannot get webserver working to use phpvirtualbox

Featured Replies

I just upgraded to 5.03 from unraid 4.7 and im about to pull my hair out trying to get phpvritualbox working.  I have tried lighttpd from unmenu, and do not see an easy way to configure it.  So, i tried the simplefeatures web plugin, and it tells me the config file is missing.

 

What webserver is everyone using?  Any help would be much apreciated.

 

With unraid 4.7 I was able to use Bubbas unraid web package that included PHP but its not compatible with 5.0

i use xampp on my windows machine to get the web interface working. I can not get a virtual image working tho.

  • Author

The only problem with that is that I would need to have another macine running all the time in the house.  And I cant really make it a VM because...well that is obvious.

Using 5.02 and simplefeatures Webserver. Working perfectly...

  • Author

Using 5.02 and simplefeatures Webserver. Working perfectly...

 

Did you have to modify Sinplefeatures at all?  When I use it, it tells me the config file does not exist...

The only problem with that is that I would need to have another macine running all the time in the house.  And I cant really make it a VM because...well that is obvious.

Actually, it can be a VM. You can command line start at the end of your install script that one VM instance that runs a webserver, and then when it is booted, you can access your phpvirtualbox site.

@wisem2540:

Did you install the SF core plugin, too? At the moment you still need it to run the other SF plugins including webserver.

I'm using an old version of the SimpleFeatures web server that used lighttpd/1.4.30.

  • Author

@lainie - Can youy point me in the direction of this version?  I assume is it lighter than the current?

 

@Slrf - no I did not.  Perhaps that is where I went wrong.  I assume that is this....  simpleFeatures.core.webGUI-1.0.11-noarch-1

the problem is, I did not really want to change my unraid GUI, but ill do anything to make this work at this point.

 

If I were to use the old version like Lainie suggests, perhaps I could work around this??

 

wisem2540: I don't know that  it is available any more. As I did not create it and the author has released several new versions since, I doubt he wants me distributing his older work. I suspect you would still need the core parts of SimpleFeatures as well.

  • Author

Lainie,

 

I am rebooting now after adding core and will report back results.  Is there any way to disable the web GUI and go back to the stock?  That way I just have the web server piece

 

EDIT

 

I am still getting the same message.

 

Warning: parse_ini_file(/var/local/emhttp/simpleFeatures.web.server.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

 

Would it be possible for you to post the plg files you are using so I can test?  Having these in the plugins folder and rebooting, should be enough, yes?

 

Sigh....  so frustrating.

  • Author

Looks like its having trouble downloading SQLlite...

 

Here is a post I dug up from ASHE...  So far it seems to have worked...

 

edit the webserver.plg with notepad ++

 

Ctrl + H and find/replace the following

 

sqlite-3.7.14.1-i486-1.txz replace with sqlite-3.7.17-i486-1.txz (should be 3 instances)

 

and

 

433769b1cd27b59667a34295184356e3 replace with 60f75216d98dc6910f74eeef232421d7 (should be 1 instance)« Last Edit: September 03, 2013, 10:20:35 PM by Ashe »

 

 

I am still testing

Looks like its having trouble downloading SQLlite...

 

Here is a post I dug up from ASHE...  So far it seems to have worked...

 

edit the webserver.plg with notepad ++

 

Ctrl + H and find/replace the following

 

sqlite-3.7.14.1-i486-1.txz replace with sqlite-3.7.17-i486-1.txz (should be 3 instances)

 

and

 

433769b1cd27b59667a34295184356e3 replace with 60f75216d98dc6910f74eeef232421d7 (should be 1 instance)« Last Edit: September 03, 2013, 10:20:35 PM by Ashe »

 

 

I am still testing

 

This is what i had to do to get SF working on V5.0 until 5.0.3 - 5.0.1 and 5.0.2 still working - 5.0.3 issue i think is with the virtualbox. Anyway i had phpvirtual box, virtualbox, and SF webserver working together fine until 5.0.3

  • Author

@stabu - I would apreciate it if you did not hijack my topic.  Please remove your post.

 

@nacat78 - maybe I will have to go back to 5.02 and test if I cannot get this working.  However, all of the errors have gone away, but I do not see a way to start the web server.  Screenshot attached. 

 

I have it set to enabled, but it says STATUS stopped.

SF.jpg.b17bd567bb3b68d104b1ac47322b74c1.jpg

  • Author

Looks like it cannot see hidden files.

I moved it to my boot drive and got a login screen.  After logging in with admin / admin I get this...  attched.

 

Back to reading...

 

So Close....

SF.jpg.9ea895df9ebfcb17c645bfbe9ef722f2.jpg

@wisem2540 - verify that you have a folder on your cache share labeled .virtualbox/www - this is also where you need to unpack phpvirtualbox contents

 

ok i see you posted while i was replying:

 

ok for the soap extension error you need to open php.ini file located in boot\config\simpleFeatures folder and remove the exception for so.soap - so with file open search for

so;extension=soap and make it soextension=soap, save file, close and restart webserver

will you post a screen shot of your virtualbox settings page

  • Author

Well, looking back, I think it was because I typed ".virtualbox" instead of Capital ".Virtualbox"

 

But either way, I have PHP virtualbox running now.  I keep getting an error message that the VM already exists when I try to add my old VM back in.

 

Was there still a screen shot you wanted to see?

no i think you have got it up and running for the most part, feel free to hit me up if you have any other questions and i will do my best to assist.

  • Author

no i think you have got it up and running for the most part, feel free to hit me up if you have any other questions and i will do my best to assist.

 

@nacat - are you using bridged networking?  If so, what version of Unraid and Virtualbox do you have running?

I use the command line to setup and control my VMs currently.  Although I hope to have a Java desktop app (that doesn't need a webserver to setup and control VirtualBox on unRAID) done early next year.  It is currently only able to display the VMs and ONLY that.  So in other words I only have the easy stuff done.  It may just become vaporware if I don't get time to work on it.  I can post screen shots when I am home if any interest is expressed.

 

 

Edit:  Added Teaser screen of the little I have working in the Java desktop app.  The graphic shows a dialog on my Windows desktop displaying the information of one of the VMs on my unRAID host (N54L box) - actually the one I use to access the forums but will be updating the memory on this VM to 2GB once I get that far in the app.  It does not use a webserver to display it and only requires vboxwebsrv running on unRAID host.

VBoxClientTeaser.png.4e2f72fc44194854c3e824423c71078e.png

What is the reason this GUI won't work out of the zip file in the correct location? 

 

How can this be packaged in to a plugin?  If I could I would. Will one of the

Plugin gurus please make this part of the xbox plugin?  Maybe an option to use or not?

The reason is that a webserver is needed to run the php scripts that make "phpvirtualbox". So a plugin would require detecting an available webserver or alternatively setting up a new one (including php) first. Afterwards SOAP needs to be enabled for this webserver and the configuration script with the right settings has to be created.

 

It's doable but nobody wants to pick up the task at the moment. Everybody is waiting for an standalone SF webserver release from speeding_ant, I think. :) I'm waiting to. Getting it to run with the old SF webserver was less work than reinventing the wheel would be. :)

 

I admit it would be nice if the vbox plugin would take care of the phpvirtualbox installation if a running webserver is detected. But I fully understand that theone doesn't want to include it. His plugin does provide start and stop functions and using vboxmanage on the command line you can do everything phpvirtualbox allows and more. It's just not as convenient. :)

@nacat - are you using bridged networking?  If so, what version of Unraid and Virtualbox do you have running?

 

@ wisem2540 - Normal network config for now on my Stable Build Server - I was on unRaid v5.0.2 using the Virtualbox plg v.0.52 and 3.4.2 additions with 11p kernel - all was working fine until the 5.0.3 release of unraid and 3.4.3 release of virtualbox extensions and addons. I was just testing a few VMs, nothing final yet. so i am patiently waiting for a fix for either SF or Virtualbox and extensions before i do anymore testing.

 

  • Author

I went back to Unraid 5.0 and everything is working as expected.

 

Thanks to everyone for their input!

 

Next step....get crashplan working.  :)

 

thanks again!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.