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

Studio hangs on DB update until I restart the website #661

Open
boyanov opened this issue Nov 13, 2024 · 6 comments
Open

Studio hangs on DB update until I restart the website #661

boyanov opened this issue Nov 13, 2024 · 6 comments

Comments

@boyanov
Copy link

boyanov commented Nov 13, 2024

Quick summary

I use one website and some plugins, Loco specifically. When I update a translation, the website hangs and will not respond until I do STOP & START from the Studio UI. Also, the procession starts to run at 10-15% all the time - I see this in Process Explorer.

I noticed that the Loco will save the PO file but not the MO file, so it might not be a DB issue.

THIS IS NOT a Loco bug; it does not happen on any other instance that is not on Studio.

Steps to reproduce

  1. I have a website and installed some plugins, Loco specifically.
  2. I have a dozen strings already translated, and it has worked before.

What you expected to happen

When I edit a string and want to save it, it should complete the operation successfully.

What actually happened

When I edit a string and want to save it, it hangs.

Impact

One

Available workarounds?

No and the app is unusable

Platform

Windows

Logs or notes

I have no way of looking at any logs to provide you with other info,

@boyanov
Copy link
Author

boyanov commented Nov 13, 2024

Screenshots from Process Explorer:

Image

Image

@wojtekn
Copy link
Contributor

wojtekn commented Nov 14, 2024

@boyanov thanks for reporting the issue. I've checked it on Mac, and couldn't reproduce it. We will check it on Windows.

@stephanethomas
Copy link

Hi @boyanov! I tried to reproduce it on Windows to no avail. If possible, would you be able to provide us with a Jetpack backup of your site (or any random/test site that only has the Loco plugin and where you noticed the same issue) that we could import in Studio?

@boyanov
Copy link
Author

boyanov commented Nov 17, 2024

@stephanethomas, I will create a local site and provide you with a backup.

Please note that the issue appears after you have a larger number of strings to translate - like 20 or more.

Is there a way to look at any logs where I could spot the root cause of the issue?

Also, how do I provide you with the backup file, an attachment here?

@boyanov
Copy link
Author

boyanov commented Nov 22, 2024

After many experiments, I can say that it is related to the number of Loco entries per plugin. Is it related to the use of SQLite? I don't know, but certainly, when I have 14 Loco entries, the bug starts to show up.

Running a copy from export/import allows you to reproduce it every time.

What is frustrating is that I don't have a way to look at logs to see what might cause the issue.

@Robertght
Copy link

@boyanov Feel free to share the Jetpack Backup through a Google Drive link with a "Anyone with a link" sharing option enabled.

I also tested this on my end and updated about 20+ strings and I couldn't see any issues in the process.

@Robertght Robertght moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Dec 14, 2024
@Robertght Robertght added Triaged Needs Author's Reply and removed Needs triage Ticket needs to be triaged labels Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

5 participants