Php7.3 application 503 error

Hello guys I created a website with php7.3 configuration and using filemanger extracted the zip files of the application I wanted to host . When I go the domain.com/public folder I see no server 503 error.

The strange thing is I deleted the website created another one with same domian but this time I installed wordpress on it and it works flawlessly …

Please help

@imran_mohd87

Don’t really understand your problem, would be good if you give some more details.

Could be rewrite issue as you are directly visiting public folder, but 503 is not due to rewrite rules.

@CyberPanel Ok I have already a working wordpress website created from cyberpanel… let’s say example.com

Then I created a.example.com and I used php7.3 version . It was created successfully and I wanted to host a support software on it(uv desk) … the software instructions was to unzip the files in the directory and visit the public folder … I did this by going to file manager and uploaded the file and unzip it . I visted the a.example.com/public (path to folder as per instruction) it shows 503 error.

I deleted the folder just created a blank html …visted the html page still the same error…

I deleted everything thing and used software script and installed wordpress on a.example.com just to check and voila wordpress runs on it …

PS : I have restarted the server lsws lscpd MySQL nothing changed … Tried to restart PHP fpm73 got service unit not found message …

Hope I have been clear if there is any more info i need to provide please let me know …

@CyberPanel Ok I have already a working wordpress website created from cyberpanel.. let's say example.com

Then I created a.example.com and I used php7.3 version . It was created successfully and I wanted to host a support software on it(uv desk) .. the software instructions was to unzip the files in the directory and visit the public folder .. I did this by going to file manager and uploaded the file and unzip it . I visted the a.example.com/public (path to folder as per instruction) it shows 503 error.

I deleted the folder just created a blank html ...visted the html page still the same error...

I deleted everything thing and used software script and installed wordpress on a.example.com just to check and voila wordpress runs on it ...


PS : I have restarted the server lsws lscpd MySQL nothing changed ... Tried to restart PHP fpm73 got service unit not found message ..


Hope I have been clear if there is any more info i need to provide please let me know ..

From the application vendor website uvdesk currently have only support for php 7.2

You will need to add rewrite rules for your application.

This is what i found downloading uv desk and taking a quick look.

RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ ./index.php/$1 [QSA,L]

@Numeriku Sorry I forgot to mention in my post I have also tried the same with php7.2 it didn’t work . I will try to include the rules you have mentioned and test it…

@Numeriku I tried the rewrite rules editied the ones present in vhost.conf file saved it restarted the litespeed server and tested the domian it still shows the same error.

I deleted the whole software folder and changed back to default rewrite rules and this time just kept an plain HTML page in public folder and saved it. Went back to browser and reload it to the html page it still shows the same error…

https://cyberpanel.example.com:8090/serverlogs/errorLogs

Show the output of that page when you are accessing the site.

