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

Froxlor panel doesn't load after web-install is finished.

Featured Replies

After running the command specified in the web installer and seeing "All services have been configured" in the ssh window the web-installer did not refresh (I even waited about one minute).

I refreshed the page manually and saw the code in the first attached screenshot. If I try to visit ip/froxlor then I see what's on the second screenshot.

 

Screenshot_20240606_121928.png

Screenshot_20240606_121955.png

After the command is finished, by default, php-fpm is used and mod_php is disabled. The corresponding php-fpm configurations for froxlor are virtual-host based, so you should open froxlor using the specified FQDN from the installation.

  • Author

Ok, so in the web installer I specified kieubasa.pl (this domain is only for testing purposes) so I tried going to https://kieubasa.pl/froxlor/, but the result is the same as in the screenshot

  • Author

 

So 'systemctl restart apache2' right? Still doesn't load correctly

 

  • Author

Btw at https://kieubasa.pl/ I see the standard apache for ubuntu welcome screen. Is that correct, or should I rather see some froxlor one?

Well then it's most likely that something is misconfigured regarding IP addresses. You seem to use cloudflare for the domain. Does the target ip address match the servers ip address and the ip address you've specified in the installation? The virtual hosts are generated for specific ip addresses. So if you have e.g. a setup with a private ip address like 192.168.x.y or 10.x.y.z or whatever, you need to specify this ip in froxlor or the vhost will not match and thus display the apache default welcome page

  • Author

Yes, I had to correct the IP in the web installer as it was showing the Google's internal 10.something (probably the same as the CLI-installer was providing as the URL when it finished - http://10.128.0.7/froxlor/) so it should be good.

Could You tell me how can I verify that without the access to the panel?

Check Server IP:

ip a s

Show generated virtual host config:

cat /etc/apache2/sites-enabled/10_froxlor_*.conf

 

  • Author

 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1460 qdisc mq state UP group default qlen 1000
    link/ether 42:01:0a:80:00:07 brd ff:ff:ff:ff:ff:ff
    inet 10.128.0.7/32 scope global dynamic ens4
       valid_lft 3492sec preferred_lft 3492sec
    inet6 fe80::4001:aff:fe80:7/64 scope link 
       valid_lft forever preferred_lft forever

 

# 10_froxlor_ipandport_146.148.71.223.443.conf
# Created 06.06.2024 10:13
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

<VirtualHost 146.148.71.223:443>
DocumentRoot "/var/www/html/froxlor"
 ServerName kieubasa.pl
  <Directory "/lib/">
    <Files "userdata.inc.php">
    Require all denied
    </Files>
  </Directory>
  <DirectoryMatch "^/(bin|cache|logs|tests|vendor)/">
    Require all denied
  </DirectoryMatch>
  <FilesMatch \.(php)$>
    <If "-f %{SCRIPT_FILENAME}">
        SetHandler proxy:unix:/var/lib/apache2/fastcgi/1-froxlor.panel-kieubasa.pl-php-fpm.socket|fcgi://localhost
    </If>
  </FilesMatch>
  <Directory "/var/www/html/froxlor/">
      CGIPassAuth On
  </Directory>
 SSLEngine On
 SSLProtocol -ALL +TLSv1.2
 SSLCompression Off
 SSLSessionTickets on
 SSLHonorCipherOrder off
 SSLCipherSuite ECDH+AESGCM:ECDH+AES256:!aNULL:!MD5:!DSS:!DH:!AES128
 SSLVerifyDepth 10
 SSLCertificateFile /etc/ssl/froxlor_selfsigned.pem
 SSLCertificateKeyFile /etc/ssl/froxlor_selfsigned.key
</VirtualHost>
# 10_froxlor_ipandport_146.148.71.223.80.conf
# Created 06.06.2024 10:13
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

<VirtualHost 146.148.71.223:80>
DocumentRoot "/var/www/html/froxlor"
 ServerName kieubasa.pl
  <Directory "/lib/">
    <Files "userdata.inc.php">
    Require all denied
    </Files>
  </Directory>
  <DirectoryMatch "^/(bin|cache|logs|tests|vendor)/">
    Require all denied
  </DirectoryMatch>
  <FilesMatch \.(php)$>
    <If "-f %{SCRIPT_FILENAME}">
        SetHandler proxy:unix:/var/lib/apache2/fastcgi/1-froxlor.panel-kieubasa.pl-php-fpm.socket|fcgi://localhost
    </If>
  </FilesMatch>
  <Directory "/var/www/html/froxlor/">
      CGIPassAuth On
  </Directory>
</VirtualHost>

 

Screenshot_20240606_130822.png

And there it is:

IP Adress of the server: 10.128.0.7

Your vhost binds to: 146.148.71.223

Thus - no match - no webui

Run the following to switch your ips in froxlor:

cd /var/www/html/froxlor
bin/froxlor-cli froxlor:switch-server-ip -s 146.148.71.223,10.128.0.7

after that you might want to rebuild the vhosts (or wait for the cronjob):

bin/froxlor-cli froxlor:cron -fd

 

  • Author

You meant bin/froxlor-cli?

root@instance-20240606-091317:/var/www/html/froxlor# bin/froxlor-cli froxlor:switch-server-ip -s 10.128.0.7,146.148.71.223
Switching IP 10.128.0.7 to IP 146.148.71.223
Note: 10.128.0.7 not updated to 146.148.71.223 - IP already exists in froxlor's database

*** ATTENTION *** Remember to replace IP addresses in configuration files if used anywhere.
IP addresses updated
root@instance-20240606-091317:/var/www/html/froxlor# bin/froxlor-cli froxlor:cron -fd
Checking froxlor file permissions...OK
Running "tasks" job (forced) (debug)
[information] TasksCron: Searching for tasks to do
[information] Running Let's Encrypt cronjob prior to regenerating webserver config files
[information] Checking for LetsEncrypt client upgrades before renewing certificates:_[Thu Jun  6 11:14:27 UTC 2024] Already uptodate!_[Thu Jun  6 11:14:27 UTC 2024] Upgrade success!_[Thu Jun  6 11:14:27 UTC 2024] Installing cron job_45 13 _ _ _ "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" _ /dev/null_[Thu Jun  6 11:14:27 UTC 2024] Changed default CA to: https://acme-v02.api.letsencrypt.org/directory
[information] No new certificates or certificate updates found
[information] apache::createIpPort: creating ip/port settings for  146.148.71.223:80
[debug] 146.148.71.223:80 :: inserted vhostcontainer
[information] apache::createIpPort: creating ip/port settings for  146.148.71.223:443
[debug] 146.148.71.223:443 :: inserted vhostcontainer
[information] apache::writeConfigs: rebuilding /etc/apache2/sites-enabled/
[information] apache::writeConfigs: rebuilding /etc/apache2/froxlor-htpasswd/
[information] apache::writeConfigs: rebuilding /etc/apache2/sites-enabled/
[information] Froxlor\Cron\Http\ApacheFcgi::reload: running service php7.4-fpm restart
[information] Froxlor\Cron\Http\ApacheFcgi::reload: reloading Froxlor\Cron\Http\ApacheFcgi
[notice] Creating passwd file
[notice] Writing 0 entries to passwd file
[notice] Succesfully wrote passwd file
[notice] Creating group file
[notice] Writing 0 entries to group file
[notice] Succesfully wrote group file
[notice] Creating shadow file
[notice] Writing 0 entries to shadow file
[notice] Succesfully wrote shadow file
[notice] Checking system's last guid
root@instance-20240606-091317:/var/www/html/froxlor# systemctl restart apache2

Unfortunately, the page still didn't change

Unfortunately you blindly copy and paste without thinking. See my edited post....ips were in wrong order. Just READ the messages:

Note: 10.128.0.7 not updated to 146.148.71.223 - IP already exists in froxlor's database

And yes, of course I meant froxlor-cli

  • Author

The login form now shows up correctly, but when I try to log in, the website just refreshes.

The password is correct because if I try something else then it says wrong username / password.

  • Author

Thank You for your help and quick responses, the panel is now fully working.

Create an account or sign in to comment

Account

Navigation

Search

Search

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.