Jump to content
Froxlor Forum

Question

25 answers to this question

Recommended Posts

  • 0
Posted

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

 

  • 0
Posted
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?

image.thumb.png.e87a62f7f893d5e65d70f2a66a5b01eb.png

  • 0
Posted

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

  • 0
Posted
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.

image.thumb.png.5dda913ae94a72146015c574b2b7f031.png

  • 0
Posted

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

  • 0
Posted
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!

  • 0
Posted

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..

 

  • 0
Posted

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

  • 0
Posted

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

 

  • 0
Posted

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

  • 0
Posted

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 :)

 

  • 0
Posted

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...

 

 

 

 

 

 

  • 0
Posted

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

  • 0
Posted
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

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...