I have a problem opening my website

Hello, I’ve been using this platform for a while and it used to work well, but recently my official website has stopped working and I keep getting an error message…sometimes it works very slowly.

www.clicktn.com

Although I use a server Oracle free tier

Hi @ClickTN,

Right now your server is showing a 504 gateway error. That usually means Apache or PHP-FPM is down or not working as expected.

Show the output of these commands:

systemctl restart nginx
systemctl restart apache2

systemctl status nginx --no-pager -l
systemctl status apache2 --no-pager -l

Maybe you upgraded some packages and the conf for your services has been modified…

Thank you for your response, but the problem is with the server. The system works for a while, then reverts to error 500. I’ve tried restarting it several times, but to no avail. Thank you for your response, but the problem is with the server. The system works for a while, then reverts to error 500. I’ve tried restarting it several times, but to no avail.

Ok, if it works for a while, check the log to know what happens when it gives error 5xx.

The log should be here: /var/log/apache2/domains/clicktn.com.error.log

2 Likes

root@hcp:/home/ubuntu# /var/log/apache2/domains/clicktn.com.error.log
bash: /var/log/apache2/domains/clicktn.com.error.log: Permission denied

Status for both, nginx and apache2 is ok.

You can’t execute a log, you must read it.

Reproduce the 5xx error and just after that:

tail -n50 /var/log/apache2/domains/clicktn.com.error.log
1 Like

It looks like Apache2 is having issues, maybe because it was updated and the configuration files were overwritten.

Show the output of these commands (as root):

lsof -Pn +c0 -i:8080,8443 -sTCP:LISTEN
grep -rE '^Include' /etc/apache2/
ls -la /etc/apache2/
ls -la /etc/apache2/conf.d/
2 Likes

Hi, there is another theory, see if the template is selected in the panel itself, for example php8. 3 or it is by default, if by default you put the version with 8.3 or 8.2 that you have.

1 Like

When sharing console output, please copy and paste log text so that it is easier for people to help you. Screenshots of text are very hard to work with.

Be sure to use the </> Preformatted text option to make it retain its spacing and legibility.

Thanks for helping us help you.

3 Likes

Unfortunately, the website is no longer working.

until CP It won’t open even though it was working yesterday.

https://141.147.115.26:8083/

It’s true that it requires more than version 8.1, but it worked well, and I think the problem was with the server.

Right now only the port 22 is open. I’ve sent a private message.

1 Like
1 Like

Do you mean that the problem is from C Or did I close the rest? Port