Everything looks updated now, HestiaCP is finally from v1.6.1 to v1.7.2, the only problem is that I have 3 services not running anymore, I tried to run them through Hestia but they keep being off, the services are the following:
[email protected]:/var/log/nginx# cat error.log
2023/04/07 09:58:10 [emerg] 411#411: open() “/etc/nginx/conf.d/cloudflare.inc” failed (2: No such file or directory) in /etc/nginx/nginx.conf:90
2023/04/07 10:14:59 [emerg] 21260#21260: “real_ip_header” directive is duplicate in /etc/nginx/conf.d/cloudflare.inc:29
2023/04/07 10:14:59 [emerg] 21267#21267: “real_ip_header” directive is duplicate in /etc/nginx/conf.d/cloudflare.inc:29
2023/04/07 10:15:24 [emerg] 30773#30773: “real_ip_header” directive is duplicate in /etc/nginx/conf.d/cloudflare.inc:29
2023/04/07 10:27:37 [emerg] 110860#110860: “real_ip_header” directive is duplicate in /etc/nginx/conf.d/cloudflare.inc:29
2023/04/07 10:29:43 [emerg] 395#395: “real_ip_header” directive is duplicate in /etc/nginx/conf.d/cloudflare.inc:29
2023/04/07 10:39:57 [emerg] 7507#7507: “real_ip_header” directive is duplicate in /etc/nginx/conf.d/cloudflare.inc:29
2023/04/07 10:42:28 [emerg] 9684#9684: “real_ip_header” directive is duplicate in /etc/nginx/conf.d/cloudflare.inc:29
[email protected]:/var/log/nginx# cat error.log.1
2023/04/07 01:54:02 [notice] 1027527#1027527: using inherited sockets from “37;38;39;”
I think these probably don’t say so much. Please could you be so kind to let me know what log file you would check? So that I can provide more info. Thank you again!
@ScIT I commented this string in the file cloudflare.inc and I could successfully run the service nginx, was that something that was supposed to be there or I could let it commented?
real_ip_header CF-Connecting-IP;
Also Proftpd fixed. Now I only need to guess how to make exim4 work again.
Hi @eris, sorry if I reply only now. There is no real_ip_header CF-Connecting-IP in /etc/nginx/nginx.conf. The system tried to update Hestia automatically, and I got many issues. By the way, I could access again to HestiaCP commenting again “real_ip_header CF-Connecting-IP;” in cloudflare.inc. How can I avoid this problem in the future? /etc/nginx/nginx.conf doesn’t include that line, could I provide any further details to you? Thank you very much for your help.
Yes exactly, that is where I comment (#) the line “real_ip_header CF-Connecting-IP” to make it work again. The problem is that if there is an automatic update of HestiaCP, that line goes back to normal and the # disappears like if the file gets regenerate from scratch somehow, but I would like to avoid this problem.