@Numeriku 2019-08-19 17:02:21.452923 [INFO] RewriteFile [/home/open.mrredbox.com/public_html/.htaccess] parsed, return 0.
2019-08-19 17:02:21.452990 [INFO] [PlainConf] [virtualHostConfig:] start parsing file /usr/local/lsws/conf/vhosts/mrredbox.com/vhost.conf
2019-08-19 17:02:21.453713 [NOTICE] [config:server:vhosts:vhost:mrredbox.com:epsr:mrredbo.990] ‘Process Limit’ probably is too low, adjust the limit to: 480.
2019-08-19 17:02:21.454104 [INFO] Rewrite directive: bypassed.
2019-08-19 17:02:21.454125 [INFO] Invalid rewrite directive: CacheLookup on
2019-08-19 17:02:21.454213 [INFO] Rewrite directive: bypassed.
2019-08-19 17:02:21.454237 [INFO] Rewrite directive: bypassed.
2019-08-19 17:02:21.454264 [INFO] Rewrite directive: bypassed.
2019-08-19 17:02:21.454277 [INFO] RewriteFile [/home/mrredbox.com/public_html/.htaccess] parsed, return 0.
2019-08-19 17:02:21.454314 [INFO] [PlainConf] [virtualHostConfig:] start parsing file /usr/local/lsws/conf/vhosts/dev.mrredbox.com/vhost.conf
2019-08-19 17:02:21.455396 [INFO] [PlainConf] [virtualHostTemplate:] start parsing file /usr/local/lsws/conf/templates/ccl.conf
2019-08-19 17:02:21.456148 [INFO] [PlainConf] [context:/] rewrite add rules [rewritefile .htaccess]
2019-08-19 17:02:21.456204 [INFO] [PlainConf] [virtualHostTemplate:] start parsing file /usr/local/lsws/conf/templates/rails.conf
2019-08-19 17:02:21.456847 [INFO] [PlainConf] [context:/] rewrite add rules [rewritefile .htaccess]
2019-08-19 17:02:21.456887 [NOTICE] [ZConfManager] No VHosts added, do not send!
2019-08-19 17:02:21.457588 [NOTICE] [AutoRestarter] new child process with pid=19218 is forked!
2019-08-19 17:02:21.457907 [NOTICE] [AutoRestarter] new child process with pid=19219 is forked!
2019-08-19 17:02:21.458178 [NOTICE] [AutoRestarter] new child process with pid=19220 is forked!
2019-08-19 17:02:21.458319 [INFO] Stop listener *:7080.
2019-08-19 17:02:21.458541 [NOTICE] [AutoRestarter] new child process with pid=19221 is forked!
2019-08-19 17:02:21.458566 [NOTICE] [child: 19218] Successfully change current user to nobody
2019-08-19 17:02:21.458679 [NOTICE] Child: 19218] Core dump is enabled.
2019-08-19 17:02:21.458738 [NOTICE] [Child: 19218] Setup swapping space…
2019-08-19 17:02:21.458871 [NOTICE] [AutoRestarter] new child process with pid=19222 is forked!
2019-08-19 17:02:21.459002 [NOTICE] [Child: 19218] LiteSpeed/1.4.50 Open starts successfully!
2019-08-19 17:02:21.459016 [NOTICE] [child: 19219] Successfully change current user to nobody
2019-08-19 17:02:21.459016 [INFO] Stop listener *:7080.
2019-08-19 17:02:21.459057 [NOTICE] Child: 19219] Core dump is enabled.
2019-08-19 17:02:21.459245 [NOTICE] [AutoRestarter] new child process with pid=19223 is forked!
2019-08-19 17:02:21.459267 [NOTICE] [Child: 19219] Setup swapping space…
2019-08-19 17:02:21.459472 [NOTICE] [Child: 19219] LiteSpeed/1.4.50 Open starts successfully!
2019-08-19 17:02:21.459638 [NOTICE] [child: 19221] Successfully change current user to nobody
2019-08-19 17:02:21.459637 [INFO] Stop listener *:7080.
2019-08-19 17:02:21.459669 [NOTICE] Child: 19221] Core dump is enabled.
2019-08-19 17:02:21.459772 [NOTICE] [Child: 19221] Setup swapping space…
2019-08-19 17:02:21.459950 [NOTICE] [Child: 19221] LiteSpeed/1.4.50 Open starts successfully!
2019-08-19 17:02:21.460095 [INFO] Stop listener *:7080.
2019-08-19 17:02:21.460226 [NOTICE] [child: 19220] Successfully change current user to nobody
2019-08-19 17:02:21.460255 [NOTICE] Child: 19220] Core dump is enabled.
2019-08-19 17:02:21.460294 [NOTICE] [Child: 19220] Setup swapping space…
2019-08-19 17:02:21.460448 [INFO] Stop listener *:7080.
2019-08-19 17:02:21.460503 [NOTICE] [Child: 19220] LiteSpeed/1.4.50 Open starts successfully!
2019-08-19 17:02:21.460549 [NOTICE] [child: 19223] Successfully change current user to nobody
2019-08-19 17:02:21.460591 [NOTICE] Child: 19223] Core dump is enabled.
2019-08-19 17:02:21.460632 [NOTICE] [Child: 19223] Setup swapping space…
2019-08-19 17:02:21.460812 [NOTICE] [Child: 19223] LiteSpeed/1.4.50 Open starts successfully!
2019-08-19 17:02:21.460881 [NOTICE] [child: 19222] Successfully change current user to nobody
2019-08-19 17:02:21.460919 [NOTICE] Child: 19222] Core dump is enabled.
2019-08-19 17:02:21.460952 [NOTICE] [Child: 19222] Setup swapping space…
2019-08-19 17:02:21.461063 [NOTICE] [Child: 19222] LiteSpeed/1.4.50 Open starts successfully!

The one I am trying to access is dev.mrredbox.com

