Ubuntu 22.04
FreePBX 17.0.14.6
Asterisk 20.5.0
After installation and the first launch, when you click the Apply Config button, a window pops up with an error “Error: Did not receive valid response from server
XHR response code: 401 XHR responseText: undefined jQuery status: error”
When you click the Submit button, it takes you to the authorization page.
From the error.log file:
[Wed Nov 29 10:17:05.152925 2023] [proxy_fcgi:error] [pid 1557:tid 140152029840960] [remote xxx.xxx.xxx.xxx:56825] AH01071: Got error ‘PHP message: PHP Warning: session_regenerate_id(): Session ID cannot be regenerated when there is no active session in /home/dozzirovka/domains/ats.dozzirovka.site/public_html/admin/config.php on line 76; PHP message: PHP Warning: session_start(): open(/home/dozzirovka/domains/ats.dozzirovka.site/tmp/sess_rap0m7qce6hmo3veo6u9e9ivuf, O_RDWR) failed: Permission denied (13) in /home/dozzirovka/domains/ats.dozzirovka.site/public_html/admin/config.php on line 77; PHP message: PHP Warning: session_start(): Failed to read session data: files (path: /home/dozzirovka/domains/ats.dozzirovka.site/tmp) in /home/dozzirovka/domains/ats.dozzirovka.site/public_html/admin/config.php on line 77’, referer: h…s://ats.dozzirovka.site/admin/config.php
[Wed Nov 29 10:17:53.781326 2023] [proxy_fcgi:error] [pid 1558:tid 140151786296896] [client 50.6.138.121:50962] AH01071: Got error ‘Primary script unknown’, referer: h…p://simplesite.com
At the same time, the combination FreePBX 16 - Asterisk 18 works properly and does not cause such an error.
Please help me understand and solve this problem.