I updated hestiacp through the cli. After completion I got the following error:
nginx: [emerg] "real_ip_header" directive is duplicate in /etc/nginx/conf.d/cloudflare.inc:29 nginx: configuration file /etc/nginx/nginx.conf test failed
And also the css of the admin panel cant be found 404.
I also received the next error per mail: nginx: [emerg] "real_ip_header" directive is duplicate in /etc/nginx/conf.d/cloudflare.inc:29 nginx: configuration file /etc/nginx/nginx.conf test failed
And the following: PHP Warning: Failed loading Zend extension 'ioncube_loader_lin_5.6.so' (tried: /usr/lib/php/20210902/ioncube_loader_lin_5.6.so (/usr/lib/php/20210902/ioncube_loader_lin_5.6.so: cannot open shared object file: No such file or directory), /usr/lib/php/20210902/ioncube_loader_lin_5.6.so.so (/usr/lib/php/20210902/ioncube_loader_lin_5.6.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning: Failed loading Zend extension 'ioncube_loader_lin_5.6.so' (tried: /usr/lib/php/20210902/ioncube_loader_lin_5.6.so (/usr/lib/php/20210902/ioncube_loader_lin_5.6.so: cannot open shared object file: No such file or directory), /usr/lib/php/20210902/ioncube_loader_lin_5.6.so.so (/usr/lib/php/20210902/ioncube_loader_lin_5.6.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Error: nginx restart failed Error: nginx restart failed PHP Warning: Failed loading Zend extension 'ioncube_loader_lin_5.6.so' (tried: /usr/lib/php/20210902/ioncube_loader_lin_5.6.so (/usr/lib/php/20210902/ioncube_loader_lin_5.6.so: cannot open shared object file: No such file or directory), /usr/lib/php/20210902/ioncube_loader_lin_5.6.so.so (/usr/lib/php/20210902/ioncube_loader_lin_5.6.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Error: nginx restart failed
Thanks @eris I removed one line of two include /etc/nginx/conf.d/cloudflare.inc;
Just ran v-update-sys-hestia-all, but it did nothing. After ~2-3 seconds it returned to just another line on the terminal.
edit: v-update-sys-hestia-all doesnt work at all. I used v-update-sys-hestia-git again, and this time it worken without errors, after I disabled ionCube loader from the php settings. But I still have the css/js not found errors.
Yes, after I installed nodejs the css/js of the admin panel is working again, thank you very much @eris. Heel erg bedankt:)
v-update-sys-hestia-all still doesn’t work, does basically nothing I think; no output whatsoever…
v-update-sys-hestia-git does update some packages. The nginx restart failure is due to ioncube not found. I’m guessing because I have the ioncube loader only in the /etc/something/php5.6 folder, and not in the other versions.
edit: After trying again nginx has no problems restarting. It only reports this error, but does restart fine.
note:
It also seams the system automatically appends ‘.so’ while trying to locate the file? becuase in the warning line the second not found object ends in ‘.so.so’ PHP Warning: Failed loading Zend extension 'ioncube_loader_lin_5.6.so' (tried: /usr/lib/php/20210902/ioncube_loader_lin_5.6.so (/usr/lib/php/20210902/ioncube_loader_lin_5.6.so: cannot open shared object file: No such file or directory), /usr/lib/php/20210902/ioncube_loader_lin_5.6.so.so (/usr/lib/php/20210902/ioncube_loader_lin_5.6.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning: Failed loading Zend extension 'ioncube_loader_lin_5.6.so' (tried: /usr/lib/php/20210902/ioncube_loader_lin_5.6.so (/usr/lib/php/20210902/ioncube_loader_lin_5.6.so: cannot open shared object file: No such file or directory), /usr/lib/php/20210902/ioncube_loader_lin_5.6.so.so (/usr/lib/php/20210902/ioncube_loader_lin_5.6.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
v-update-sys-hestia-git does update some packages. The nginx restart failure is due to ioncube not found. I’m guessing because I have the ioncube loader only in the /etc/something/php5.6 folder, and not in the other versions.
I dont know update-all does absolutely nothing. I disabled auto-updates because I had some problems one time after an auto update. It has been a long time since I manually updated. Could that have anything to do with it?
Anyway thank you very much @eris again. Css/js is loading correctly and my admin panel is useable once again.