# Trellis - Multisite Redirect to Signup?

**URL:** https://discourse.roots.io/t/trellis-multisite-redirect-to-signup/4107
**Category:** trellis
**Created:** 2015-06-23T23:50:26Z
**Posts:** 11

## Post 1 by @daniel — 2015-06-23T23:50:27Z

I am having trouble enabling Multisite with Trellis. I followed everything on the following site:

> **[roots/trellis](https://github.com/roots/trellis/wiki)**
>
> trellis - Ansible playbooks for a WordPress LEMP stack

but when I run vagrant reload && vagrant up it redirects me to the follow screen when visiting the home URL  
[![](https://dl.dropboxusercontent.com/s/st1ssj0oycui7r6/Screenshot%202015-06-23%2019.28.01.png?dl=0) ](https://dl.dropboxusercontent.com/s/st1ssj0oycui7r6/Screenshot%202015-06-23%2019.28.01.png?dl=0)

Anyone have any ideas of what I might be missing?

---

## Post 2 by @austin — 2015-06-24T03:50:54Z

You are missing the ‘:’ in your http://

---

## Post 4 by @daniel — 2015-06-25T14:18:17Z

@austin any ideas? Do I have to update anything in the server block?

---

## Post 5 by @daniel — 2015-06-25T18:04:26Z

Hello all,

I recorded a quick video of me walking through this issue:

Hope this helps.

- Daniel

---

## Post 6 by @kalenjohnson — 2015-06-25T18:29:29Z

You should probably try a `vagrant provision`, since `vagrant reload` just reboots the virtual machine…

---

## Post 7 by @austin — 2015-06-25T19:05:35Z

@daniel read the docs bud :wink:

[https://docs.vagrantup.com/v2/cli/reload.html](https://docs.vagrantup.com/v2/cli/reload.html) vs [https://docs.vagrantup.com/v2/cli/provision.html](https://docs.vagrantup.com/v2/cli/provision.html)

The cli in general: [https://docs.vagrantup.com/v2/cli/index.html](https://docs.vagrantup.com/v2/cli/index.html)

---

## Post 8 by @daniel — 2015-06-25T20:29:25Z

Thanks guys, sorry for my ignorance. I sware I tried running “vagrant provision” before with no success. But this time I tried it again and received a new error. I tried pulling down the staging db to see if that would resolve it but I still ended up with the same error message when trying to run “vagrant provision”:

> TASK: [wordpress-install | WP installed?] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> failed: [default] =\> (item={‘key’: ‘[amigoslink.org](http://amigoslink.org)’, ‘value’: {‘site\_install’: True, ‘admin\_user’: ‘admin’, ‘local\_path’: ‘…/site’, ‘system\_cron’: True, ‘multisite’: {‘enabled’: True, ‘subdomains’: True}, ‘repo’: ‘git@bitbucket.org:newbird/amigoslink.org.git’, ‘ssl’: {‘enabled’: False}, ‘db\_import’: ‘…/site/amigoslink\_staging.sql’, ‘site\_title’: ‘Example Site’, ‘admin\_password’: ‘admin’, ‘env’: {‘db\_name’: ‘amigoslink\_dev’, ‘domain\_current\_site’: ‘amigoslink.dev’, ‘wp\_env’: ‘development’, ‘db\_user’: ‘amigoslink\_dbuser’, ‘db\_password’: ‘amigoslink\_2iDAw468125E’, ‘wp\_home’: ‘[http://amigoslink.dev](http://amigoslink.dev)’, ‘wp\_siteurl’: ‘[http://amigoslink.dev/wp](http://amigoslink.dev/wp)’}, ‘site\_hosts’: [‘amigoslink.dev’], ‘admin\_email’: ‘admin@example.dev’}}) =\> {“changed”: false, “cmd”: [“wp”, “core”, “is-installed”, “–allow-root”], “delta”: “0:00:00.272134”, “end”: “2015-06-25 20:05:34.435935”, “failed”: true, “failed\_when\_result”: true, “item”: {“key”: “[amigoslink.org](http://amigoslink.org)”, “value”: {“admin\_email”: “admin@example.dev”, “admin\_password”: “admin”, “admin\_user”: “admin”, “db\_import”: “…/site/amigoslink\_staging.sql”, “env”: {“db\_name”: “amigoslink\_dev”, “db\_password”: “amigoslink\_2iDAw468125E”, “db\_user”: “amigoslink\_dbuser”, “domain\_current\_site”: “amigoslink.dev”, “wp\_env”: “development”, “wp\_home”: “[http://amigoslink.dev](http://amigoslink.dev)”, “wp\_siteurl”: “[http://amigoslink.dev/wp](http://amigoslink.dev/wp)”}, “local\_path”: “…/site”, “multisite”: {“enabled”: true, “subdomains”: true}, “repo”: “[git@bitbucket.org](mailto:git@bitbucket.org):newbird/amigoslink.org.git”, “site\_hosts”: [“amigoslink.dev”], “site\_install”: true, “site\_title”: “Example Site”, “ssl”: {“enabled”: false}, “system\_cron”: true}}, “rc”: 0, “start”: “2015-06-25 20:05:34.163801”, “stdout\_lines”: , “warnings”: }  
> stderr: PHP Notice: Undefined index: HTTP\_HOST in /srv/www/amigoslink.org/current/web/wp/wp-includes/ms-settings.php on line 30  
> Notice: Undefined index: HTTP\_HOST in /srv/www/amigoslink.org/current/web/wp/wp-includes/ms-settings.php on line 30  
> WordPress database error Table ‘amigoslink\_dev.wp\_blogs’ doesn’t exist for query SELECT \* FROM wp\_blogs WHERE domain = ‘’ AND path = ‘/’ made by include(‘phar:///usr/bin/wp/php/boot-phar.php’), include(‘phar:///usr/bin/wp/php/wp-cli.php’), require(‘phar:///usr/bin/wp/php/wp-settings-cli.php’), require(‘wp-includes/ms-settings.php’), get\_site\_by\_path  
> PHP Notice: Undefined property: stdClass::$public in /srv/www/amigoslink.org/current/web/wp/wp-includes/ms-settings.php on line 184  
> Notice: Undefined property: stdClass::$public in /srv/www/amigoslink.org/current/web/wp/wp-includes/ms-settings.php on line 184  
> WordPress database error Table ‘amigoslink\_dev.wp\_sitemeta’ doesn’t exist for query SELECT meta\_value FROM wp\_sitemeta WHERE meta\_key = ‘site\_name’ AND site\_id = 1 made by include(‘phar:///usr/bin/wp/php/boot-phar.php’), include(‘phar:///usr/bin/wp/php/wp-cli.php’), require(‘phar:///usr/bin/wp/php/wp-settings-cli.php’), require(‘wp-includes/ms-settings.php’), get\_site\_option  
> WordPress database error Table ‘amigoslink\_dev.wp\_sitemeta’ doesn’t exist for query SELECT meta\_value FROM wp\_sitemeta WHERE meta\_key = ‘bedrock\_autoloader’ AND site\_id = 1 made by include(‘phar:///usr/bin/wp/php/boot-phar.php’), include(‘phar:///usr/bin/wp/php/wp-cli.php’), require(‘phar:///usr/bin/wp/php/wp-settings-cli.php’), include\_once(‘/mu-plugins/bedrock-autoloader.php’), Roots\Bedrock\Autoloader-\>\_\_construct, Roots\Bedrock\Autoloader-\>loadPlugins, Roots\Bedrock\Autoloader-\>checkCache, get\_site\_option  
> WordPress database error Table ‘amigoslink\_dev.wp\_sitemeta’ doesn’t exist for query SHOW FULL COLUMNS FROM `wp_sitemeta` made by include(‘phar:///usr/bin/wp/php/boot-phar.php’), include(‘phar:///usr/bin/wp/php/wp-cli.php’), require(‘phar:///usr/bin/wp/php/wp-settings-cli.php’), include\_once(‘/mu-plugins/bedrock-autoloader.php’), Roots\Bedrock\Autoloader-\>\_\_construct, Roots\Bedrock\Autoloader-\>loadPlugins, Roots\Bedrock\Autoloader-\>checkCache, Roots\Bedrock\Autoloader-\>updateCache, Roots\Bedrock\Autoloader-\>countPlugins, Roots\Bedrock\Autoloader-\>updateCache, update\_site\_option, add\_site\_option  
> WordPress database error Table ‘amigoslink\_dev.wp\_sitemeta’ doesn’t exist for query SHOW FULL COLUMNS FROM `wp_sitemeta` made by include(‘phar:///usr/bin/wp/php/boot-phar.php’), include(‘phar:///usr/bin/wp/php/wp-cli.php’), require(‘phar:///usr/bin/wp/php/wp-settings-cli.php’), include\_once(‘/mu-plugins/bedrock-autoloader.php’), Roots\Bedrock\Autoloader-\>\_\_construct, Roots\Bedrock\Autoloader-\>loadPlugins, Roots\Bedrock\Autoloader-\>checkCache, Roots\Bedrock\Autoloader-\>updateCache, update\_site\_option, add\_site\_option  
> WordPress database error Table ‘amigoslink\_dev.wp\_sitemeta’ doesn’t exist for query SELECT meta\_value FROM wp\_sitemeta WHERE meta\_key = ‘siteurl’ AND site\_id = 1 made by include(‘phar:///usr/bin/wp/php/boot-phar.php’), include(‘phar:///usr/bin/wp/php/wp-cli.php’), require(‘phar:///usr/bin/wp/php/wp-settings-cli.php’), wp\_cookie\_constants, get\_site\_option

> FATAL: all hosts have already failed – aborting

> PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> to retry, use: --limit @/Users/danielbell/dev.retry

> default : ok=71 changed=1 unreachable=0 failed=1

> Ansible failed to complete successfully. Any error output should be  
> visible above. Please fix these errors and try again.

---

## Post 9 by @kalenjohnson — 2015-06-25T21:23:55Z

Did you try googling for any of the new error?

---

## Post 10 by @daniel — 2015-06-26T05:49:29Z

Hey Kalen,

I’ve just spent a good portion of the day/night Googling my error message and the closest thing I found to a similarity was: [Wordpress-install fails when using vagrant up](https://discourse.roots.io/t/wordpress-install-fails-when-using-vagrant-up/3787/5)

This person ended up skipping the instructions in the wiki alltogether but then ran in to another error message – which Scott said was OK. I tried this method as well which did get WordPress Multisite setup but as soon as I try running vagrant provision (after installing Landrush), I end up with that same error again.

Has anyone been able to get this working? We despartly need this working.

---

## Post 11 by @juanmaguitar — 2016-04-15T09:40:28Z

Hi @daniel,

For me not using the `vagrant landrush` was the solution to lot of issues i was having w/ multisite & trellis.  
The only consequence for not using it is that you have to manually enter any new sudomain or mapped domain for you site (part of the multisite installation)

Maybe this solution can help you
