Internal Error Installing Wordpress Via Quick App

I am having another issue when installing Wordpress

The site does Install the database but empty also on file manager public_index is also empty

When Running

/var/log/hestia/nginx-error.log

I get a lot

Stack trace:
#0 /usr/local/hestia/web/src/app/WebApp/Installers/BaseSetup.php(169): Hestia\WebApp\Installers\BaseSetup->retrieveResources()
#1 /usr/local/hestia/web/src/app/WebApp/Installers/WordPress/WordPressSetup.php(73): Hestia\WebApp\Installers\BaseSetup->install()
#2 /usr/local/hestia/web/src/app/WebApp/AppWizard.php(145): Hestia\WebApp\Installers\Wordpress\WordpressSetup->install()
#3 /usr/local/hestia/web/add/webapp/index.php(84): Hestia\WebApp\AppWizard->execute()
#4 {main}
  thrown in /usr/local/hestia/web/src/app/WebApp/Installers/BaseSetup.php on line 116" while reading response header from upstream, client: 162.158.154.21, server: _, request: "POST /add/webapp/?app=WordPress&d>
2025/02/22 12:05:06 [error] 979#0: *64 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.72, server: _, request: "GET /images/arrow.svg HTTP/2.0", host: >
2025/02/22 12:05:23 [error] 979#0: *64 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:05:23 [error] 979#0: *70 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:05:23 [error] 979#0: *72 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:05:27 [error] 979#0: *74 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:06:04 [error] 979#0: *76 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:06:06 [error] 979#0: *78 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:06:06 [error] 979#0: *80 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:06:07 [error] 979#0: *76 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:08:10 [error] 979#0: *94 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", host: >
2025/02/22 12:13:35 [error] 979#0: *97 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", host: >
2025/02/22 12:15:36 [error] 979#0: *108 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.72, server: _, request: "GET /images/arrow.svg HTTP/2.0", host:>
2025/02/22 12:15:43 [error] 979#0: *117 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "look" in /usr/local/hestia/web/inc/main.php on line 104" while reading response header from upstr>
2025/02/22 12:20:22 [error] 979#0: *159 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined variable $v_redirect_custom in /usr/local/hestia/web/templates/pages/edit_web.php on line 149" while reading>
2025/02/22 12:20:59 [error] 979#0: *163 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined variable $v_redirect_custom in /usr/local/hestia/web/templates/pages/edit_web.php on line 149" while reading>
2025/02/22 12:20:59 [error] 979#0: *165 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", host:>
</app/WebApp/Installers/BaseSetup.php:116
Stack trace:
#0 /usr/local/hestia/web/src/app/WebApp/Installers/BaseSetup.php(169): Hestia\WebApp\Installers\BaseSetup->retrieveResources()
#1 /usr/local/hestia/web/src/app/WebApp/Installers/WordPress/WordPressSetup.php(73): Hestia\WebApp\Installers\BaseSetup->install()
#2 /usr/local/hestia/web/src/app/WebApp/AppWizard.php(145): Hestia\WebApp\Installers\Wordpress\WordpressSetup->install()
#3 /usr/local/hestia/web/add/webapp/index.php(84): Hestia\WebApp\AppWizard->execute()
#4 {main}
  thrown in /usr/local/hestia/web/src/app/WebApp/Installers/BaseSetup.php on line 116" while reading response header from upstream, client: 162.158.63.65, server: _, request: "POST /add/webapp/?app=WordPress&do>

Stack trace:
#0 /usr/local/hestia/web/inc/main.php(219): include()
#1 /usr/local/hestia/web/list/backup/incremental/index.php(34): render_page()
#2 {main}
  thrown in /usr/local/hestia/web/templates/pages/list_backup_incremental.php on line 115" while reading upstream, client: 172.70.111.66, server: _, request: "GET /list/backup/incremental/ HTTP/2.0", upstream: >
