Multisite doesn't load with too many redirects and WP CLI error can't find site


I’m currently experiencing two issues an I think they are related. Provisioning of my local and remote is going just fine but when I try and deploy remote I receive an error from WP ClI saying Error: Site {{sitename}} not found. I’ve tried adding my site url to wp-cli.yml but that didnt help.

When visiting the site in the browser I’m receiving the browser error that the page isn’t working because it has too many redirects. (it’s trying to redirect to new signup)

Any help would be greatly appreciated.

Thank you

Does your local WordPress installation work as expected?

Can you share the changes you’ve made to the files in Trellis and provide the exact error messages you encountered w/ some more context (what was going on before that in the terminal)?

Hi Ben,

Thanks so much for your reply. I really appreciate it.

My local install seems to work like a charm from the first go. At least I haven’t been able to find any issues with it so far.

So just make sure I could give you the latest information I decided to rebuild my droplet and do it all over again.
I honestly have no idea what I did differently but the build completed this time. So, great result but it still bothers me that I don’t know what was wrong or what is different now. :smile:

That said, I don’t think it went completely according to the docs. I’m using Multisite and it looks like the deployment does a wp core install. So somewhere in the deployment process I got an error saying that the wp_blogs table didn’t exist and the deployment stopped. I had to ssh in, do the wp core multisite-install to add the missing tables and then redeploy. After that the deployment completed where I expected to get that error mentioned above.

The docs also state that the deploy doesn’t install WP. Yet it did give met the WP tables for the single site install, that I only had to upgrade. When this was done I got a working site running twentyseventeen.

So it seems like I’m up and running, next step for me will to be to setup my production environment.

Thanks again.