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.

chown -R www-data:www-data /var/www/froxlor/

Featured Replies

I  setup  apache mpm_event  with php7.4-fpm and all seems to work fine.

I used this help: https://www.digitalocean.com/community/tutorials/how-to-configure-apache-http-with-mpm-event-and-php-fpm-on-ubuntu-18-04

But after i setup and configured Froxlor and start it with the command in the cronjob

/usr/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --tasks 1

many problems started and the hole Froxlor website was not more accessible.

I forgot some checkboxes in combinations. Finally, is running again but now I cannot log in and I get the error: 

Whoops!

The configuration file lib/userdata.inc.php cannot be read from the webserver.

This mostly happens due to wrong ownership.
Try the following command to correct the ownership:

 

 

chown -R www-data:www-data /var/www/froxlor/

 

 

after doing this chmod i can login, but after a restart or cronjob run it went automatically back to  froxlorlocal froxlorlocal user/group.

 

 

 

 

 

Well the howto does not cover the settings required in froxlor. Seems like you forgot to enable php-fpm for the froxlor vhost itself (settings -> froxlor vhost settings). Don't forget that a local user is required for that (if enabled the configuration steps will include the 'useradd' action)

  • Author

thx for answer,
its enabled, i did not forget it this time,  but i don't see the useradd  in the configuration>debian10>webserver

 

Screenshot_2020-11-11 admin - Froxlor Server Management Panel(1).png

Screenshot_2020-11-11 admin - Froxlor Server Management Panel.png

  • Author

THX for answer,
its enabled, I did not forget it this time,  but I don't see the useradd  in the configuration>debian10>webserver

to avoid confusion I configured the default https server lighttpd to port 81, this way I can access froxlor even when the apache2 server crash and this was the reason of this

chown -R www-data:www-data /var/www/froxlor/

error login.

(it switched back to lighttpd server because apache2 crashed)

 

I set up a test virtual domain called shopautomat.com and now i can get this error when i try to access a php site:

[Wed Nov 11 09:02:56.662423 2020] [proxy:error] [pid 1524:tid 140093503301376] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/apache2/fastcgi/1-shopautomat-shopautomat.com-php-fpm.socket (*) failed
[Wed Nov 11 09:02:56.662527 2020] [proxy_fcgi:error] [pid 1524:tid 140093503301376] [client 183.88.219.47:1668] AH01079: failed to make connection to backend: httpd-UDS

Spoiler

 

 

 

 

 

57 minutes ago, veto said:

its enabled, i did not forget it this time,  but i don't see the useradd  in the configuration>debian10>webserver

configuration -> debian10 -> Others (System) -> php-fpm

 

  • Author

Screenshot_2020-11-11 admin - Froxlor Server Management Panel(2).png

Screenshot_2020-11-11 admin - Froxlor Server Management Panel(3).png

Wow... anything you wanna tell us with that? Come on. It's not really fun to help if you just post screenshots and be like "go Dev, smell what I want"...

Of there's no useradd then the user exists already. You can see on demo.froxlor.org that it's definitely there

  • Author

Sorry, no defense, i just wanna make it work. for the moment all works until i add a customer with a domain

  • Author

after i create a test customer foo i'm getting an error when i restart

/etc/init.d/php7.4-fpm restart

but i could solve this by doing :

useradd -r -s /bin/false foo
usermod -a -G froxlorlocal foo

 

 

 

 

You really should check your settings and configure required services...there is no need to do such thing manually.

Froxlor is a helper, not a replacement for a sysadmin

  • Author

Thanks, that's what I'm trying to figure out and ask here. I really admire froxlor and I stick with it. But I cannot make this particular setup to work fully automatically.

If you are using php-fpm, then you need to map customers from the database to the local system, hence you need "libnss-extrausers". Activate its usage in the settings and follow the configuration steps for it

Archived

This topic is now archived and is closed to further replies.

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.