2025/02/20 16:51:19 [error] 1432257#0: *2021 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", >
2025/02/20 16:51:30 [error] 1432257#0: *2033 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "look" in /usr/local/hestia/web/inc/main.php on line 104" while reading response header from >
2025/02/20 16:51:40 [error] 1432257#0: *2021 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", >
2025/02/20 16:55:25 [error] 1432257#0: *2041 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", >
2025/02/20 16:55:49 [error] 1432257#0: *2041 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", >
2025/02/20 17:02:58 [error] 1432257#0: *2064 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.72, server: _, request: "GET /images/arrow.svg HTTP/2.0", >
2025/02/20 17:09:47 [error] 1432257#0: *2067 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.72, server: _, request: "GET /images/arrow.svg HTTP/2.0", >
2025/02/20 17:10:03 [error] 1432257#0: *2068 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "look" in /usr/local/hestia/web/inc/main.php on line 104" while reading response header from >
2025/02/20 17:10:14 [error] 1432257#0: *2093 FastCGI sent in stderr: "PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /usr/local/hestia/web/templates/pages/list_backu>
2025/02/20 17:10:14 [error] 1432257#0: *2093 FastCGI sent in stderr: "; PHP message: PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /usr/loc>
Stack trace:
#0 /usr/local/hestia/web/inc/main.php(219): include()
#1 /usr/local/hestia/web/list/backup/incremental/index.php(34): render_page()
#2 {main}
  thrown in /usr/local/hestia/web/templates/pages/list_backup_incremental.php on line 115" while reading upstream, client: 172.70.111.65, server: _, request: "GET /list/backup/incremental/ HTTP/2.0", upstream: >
2025/02/20 17:14:08 [error] 1432257#0: *2117 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", >
2025/02/20 17:14:17 [error] 1432257#0: *2130 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "look" in /usr/local/hestia/web/inc/main.php on line 104" while reading response header from >
2025/02/20 17:14:40 [error] 1432257#0: *2141 FastCGI sent in stderr: "PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /usr/local/hestia/web/templates/pages/list_backu>
Stack trace:
#0 /usr/local/hestia/web/inc/main.php(219): include()
#1 /usr/local/hestia/web/list/backup/incremental/index.php(34): render_page()
#2 {main}
  thrown in /usr/local/hestia/web/templates/pages/list_backup_incremental.php on line 115" while reading upstream, client: 172.70.111.66, server: _, request: "GET /list/backup/incremental/ HTTP/2.0", upstream: >
2025/02/20 17:19:08 [error] 1432257#0: *2157 FastCGI sent in stderr: "PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /usr/local/hestia/web/templates/pages/list_backu>
Stack trace:
#0 /usr/local/hestia/web/inc/main.php(219): include()
#1 /usr/local/hestia/web/list/backup/incremental/index.php(34): render_page()
#2 {main}
  thrown in /usr/local/hestia/web/templates/pages/list_backup_incremental.php on line 115" while reading upstream, client: 172.70.111.66, server: _, request: "GET /list/backup/incremental/ HTTP/2.0", upstream: >
2025/02/20 17:19:09 [error] 1432257#0: *2157 FastCGI sent in stderr: "PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /usr/local/hestia/web/templates/pages/list_backu>
Stack trace:
#0 /usr/local/hestia/web/inc/main.php(219): include()
#1 /usr/local/hestia/web/list/backup/incremental/index.php(34): render_page()
#2 {main}
  thrown in /usr/local/hestia/web/templates/pages/list_backup_incremental.php on line 115" while reading upstream, client: 172.70.111.66, server: _, request: "GET /list/backup/incremental/ HTTP/2.0", upstream: >
2025/02/20 17:19:39 [error] 1432257#0: *2164 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", >
2025/02/20 17:19:56 [error] 1432257#0: *2169 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "look" in /usr/local/hestia/web/inc/main.php on line 104" while reading response header from >
2025/02/20 17:20:05 [error] 1432257#0: *2164 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", >
2025/02/20 17:21:05 [error] 1432257#0: *2187 FastCGI sent in stderr: "PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /usr/local/hestia/web/templates/pages/list_backu>
Stack trace:
#0 /usr/local/hestia/web/inc/main.php(219): include()
#1 /usr/local/hestia/web/list/backup/incremental/index.php(34): render_page()
#2 {main}

Server

Nginx+ mariadb
Hestia 1.9.2
PHP 8.3
Ubuntu 22.4
Cloudflare Enable

rm -r /tmp/hestia-webapp

I get

root@nyc3:~# rm /tmp/hestia-webapp
rm: cannot remove '/tmp/hestia-webapp': Is a directory

should I try?

sudo rm -rf /tmp/hestia-webapp

-r should be enough, check updated comment.

I try the updated comment still not working

rm -r /tmp/hestia-webapp


Stack trace:
#0 /usr/local/hestia/web/src/app/WebApp/Installers/BaseSetup.php(169): Hestia\WebApp\Installers\BaseSetup->retrieveResources()
#1 /usr/local/hestia/web/src/app/WebApp/Installers/WordPress/WordPressSetup.php(73): Hestia\WebApp\Installers\BaseSetup->install()
#2 /usr/local/hestia/web/src/app/WebApp/AppWizard.php(145): Hestia\WebApp\Installers\Wordpress\WordpressSetup->install()
#3 /usr/local/hestia/web/add/webapp/index.php(84): Hestia\WebApp\AppWizard->execute()
#4 {main}
  thrown in /usr/local/hestia/web/src/app/WebApp/Installers/BaseSetup.php on line 116" while reading response header from upstream, client: 162.158.154.21, server: _, request: "POST /add/webapp/?app=WordPress&d>
