November 15, 20231 yr Hello, Recently decided to play around with Froxlor, however, after configuration steps, it's showing only PHP code. I have followed the installation guide, I only modify php.ini to enable php-gd since it didn't enable, that's all. What should I do? Url https://froxlor.haitran.me/froxlor FQDN IP 54.169.228.108/froxlor Let me know if you need any log file.
November 15, 20231 yr In case the installation process went through successfully, you did specify a fqdn there, you need to use it instead of the ip address, because it's configured to use php-fpm. Try forcing the cron to regenerate all configs and see if there are any errors: /var/www/html/froxlor/bin/froxlor-cli froxlor:cron -fd
November 15, 20231 yr Author 33 minutes ago, d00p said: In case the installation process went through successfully, you did specify a fqdn there, you need to use it instead of the ip address, because it's configured to use php-fpm. Try forcing the cron to regenerate all configs and see if there are any errors: /var/www/html/froxlor/bin/froxlor-cli froxlor:cron -fd They're seem fine and all set. (Attached image) When I access froxlor via a FQDN, it is still showing me a page with PHP code, I should expect login page, right?
November 15, 20231 yr well your domain resolves to the ip-addresses: froxlor.haitran.me. 285 IN A 104.21.81.131 froxlor.haitran.me. 285 IN A 172.67.161.47 Configured in your froxlor seems to be 54.169.228.108 and an ipv6
November 15, 20231 yr Author 1 hour ago, d00p said: well your domain resolves to the ip-addresses: froxlor.haitran.me. 285 IN A 104.21.81.131 froxlor.haitran.me. 285 IN A 172.67.161.47 Configured in your froxlor seems to be 54.169.228.108 and an ipv6 I am using Cloudflare DNS, it is hiding my real server IP, I am sure all A records are pointing correct, I CAN access Froxlor via FQDN, however, it is showing PHP code page as I mentioned above.
November 15, 20231 yr Then something is not correct because your php does not get parsed. The default installation sets up php-fpm which only works if the domain resolves correctly and thus the webserver uses the correct virtual-host config. Did you try a simple "systemctl restart apache2"? Maybe the reload just did not do the job correctly...and by default you should not need to append the /froxlor path to the domain to access froxlor
November 15, 20231 yr Author 4 minutes ago, d00p said: Then something is not correct because your php does not get parsed. The default installation sets up php-fpm which only works if the domain resolves correctly and thus the webserver uses the correct virtual-host config. Did you try a simple "systemctl restart apache2"? Maybe the reload just did not do the job correctly...and by default you should not need to append the /froxlor path to the domain to access froxlor Yeah I thought so, I also did simple restart apache2, however it didn't work, i gonna do a fresh install again, hope it work this time. thanks mate!
November 26, 20231 yr Hey! new user here. I have the exact same issue. On ubuntu 22.04 on a VPS. All went ok on installation... php is not rendering..
November 26, 20231 yr Be sure to use the fqdn you've specified and possibly try an Apache restart (not just reload).
November 26, 20231 yr I did try with the FQDN (and without) same result. I did restart apache. I even rebooted the vps same.
November 26, 20231 yr Did you watch the setup-video on youtube? I dont know you setup, i dont know your domain, your ip, what you did on the installation etc.etc.etc - provide more details please. Otherwise my point is: works for me and plenty of other people
November 26, 20231 yr I followed the instructions to the letter https://docs.froxlor.org/latest/general/installation/apt-package.html created the database started the installation. run the command line (copy and paste) with no errors. when I pressed finish setup I got raw php. not rendered.
November 26, 20231 yr Also, maybe better join discord so we can discuss and check more efficiently...
November 26, 20231 yr ln: failed to create symbolic link '/usr/local/bin/froxlor-cli': File exists All services have been configured
November 26, 20231 yr now I get this Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. apache error log [Sun Nov 26 20:18:50.950270 2023] [proxy:error] [pid 6210] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.1-fpm.sock (*) failed [Sun Nov 26 20:18:50.950318 2023] [proxy_fcgi:error] [pid 6210] [client x.x.x.x:63546] AH01079: failed to make connection to backend: httpd-UDS
November 26, 20231 yr well, i wanted the whole output, not your interpretation of what might be the issue...but fine. No idea where php8.1 is coming from for you, but bookworm uses 8.2 as default, see https://packages.debian.org/bookworm/php Froxlor uses the mod_php version used for the installation to set the php version for the php-fpm service which will be used by default. Also, froxlor will generate its own php-fpm sockets for itself and the customer-domain, the socket /run/php/php8.1-fpm.sock is definetly not created by froxlor. and oh well....if you'd rather reinstall again...then good luck
November 26, 20231 yr I use Ubuntu. good to know about mod_php. the fpm sock was owned by froxlot+ so that may caused an issue. anyways it is faster to reinstall
November 26, 20231 yr ok did the reinstall. (UBUNTU 22.04) now I get directly to service unavailable. ps faux root 768 0.0 3.1 223840 31140 ? Ss 20:59 0:00 php-fpm: master process (/etc/php/8.1/fpm/php-fpm.conf) froxlor+ 912 0.0 1.3 226472 13392 ? S 20:59 0:00 \_ php-fpm: pool xxxx.xxxx.net froxlor+ 913 0.0 1.3 226472 13392 ? S 20:59 0:00 \_ php-fpm: pool xxxx.xxxx.net apache error log [Sun Nov 26 21:02:15.314357 2023] [proxy_fcgi:error] [pid 978] [client x.x.x.x:52834] AH01079: failed to make connection to backend: httpd-UDS, referer: http://140.238.83.81/froxlor/install/install.php?step=2 [Sun Nov 26 21:06:01.569432 2023] [proxy:error] [pid 975] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.1-fpm.sock (*) failed [Sun Nov 26 21:06:01.569462 2023] [proxy_fcgi:error] [pid 975] [client x.x.x.x:63683] AH01079: failed to make connection to backend: httpd-UDS [Sun Nov 26 21:06:02.697163 2023] [proxy:error] [pid 977] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.1-fpm.sock (*) failed [Sun Nov 26 21:06:02.697190 2023] [proxy_fcgi:error] [pid 977] [client x.x.x.x:63684] AH01079: failed to make connection to backend: httpd-UDS I give up...
November 26, 20231 yr and also: you have to use the fqdn you've specified in the installation or else the webserver will not use the correct virtual-host config and will not use the froxlor generated configs for php-fpm
November 26, 20231 yr 14 minutes ago, d00p said: try this: a2disconf php8.1-fpm It looks like it's using the default alias if I disable it then I see raw text. php is not rendered. and I do use the FQDN
November 26, 20231 yr Just now, Noiro said: and I do use the FQDN well you have to...it wont work otherwise
Create an account or sign in to comment