GatherPress / gatherpress

Powering our community's event management needs.
https://wordpress.org/plugins/gatherpress/
GNU General Public License v2.0
93 stars 30 forks source link

Fix Playground PR preview #950

Closed carstingaxion closed 21 hours ago

carstingaxion commented 22 hours ago

Describe the bug

The last recent PRs didn't had working preview Playgrounds.

  1. The first reason was easy found and fixed fast: I needed to update a GitHub token, that I renewed meanwhile. :heavy_check_mark:
  2. Now things got strange:
    1. The normal preview link like this, fails
    2. It still shows, that the zip file is loaded from the artifact and installed
    3. But it won't activate automatically
    4. Even I can do that manually without any problems

Steps to Reproduce

..

Screenshots, screen recording, code snippet

image

Environment information

No response

WordPress information

No response

Code of Conduct

carstingaxion commented 22 hours ago
carstingaxion commented 22 hours ago
Error: Error when executing the blueprint step #7 ({"step":"installPlugin","pluginData":{"resource":"vfs","path":"/wordpress/pr/gatherpress.zip"},"options":{"activate":true}}) : 
Plugin /wordpress/wp-content/plugins/gatherpress could not be activated – WordPress exited with no error. Sometimes, when $_SERVER or site options are not configured correctly, WordPress exits early with a 301 redirect. Inspect the "debug" logs in the console for more details
carstingaxion commented 22 hours ago

Not starting a multisite fixes the issue

Using the Preview link from #949 and just removing:

    {
      "step": "enableMultisite"
    },

... everything is fine.

carstingaxion commented 21 hours ago

Moving the enableMultisite step to the end of the blueprint, after the plugin is activated, works, too.

carstingaxion commented 21 hours ago

Superstrange.