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.

Froxlor installation mit nginx und php-fpm verweist nicht auf den fpm sock

Featured Replies

Hi,

 

ich weiß nicht warum aber ich laufe jetzt schon mehrmals in den selben Fehler. Ich habe Nginx mit php-fpm installiert; auch Froxlor lies sich problemlos installieren, dann habe ich die Einstellungen vorgenommen und die Konfiguration durch gemacht, sobald aber der Cronjob läuft erstellt er mir eine nginx config die keinen Pfad zum fpm hat:

# 10_froxlor_ipandport_202.61.246.121.80.conf
# Created 01.03.2021 23:36
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

server { 
	listen    202.61.246.121:80 default_server;
	# Froxlor default vhost
	server_name    DOMAIN;
	access_log     /var/log/nginx/access.log combined;
	root     /var/www/;
	index    index.php index.html index.htm;

	location / {
	}
	location ~ \.php {
		fastcgi_split_path_info ^(.+?\.php)(/.*)$;
		include /etc/nginx/fastcgi_params;
		fastcgi_param SCRIPT_FILENAME $request_filename;
		fastcgi_param PATH_INFO $fastcgi_path_info;
		try_files $fastcgi_script_name =404;
		fastcgi_pass 127.0.0.1:8888;
		fastcgi_index index.php;
	}
}

Und ich komm einfach nicht drauf warum das passiert

 

ich bekomm auch komischerweise folgenden output:

php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force --debug
[information] TasksCron: Searching for tasks to do
[information] Task4 started - Rebuilding froxlor_bind.conf
[information] Cleaning dns zone files from /etc/bind/domains/
[information] No domains found for nameserver-config, skipping...
[information] nginx::createIpPort: creating ip/port settings for  202.61.246.121:80
[information] nginx::writeConfigs: rebuilding /etc/nginx/sites-enabled/
[information] Froxlor\Cron\Http\NginxFcgi::reload: fpm config directory "/etc/php/8.0/fpm/pool.d/" is empty. Creating dummy.
[information] Froxlor\Cron\Http\NginxFcgi::reload: running service php8.0-fpm restart
[information] Froxlor\Cron\Http\NginxFcgi::reload: fpm config directory "/etc/php/7.4/fpm/pool.d/" is empty. Creating dummy.
[information] Froxlor\Cron\Http\NginxFcgi::reload: running service php7.4-fpm restart
[information] Froxlor\Cron\Http\NginxFcgi::reload: reloading Froxlor\Cron\Http\NginxFcgi
sh: 1: nscd: not found
sh: 1: nscd: not found
[notice] Checking system's last guid

 

Solved by d00p

Go to solution
  • Solution

Fpm nicht explizit für den froxlor vhost aktiviert?

  • Author

Und ich hab gestern stunden lang diese Checkbox nicht gesehen -.-
Dank dir.

 

Und Top, sehe gerade Froxlor läuft sogar schon unter PHP8

32 minutes ago, Tealk said:

Und Top, sehe gerade Froxlor läuft sogar schon unter PHP8

das meiste ja :x

  • Author
2 minutes ago, d00p said:

das meiste ja :x

Also empfiehlst du die Nutzung im Produktiven noch nicht? Ich konnte auf der Spielwiese bisher keinen Fehler, außer meinen eigenen dort oben, erkennen.

kann man schon machen, aber php8 ist da bei vielen sehr viel strikter als die 7er Reihe, es könnte also hier und da schon zu ungewolltem verhalten kommen. unsere demo läuft ja auch schon einige zeit auf php8, aber da läuft z.B. kein Cron oder so, das muss ich alles nochmal genau testen

  

2 minutes ago, Tealk said:

Also empfiehlst du die Nutzung im Produktiven noch nicht? Ich konnte auf der Spielwiese bisher keinen Fehler, außer meinen eigenen dort oben, erkennen.

Ansicht läuft Froxlor oh. probleme mit PHP8, klar gibt es kleinere kinderkrankheiten, was normal ist. persönlich habe ich oh. probleme froxlor mit php8 im aktiven einsatz. nur viele CMS Systeme (wenn man sowas benutzen will), haben noch viele probleme damit.

  • Author

also dieses

sh: 1: nscd: not found
sh: 1: nscd: not found

kommt aber immer noch wenn der cron ausgeführt wird. Aber nscd braucht man doch gar net wenn man libnss-extrausers nutzt oder?

 

7 minutes ago, irisdina said:

nur viele CMS Systeme (wenn man sowas benutzen will), haben noch viele probleme damit.

ja gut das ist mir schon aufgefallen, bei mir läuft fast alles auf php7.4 ganz ganz selten das was auf php8 läuft

8 minutes ago, Tealk said:

kommt aber immer noch wenn der cron ausgeführt wird. Aber nscd braucht man doch gar net wenn man libnss-extrausers nutzt oder?

korrekt, das brauchst du nicht, das nscd zeug wird ausgeführt wenn du fcgid oder fpm nutzt und NICHT libnss-extrausers in den einstellungen aktiviert hast, schau mal ob die Settings passen

  • Author

Ah ja unter Systemeinstellungen war der Punkt "Verwende libnss-extrausers anstatt libnss-mysql"

 

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.