File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1062,7 +1062,7 @@ private function wp_download_and_config( $assoc_args ) {
10621062
10631063 EE ::log ( 'Downloading and configuring WordPress. ' );
10641064
1065- $ chown_command = "docker-compose exec php chown -R www-data: /var/www/ " ;
1065+ $ chown_command = "docker-compose exec --user=root php chown -R www-data: /var/www/ " ;
10661066 \EE \Utils \default_launch ( $ chown_command );
10671067
10681068 $ core_download_command = "docker-compose exec --user='www-data' php wp core download --locale=' " . $ this ->locale . "' " . $ core_download_arguments ;
@@ -1247,7 +1247,7 @@ private function catch_clean( $e ) {
12471247 \EE \Utils \delem_log ( 'site cleanup start ' );
12481248 EE ::warning ( $ e ->getMessage () );
12491249 EE ::warning ( 'Initiating clean-up. ' );
1250- $ this ->delete_site ();
1250+ // $this->delete_site();
12511251 \EE \Utils \delem_log ( 'site cleanup end ' );
12521252 exit ;
12531253 }
@@ -1258,7 +1258,7 @@ private function catch_clean( $e ) {
12581258 private function rollback () {
12591259 EE ::warning ( 'Exiting gracefully after rolling back. This may take some time. ' );
12601260 if ( $ this ->level > 0 ) {
1261- $ this ->delete_site ();
1261+ // $this->delete_site();
12621262 }
12631263 EE ::success ( 'Rollback complete. Exiting now. ' );
12641264 exit ;
You can’t perform that action at this time.
0 commit comments