WordPress / wordcamp.org

WordCamps are casual, locally-organized conferences covering everything related to WordPress.
https://wordcamp.org
130 stars 74 forks source link

Unable to create a new WordCamp's site on local via Docker #778

Closed CdrMarks closed 1 year ago

CdrMarks commented 2 years ago

Describe the bug

Using Docker for a standalone WordCamp.org installation, I was unable to create a new site for a WordCamp.

To reproduce

Steps to reproduce the behavior:

  1. Follow the instructions at Using Docker for a standalone WordCamp.org installation in the section under Initial Setup.
  2. Browse to https://central.wordcamp.test/wp-admin/ and login if necessary
  3. Go to WordCamps > Add New
  4. Create a new WordCamp "Ryan 2022"
  5. Advance the site through the status to "In Pre-Planning"
  6. Enter the site URL https://ryan.wordcamp.test/2022/ and check the box to Create site in network
  7. Add the ryan.wordcamp.test host in my hosts file
  8. Browse to https://ryan.wordcamp.test/2022/
  9. See a "Too many redirects" browser message

Expected behavior

I'd see the new site I just created.

2ndkauboy commented 1 year ago

This is connected to #782. After changing it to a subdirs install, I was able to do this by choosing something like /2022-europe when creating the new site and then updating it to http://wordcamp.test/2022-europe/ in the site "Info" settings.

iandunn commented 1 year ago

933 may have fixed this one too, do you mind testing?

timiwahalahti commented 1 year ago

I tested creating a new site, and it worked as expected.