WordOps / WordOps

Install and manage a high performance WordPress stack with a few keystrokes

Home Page:https://wordops.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`sudo wo site create` Taking Infinite time

arihantchopra opened this issue · comments

I have 2 dedicated server with ubuntu 22.04 having 32 Cores & 64GB and 128GB of RAM repectively. I am facing an strange issue since last month that whenever i am trying to create a new website using "sudo wo site create example.com --php81" it just stuck at below output and takes Infinite time to create the site. Some time it takes an hours and someday it takes 4-5 hours to create a site.

Command :
sudo wo site create example.com --php81
Output :
Running pre-update checks [OK]
Setting up NGINX configuration [Done]
Setting up webroot [Done]
Testing Nginx configuration [OK]
Reloading Nginx [OK]

I already updated the wo stack but that too didn't helped me.

Hello @arihantchopra,
Thanks for your report, I'm going to investigate on this issue.

Yes please let me know if any info is required.
I want to correct one thing that on one server OS is : Ubuntu 20.04.6 LTS

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

I have found the cause of the issue. WordOps is looking for broken symlink in /var/www, so if you have a lot of files, it could require a long time. I'm working on a fix.

@VirtuBox is there any temporary workaround?

Hello @arihantchopra,
No sorry, I'm working on it and a fix should be available very soon.

Issue has been fixed in the last release.

Please update WordOps with the command wo update

Now stuck at below for more than an hour :

root@Ubuntu-2004-focal-64-minimal ~ # sudo wo update
Downloading update script [Done]
updating WordOps, please wait...

Welcome to WordOps install/update script v3.20.0

Installing wo dependencies [OK]
Installing WordOps [OK]
Running post-install steps