Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging site: "Add staging site' button gets deactivated seconds after the page loads #90427

Open
Robertght opened this issue May 8, 2024 · 17 comments
Assignees
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature Group] Developer & Contractor Tools Features and tools designed for developers and contractors working on WordPress.com sites. [Feature] Other Atomic Infrastructure Anything else related to Atomic. [Feature] Staging Sites All tools and settings that allow you to create staging sites for Atomic sites. [Platform] Atomic [Pri] Low [Product] WordPress.com All features accessible on and related to WordPress.com. Triaged To be used when issues have been triaged. [Type] Bug

Comments

@Robertght
Copy link

Robertght commented May 8, 2024

Quick summary

The "Add staging site' butotn gets deactivated seconds after the "Hosting" page loads.

Steps to reproduce

I can't replicate this locally, but I had two cases so far.

In the last case recorded (8161704-zd-a8c), we were able to fire the staging site again before the button got disabled.

What you expected to happen

To be able to launch the staging site.

What actually happened

The button became unavailable after 3-5 seconds of waiting.

Impact

Some (< 50%)

Available workarounds?

Yes, easy to implement

Platform (Simple and/or Atomic)

No response

Logs or notes

cc'ing @Nic-Sevic who troubleshooted this as well.

Also @Automattic/yolo as agreed in Slack: p1715156962488499-slack-C03TY6J1A

@Robertght Robertght added [Type] Bug Needs triage Ticket needs to be triaged [Feature] Staging Sites All tools and settings that allow you to create staging sites for Atomic sites. [Product] WordPress.com All features accessible on and related to WordPress.com. [Feature Group] Developer & Contractor Tools Features and tools designed for developers and contractors working on WordPress.com sites. labels May 8, 2024
Copy link

github-actions bot commented May 8, 2024

Support References

This comment is automatically generated. Please do not edit it.

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". label May 8, 2024
@wojtekn
Copy link
Contributor

wojtekn commented May 8, 2024

@Robertght, do we have steps that allow reproducing it, or a customer account that experiences that problem?

@Robertght
Copy link
Author

The only steps I could mention are:

  1. Access the Hosting configuration page.
  2. Wait 3-5 second
  3. Check if the "add staging site" button gets deactivated.

However, this doesn't occur with all sites and since we fixed this one by clicking the button before it got disabled, I assume we'll need a new case?

@wojtekn
Copy link
Contributor

wojtekn commented May 9, 2024

However, this doesn't occur with all sites and since we fixed this one by clicking the button before it got disabled, I assume we'll need a new case?

Correct, as we couldn't reproduce it internally, it would make sense to close and reopen if there is a new case with steps to reproduce.

@Robertght
Copy link
Author

I have highlighted this issue to Happiness so we can bring in more examples and avoid firing a staging site to troubleshoot things further.

As we cannot replicate it locally, I believe it's still an issue we need to look into.

@Robertght
Copy link
Author

Another case but the staging site was created: p1715230247032969-slack-C03TY6J1A

@wojtekn wojtekn changed the title Staging site: "Add staging site' butotn gets deactivated seconds after the page loads Staging site: "Add staging site' button gets deactivated seconds after the page loads May 9, 2024
@wojtekn
Copy link
Contributor

wojtekn commented May 9, 2024

Thanks @Robertght . I'm adding this to the YOLO board, and we will check it more.

@liviopv
Copy link

liviopv commented May 10, 2024

📌 REPRODUCTION RESULTS

  • Tested on Atomic – Uncertain

📌 FINDINGS/SCREENSHOTS/VIDEO
Tested on my own site, but couldn't reproduce

📌 ACTIONS

  • Marking as Triaged since it's on YOLO's board

@liviopv liviopv added [Platform] Atomic [Feature] Other Atomic Infrastructure Anything else related to Atomic. Triaged To be used when issues have been triaged. and removed Needs triage Ticket needs to be triaged labels May 10, 2024
@upwardmomentum84
Copy link

Another potential case: 8185457-zd-a8c

The user didn't mention anything about the issue happening after 3-5 seconds. I SU'd as the user and see the button as it's expected to be. I've asked them for screenshots if it is still happening.

@Robertght
Copy link
Author

Found an example here: https://wordpress.com/forums/topic/create-staging-site-button-is-disabled-despite-having-creator-plan/?view=all

Site: https://labradorsports.com

I have stalled them for now, but I hope we can get to it before the weekend starts. cc @wojtekn

@kozer
Copy link
Contributor

kozer commented May 17, 2024

I'll start working on it @Robertght . Thanks for mentioning it.

@kozer kozer self-assigned this May 17, 2024
@kozer
Copy link
Contributor

kozer commented May 17, 2024

This is strange... I logged in as the user, and I'm not seeing the button disabled.
2024-05-17T12:46:41,094028180+03:00

This button is disabled for one of the following reasons:

  1. The site has not sftp feature enabled.
  2. The site is not atomic.
  3. The site doesn't have a valid quota ( staging-site/validate-quota endpoint ).
  4. There is a jetpack connection problem

Is this still an issue for them @Robertght ?

@Robertght
Copy link
Author

I believe this is because of the on-going changes that are happening in the dashboard. We can only see that when proxying, but you should be able to see the previous dashboard if unproxied. I believe a separate admin account may be needed in order to test.

@kozer
Copy link
Contributor

kozer commented May 17, 2024

I believe a separate admin account may be needed in order to test.

What's the easiest way to do that? Also, and more important, is it ok to add me as an admin and then remove me, @Robertght ?

@jartes
Copy link
Contributor

jartes commented May 17, 2024

Another report on 8204743-zd-a8c

@kozer
Copy link
Contributor

kozer commented May 17, 2024

Another report on 8204743-zd-a8c

Just saw that! I logged in as the user, and unfortunately, he already has a staging site created!!! 😢
cc: @jartes

@Robertght
Copy link
Author

Another two cases here: 8274952-zen.

I suggested that we create the staging sites for them so we can wait for the new changes to be shipped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature Group] Developer & Contractor Tools Features and tools designed for developers and contractors working on WordPress.com sites. [Feature] Other Atomic Infrastructure Anything else related to Atomic. [Feature] Staging Sites All tools and settings that allow you to create staging sites for Atomic sites. [Platform] Atomic [Pri] Low [Product] WordPress.com All features accessible on and related to WordPress.com. Triaged To be used when issues have been triaged. [Type] Bug
Projects
Development

No branches or pull requests

6 participants