Needs review
Project:
Vagrant
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2012 at 02:46 UTC
Updated:
8 Jul 2013 at 16:47 UTC
It's not possible for me to setup a working vagrant vm.
vagrant up works but at http://drupal.vbox.local I see the permission issues, which are mentioned here: https://drupal.org/node/1364008
After applying the patch from there, the permisson problems seem to be fixed, but then Drupal shows me a PDO exception at http://drupal.vbox.local
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal.system' doesn't exist: SELECT * FROM {system} WHERE type = 'theme' OR (type = 'module' AND status = 1) ORDER BY weight ASC, name ASC
Maybe someone can specify the version of virtualbox and vagrant of working setup.
I appreciate every other hint to get it running.
Comments
Comment #1
scromie commentedWorked fine for me. I think the piece that's missing is that after you "vagrant up" your site, you also have to go to http://drupal.vbox.local/install.php and run through the drupal installer. I just finished doing that and it worked like a charm.
The install appears to have the following modules present:
admin_menu
ctools
devel
diff
features
views
views_bulk_operations
I think the maintainer just needs to add the http://drupal.vbox.local/install.php to the main page and it will solve the concerns of others.
Comment #2
ar-jan commentedSame thing - full error message:
Installing as per #1 worked fine.
Comment #3
nickgs commentedThis is correct, you need to install the Drupal instance before using it. This is not apparent on the project page.
We should probably have a documentation page in the handbook we can all collaborate on. I am running this on Windows 7 and ran into a few "gotchas" that may have some value to share.
I am thinking we should have a child page somewhere within the 'Develop for Drupal' guide:
http://drupal.org/node/157602
Thoughts?
Thanks.
Nick
http://nickgs.com
Comment #4
carsonblack commentedI think it should automatically redirect to install.php like normal installs do. I got a little confused on this too, I received the same error as in #2 when I went to drupal.vbox.local. The previous version of the code worked that way.
Also, I got a WSOD when I got to the Configure Site page when running the install by going directly to install.php.
Comment #5
therobyouknow commentedComment #1 worked for me too. Agreed the project page instructions don't mention it, though yes install.php is the standard procedure for drupal installation.
Details of my host machine setup:
Windows 7 64bit Professional
4Gb RAM
version 4.2.4r81684 of Oracle VirtualBox (VirtualBox is required and used by Vagrant for this setup and many others)
Comment #6
rootworkChanging the title to reflect the solution needed.