-
Notifications
You must be signed in to change notification settings - Fork 316
Closed
Labels
[Package][@wp-playground] CLI[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
The following Playground CLI command fails during the boot process while attempting to unzip WordPress:
DEBUG=* npx @wp-playground/cli server --mount-dir-before-install './database' '/wordpress/wp-content/database/'
The error is:
Fetching SQLite integration plugin...
Booting WordPress...
error Error: Could not move /tmp/unzipped-wordpress/wordpress to /wordpress: Device or resource busy.
at Function.mv (/Users/mjangda/dev/vip/sandbox/wordpress-playground/packages/php-wasm/universal/src/lib/fs-helpers.ts:115:10)
at PHP.mv (/Users/mjangda/dev/vip/sandbox/wordpress-playground/packages/php-wasm/universal/src/lib/php.ts:1077:20)
at unzipWordPress (/Users/mjangda/dev/vip/sandbox/wordpress-playground/packages/playground/wordpress/src/index.ts:545:7)
at async bootWordPress (/Users/mjangda/dev/vip/sandbox/wordpress-playground/packages/playground/wordpress/src/boot.ts:146:3)
at async PlaygroundCliWorker.boot (/Users/mjangda/dev/vip/sandbox/wordpress-playground/packages/playground/cli/src/worker-thread.ts:135:27) {
[cause]: ErrnoError { name: 'ErrnoError', errno: 10 }
}
Reported by @mjangda
Metadata
Metadata
Assignees
Labels
[Package][@wp-playground] CLI[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended