Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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.

image.thumb.png.372d09b1033164d775e00e290985d7bf.png

image.thumb.png.8df496cfc10fc7b83f3a6369a8303527.png

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

 

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

image.thumb.png.e87a62f7f893d5e65d70f2a66a5b01eb.png

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

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

image.thumb.png.5dda913ae94a72146015c574b2b7f031.png

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

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

heres a video of a standard installation which works perfectly fine: 

 

  • 2 weeks later...

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

 

Be sure to use the fqdn you've specified and possibly try an Apache restart (not just reload).

 

I did try with the FQDN (and without) same result. I did restart apache. I even rebooted the vps :)

same.

 

 

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

whats the output of the finalizing cli command you've ran?

Also, maybe better join discord so we can discuss and check more efficiently...

ln: failed to create symbolic link '/usr/local/bin/froxlor-cli': File exists
All services have been configured

 

 

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

 

I will reinstall the VPS.. anyway.

thanks for the fast support!

 

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

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

 

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

 

 

 

 

 

 

try this:

a2disconf php8.1-fpm

It looks like it's using the default alias

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

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

 

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.