mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
When add user by SSH, systemctl are restarted resulting error 502 #361
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @John-Henrique on 8/14/2023
CloudPanel version(s) affected
2.3.1
Description
I write a script to add site, database and install WordPress, until CloudPanel 2.2 works fine but after update to 2.3.1 every time result 502.
Debuging all possibilities and at this moment this looks like the problem.
After run my script, get error 502 (bad gateway), so I run
and get this logs,
How to reproduce
In my case I connect SSH by PHP and run CLPCTL commands, after add new site any command result in 502 error
Possible Solution
No response
Additional Context
When running CTPCTL commands by CLI (no using PHP) works fine. The problem occurs only when connect by PHP because
systemctlrestart server after add new site.