Unable to install any theme. The saving process hangs

I am asking for your help. OJS 3.3.0-15 PHP 7.3 clean version installed

Unable to install any theme. The saving process hangs.

500 http://ojstest1.test.com/journals/index.php/socio-humanitarian/$$$call$$$/grid/settings/plugins/settings-plugin-grid/save-upload-plugin?function=upload&category=&plugin=

After that, it is not possible to view the installed plugins.

Only after deleting the folder with the theme, it is possible to view the installed plugins.

I am asking for your help. The log contains the following errors:

[Wed Oct 04 12:10:40.214053 2023] [proxy_fcgi:error] [pid 723] [client 166.64.0.230:33354] AH01071: Got error 'PHP message: Database query\nSELECT * FROM sessions WHERE session_id = ?\n["uvm8a0sqpnvenj>

166.64.0.230 - - [04/Oct/2023:12:10:39 +0300] “GET /test/index.php/1/$$$call$$$/grid/settings/plugins/settings-plugin-grid/upload-plugin?_=1696410243153 HTTP/1.1” 200 3855 "http://ojstest1.temp.com/t>

[Wed Oct 04 12:10:40.360073 2023] [proxy_fcgi:error] [pid 723] [client 166.64.0.230:33354] AH01071: Got error 'PHP message: Database query\nSELECT * FROM sessions WHERE session_id = ?\n["uvm8a0sqpnvenj>

166.64.0.230 - - [04/Oct/2023:12:10:40 +0300] “POST /test/index.php/1/notification/fetchNotification HTTP/1.1” 200 531 “http://ojstest1.temp.com/test/index.php/1/management/settings/website” "Mozilla>

[Wed Oct 04 12:10:44.803569 2023] [proxy_fcgi:error] [pid 723] [client 166.64.0.230:33354] AH01071: Got error 'PHP message: Database query\nSELECT * FROM sessions WHERE session_id = ?\n["uvm8a0sqpnvenj>

166.64.0.230 - - [04/Oct/2023:12:10:44 +0300] “POST /test/index.php/1/$$$call$$$/grid/settings/plugins/settings-plugin-grid/upload-plugin-file?function=upload HTTP/1.1” 200 553 "http://ojstest1.lnu.edu>

[Wed Oct 04 12:10:46.708256 2023] [proxy_fcgi:error] [pid 723] [client 166.64.0.230:33354] AH01071: Got error 'PHP message: Database query\nSELECT * FROM sessions WHERE session_id = ?\n["uvm8a0sqpnvenj>

[Wed Oct 04 12:10:47.032211 2023] [proxy_fcgi:error] [pid 723] [client 166.64.0.230:33354] AH01071: Got error 'ing: mkdir(): File exists in /var/www/html/publications/test/lib/pkp/classes/file/FileMan>

166.64.0.230 - - [04/Oct/2023:12:10:46 +0300] “POST /test/index.php/1/$$$call$$$/grid/settings/plugins/settings-plugin-grid/save-upload-plugin?function=upload&category=&plugin= HTTP/1.1” 500 444 "http:>