@Numeriku 2019-08-19 17:02:21.452923 [INFO] RewriteFile [/home/open.mrredbox.com/public_html/.htaccess] parsed, return 0.
2019-08-19 17:02:21.452990 [INFO] [PlainConf] [virtualHostConfig:] start parsing file /usr/local/lsws/conf/vhosts/mrredbox.com/vhost.conf
2019-08-19 17:02:21.453713 [NOTICE] [config:server:vhosts:vhost:mrredbox.com:epsr:mrredbo.990] 'Process Limit' probably is too low, adjust the limit to: 480.
2019-08-19 17:02:21.454104 [INFO] Rewrite directive: bypassed.
2019-08-19 17:02:21.454125 [INFO] Invalid rewrite directive: CacheLookup on
2019-08-19 17:02:21.454213 [INFO] Rewrite directive: bypassed.
2019-08-19 17:02:21.454237 [INFO] Rewrite directive: bypassed.
2019-08-19 17:02:21.454264 [INFO] Rewrite directive: bypassed.
2019-08-19 17:02:21.454277 [INFO] RewriteFile [/home/mrredbox.com/public_html/.htaccess] parsed, return 0.
2019-08-19 17:02:21.454314 [INFO] [PlainConf] [virtualHostConfig:] start parsing file /usr/local/lsws/conf/vhosts/dev.mrredbox.com/vhost.conf
2019-08-19 17:02:21.455396 [INFO] [PlainConf] [virtualHostTemplate:] start parsing file /usr/local/lsws/conf/templates/ccl.conf
2019-08-19 17:02:21.456148 [INFO] [PlainConf] [context:/] rewrite [] add rules [rewritefile .htaccess]
2019-08-19 17:02:21.456204 [INFO] [PlainConf] [virtualHostTemplate:] start parsing file /usr/local/lsws/conf/templates/rails.conf
2019-08-19 17:02:21.456847 [INFO] [PlainConf] [context:/] rewrite [] add rules [rewritefile .htaccess]
2019-08-19 17:02:21.456887 [NOTICE] [ZConfManager] No VHosts added, do not send!
2019-08-19 17:02:21.457588 [NOTICE] [AutoRestarter] new child process with pid=19218 is forked!
2019-08-19 17:02:21.457907 [NOTICE] [AutoRestarter] new child process with pid=19219 is forked!
2019-08-19 17:02:21.458178 [NOTICE] [AutoRestarter] new child process with pid=19220 is forked!
2019-08-19 17:02:21.458319 [INFO] Stop listener *:7080.
2019-08-19 17:02:21.458541 [NOTICE] [AutoRestarter] new child process with pid=19221 is forked!
2019-08-19 17:02:21.458566 [NOTICE] [child: 19218] Successfully change current user to nobody
2019-08-19 17:02:21.458679 [NOTICE] Child: 19218] Core dump is enabled.
2019-08-19 17:02:21.458738 [NOTICE] [Child: 19218] Setup swapping space...
2019-08-19 17:02:21.458871 [NOTICE] [AutoRestarter] new child process with pid=19222 is forked!
2019-08-19 17:02:21.459002 [NOTICE] [Child: 19218] LiteSpeed/1.4.50 Open starts successfully!
2019-08-19 17:02:21.459016 [NOTICE] [child: 19219] Successfully change current user to nobody
2019-08-19 17:02:21.459016 [INFO] Stop listener *:7080.
2019-08-19 17:02:21.459057 [NOTICE] Child: 19219] Core dump is enabled.
2019-08-19 17:02:21.459245 [NOTICE] [AutoRestarter] new child process with pid=19223 is forked!
2019-08-19 17:02:21.459267 [NOTICE] [Child: 19219] Setup swapping space...
2019-08-19 17:02:21.459472 [NOTICE] [Child: 19219] LiteSpeed/1.4.50 Open starts successfully!
2019-08-19 17:02:21.459638 [NOTICE] [child: 19221] Successfully change current user to nobody
2019-08-19 17:02:21.459637 [INFO] Stop listener *:7080.
2019-08-19 17:02:21.459669 [NOTICE] Child: 19221] Core dump is enabled.
2019-08-19 17:02:21.459772 [NOTICE] [Child: 19221] Setup swapping space...
2019-08-19 17:02:21.459950 [NOTICE] [Child: 19221] LiteSpeed/1.4.50 Open starts successfully!
2019-08-19 17:02:21.460095 [INFO] Stop listener *:7080.
2019-08-19 17:02:21.460226 [NOTICE] [child: 19220] Successfully change current user to nobody
2019-08-19 17:02:21.460255 [NOTICE] Child: 19220] Core dump is enabled.
2019-08-19 17:02:21.460294 [NOTICE] [Child: 19220] Setup swapping space...
2019-08-19 17:02:21.460448 [INFO] Stop listener *:7080.
2019-08-19 17:02:21.460503 [NOTICE] [Child: 19220] LiteSpeed/1.4.50 Open starts successfully!
2019-08-19 17:02:21.460549 [NOTICE] [child: 19223] Successfully change current user to nobody
2019-08-19 17:02:21.460591 [NOTICE] Child: 19223] Core dump is enabled.
2019-08-19 17:02:21.460632 [NOTICE] [Child: 19223] Setup swapping space...
2019-08-19 17:02:21.460812 [NOTICE] [Child: 19223] LiteSpeed/1.4.50 Open starts successfully!
2019-08-19 17:02:21.460881 [NOTICE] [child: 19222] Successfully change current user to nobody
2019-08-19 17:02:21.460919 [NOTICE] Child: 19222] Core dump is enabled.
2019-08-19 17:02:21.460952 [NOTICE] [Child: 19222] Setup swapping space...
2019-08-19 17:02:21.461063 [NOTICE] [Child: 19222] LiteSpeed/1.4.50 Open starts successfully!


The one I am trying to access is dev.mrredbox.com

You need to be triggering the logs for dev.mrredbox.com, so head to the url and refresh logs till you see dev.mrredbox.com on the logs so we can see whats causing the 503 error.

@Numeriku I refreshed till my finger hurt lol but the logs aren’t changing I cleared the logs just to be sure and refreshed many times.but they were empty … i restarted the server and accessed the error logs but then the old logs show up same the one I sent you …

Did you even create a subdomain for dev.mrredbox.com on cyberpanel, i see that the ssl shows as mrredbox.com not dev.mrredbox.com, or maybe you didnt issue a ssl cert for it?

@Numeriku Cyberpanel is hosted inside lxd container and I have another container hosting haproxy which already has SSL certs from letsencrypt to multiple domins one of which is Dev.mrredbox.com . It’s issued properly coz I have two WordPress sites created from this same cyberpanel dashboard running flawlessly