2025/02/22 12:05:06 [error] 979#0: *64 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.72, server: _, request: "GET /images/arrow.svg HTTP/2.0", host: >
2025/02/22 12:05:23 [error] 979#0: *64 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:05:23 [error] 979#0: *70 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:05:23 [error] 979#0: *72 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:05:27 [error] 979#0: *74 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:06:04 [error] 979#0: *76 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:06:06 [error] 979#0: *78 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:06:06 [error] 979#0: *80 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:06:07 [error] 979#0: *76 FastCGI sent in stderr: "PHP message: PHP Warning:  ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfony/h>
2025/02/22 12:08:10 [error] 979#0: *94 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", host: >
2025/02/22 12:13:35 [error] 979#0: *97 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", host: >
2025/02/22 12:15:36 [error] 979#0: *108 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.72, server: _, request: "GET /images/arrow.svg HTTP/2.0", host:>
2025/02/22 12:15:43 [error] 979#0: *117 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "look" in /usr/local/hestia/web/inc/main.php on line 104" while reading response header from upstr>
2025/02/22 12:20:22 [error] 979#0: *159 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined variable $v_redirect_custom in /usr/local/hestia/web/templates/pages/edit_web.php on line 149" while reading>
2025/02/22 12:20:59 [error] 979#0: *163 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined variable $v_redirect_custom in /usr/local/hestia/web/templates/pages/edit_web.php on line 149" while reading>
2025/02/22 12:20:59 [error] 979#0: *165 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", host:>
2025/02/22 12:21:41 [error] 979#0: *170 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Class "Hestia\WebApp\Installers\Resources\WpResource" not found in /usr/local/hestia/web/src/app/W>
Stack trace:
#0 /usr/local/hestia/web/src/app/WebApp/Installers/BaseSetup.php(169): Hestia\WebApp\Installers\BaseSetup->retrieveResources()
#1 /usr/local/hestia/web/src/app/WebApp/Installers/WordPress/WordPressSetup.php(73): Hestia\WebApp\Installers\BaseSetup->install()
#2 /usr/local/hestia/web/src/app/WebApp/AppWizard.php(145): Hestia\WebApp\Installers\Wordpress\WordpressSetup->install()
#3 /usr/local/hestia/web/add/webapp/index.php(84): Hestia\WebApp\AppWizard->execute()
#4 {main}
  thrown in /usr/local/hestia/web/src/app/WebApp/Installers/BaseSetup.php on line 116" while reading response header from upstream, client: 162.158.63.65, server: _, request: "POST /add/webapp/?app=WordPress&do>
2025/02/22 12:41:22 [error] 979#0: *174 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.73, server: _, request: "GET /images/arrow.svg HTTP/2.0", host:>
2025/02/22 13:06:55 [error] 979#0: *191 open() "/usr/local/hestia/web/images/arrow.svg" failed (2: No such file or directory), client: 162.158.154.72, server: _, request: "GET /images/arrow.svg HTTP/2.0", host:>
2025/02/22 13:07:09 [error] 979#0: *198 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined variable $v_redirect_custom in /usr/local/hestia/web/templates/pages/edit_web.php on line 149" while reading>
2025/02/22 13:07:31 [error] 979#0: *204 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Class "Hestia\WebApp\Installers\Resources\WpResource" not found in /usr/local/hestia/web/src/app/W>
Stack trace:
#0 /usr/local/hestia/web/src/app/WebApp/Installers/BaseSetup.php(169): Hestia\WebApp\Installers\BaseSetup->retrieveResources()
#1 /usr/local/hestia/web/src/app/WebApp/Installers/WordPress/WordPressSetup.php(73): Hestia\WebApp\Installers\BaseSetup->install()
#2 /usr/local/hestia/web/src/app/WebApp/AppWizard.php(145): Hestia\WebApp\Installers\Wordpress\WordpressSetup->install()
#3 /usr/local/hestia/web/add/webapp/index.php(84): Hestia\WebApp\AppWizard->execute()
#4 {main}
  thrown in /usr/local/hestia/web/src/app/WebApp/Installers/BaseSetup.php on line 116" while reading response header from upstream, client: 172.70.231.35, server: _, request: "POST /add/webapp/?app=WordPress&do

Any other suggestion?

The issue has now been resolved, and I can now install WordPress using the quick install apps.

The internal server error was caused by corrupted files in

web/src/app/WebApp/Installers/Resources

I replace both files and now it works perfect.

ComposerResource.php
WpResource.php

1 Like