Jump to content
Froxlor Forum

d00p

Administrators
  • Posts

    10291
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by d00p

  1. There's GitHub sponsors or plain PayPal: paypal@froxlor.org - glad you like it
  2. And this diff should fix the issue that the value is not stored when using FCGID: diff --git a/lib/Froxlor/Api/Commands/PhpSettings.php b/lib/Froxlor/Api/Commands/PhpSettings.php index 588c04a6..d53cf075 100644 --- a/lib/Froxlor/Api/Commands/PhpSettings.php +++ b/lib/Froxlor/Api/Commands/PhpSettings.php @@ -312,7 +312,6 @@ class PhpSettings extends ApiCommand implements ResourceEntity $fpm_enableslowlog = 0; $fpm_reqtermtimeout = 0; $fpm_reqslowtimeout = 0; - $fpm_pass_authorizationheader = 0; $override_fpmconfig = 0; } elseif (Settings::Get('phpfpm.enabled') == 1) { $fpm_reqtermtimeout = Validate::validate($fpm_reqtermtimeout, 'phpfpm_reqtermtimeout', '/^([0-9]+)(|s|m|h|d)$/', '', [], true); @@ -548,7 +547,6 @@ class PhpSettings extends ApiCommand implements ResourceEntity $fpm_enableslowlog = 0; $fpm_reqtermtimeout = 0; $fpm_reqslowtimeout = 0; - $fpm_pass_authorizationheader = 0; $override_fpmconfig = 0; } elseif (Settings::Get('phpfpm.enabled') == 1) { $fpm_reqtermtimeout = Validate::validate($fpm_reqtermtimeout, 'phpfpm_reqtermtimeout', '/^([0-9]+)(|s|m|h|d)$/', '', [], true);
  3. Just tested that on the demo...it really seems not be saved, need to check, for now (if you want to continue api testing) just set value of the field `pass_authorizationheader` to `1` in the table `panel_phpconfigs` and force the cronjob manually to regenerate configs
  4. You are comparing two different actions. One switch regulates a simple 0 or 1 in the corresponding database table. The other one (Für aktuelle Kunden automatisch hinzufügen) is a one time action that is not stored in the tables. After setting the http-auth flag in the PHP-config, validate that the field in the database table `panel_phpconfigs` is set accordingly
  5. Can't tell without more details. I've never had any issues setting this option and using it.
  6. so, even for FCGID there's "Passing HTTP AUTH BASIC/DIGEST headers from Apache to PHP" for each php-option. Validate that the froxlor vhost php-config has this flag enabled
  7. so why dont you give a bit more info then instead of saying "i use fcgi" ...how are we supposed to know your system or what your settings are etc.etc.etc.
  8. https://docs.froxlor.org/latest/api-guide/ NOTE If you are using php-fpm with apache2, in order for the API authentication to work properly, you need to enable Add "-pass-header Authorization" / "CGIPassAuth On" to vhosts in the PHP-configuration assigned to froxlor.
  9. Grundsätzlich eigentlich: den Client halt korrekt einrichten. Was die automatisch erkennen muss ja nicht immer das richtige sein Du könntest alternativ entsprechende autoconfigs einrichten, dass Mail-Clients wie Thunderbird gesagt bekommen was auf dem Server die korrekten IMAP und SMTP Server sind Oder: postfix und dovecot configs entsprechend anpassen, dass sie auf Domain Basis unterschiedliche Zertifikate liefern (SNI).
  10. Lief dein Cron vllt nicht? Normal erledigt das eigentliche renew alles acme.sh über seinen Cron selbst
  11. Das hatte ich auch öfter jetzt, ich vermute einen Bug in der aktuellen Version. Lass den Cron Mal manuell mit --force laufen, das hat es bei mir jedesmal gefixed.
  12. Dann wirst du da um eigene Scripts / eigene Migrations-Pfade nicht herumkommen
  13. na wenn es die komplette alte DB von froxlor-0.10.x noch gibt, spiel die ein und lass das upgrade laufen mit den aktuellen 2.1 dateien... Ich verweise auf deinen anderen Thread...ich würde es mit einem Script unter Nutzung der froxlor API machen, dann stimmen auch alle Verknüpfungen und resource Countings usw. Alternativ gibt es für Domains auch einen Import, siehe https://docs.froxlor.org/latest/admin-guide/domain-import/ (im Grunde ein CSV2API wrapper) - für Email Adressen/Konten gibt es das bisher leider nicht
  14. Neuer nick, gleiche Schreibweise ... aber hey, ich werde dir trotzdem antworten.... Ja, warum sollte es nicht, wo steht bitte das DNS/Nameserver betreiben ein "must have" ist? Ja, dafür ist froxlor da ... Es gibt kein froxlor v1.xx, wenn meinst du wohl 0.10.x. Kurzantwort: Ja, das ginge, aber nicht ganz ohne manuelles zutun (ein upgrade von froxlor 0.10 auf 2.x würde das für dich erledigen) unnötiger Zusatz, aber ey, wenns dir nicht gefällt ... die Auswahl ist groß...bitte nutz gern was anderes was dir mehr zusagt
  15. Parameter: store_defaultindex (bool) Parameter: sendpassword (bool) You pass the plaintext password as froxlor hashes it according to the settings (and it's needed in plaintext to add the default ftp-user etc. internally or to send the password to the customer if the parameter 'sendpassword' is set to true) See: https://docs.froxlor.org/latest/api-guide/commands/customers.html#customers-add
  16. ich wollte dir helfen aber offenbar war es dir nicht genug weil du was dafür tun musst. Ich gehe nicht erneut auf deine Kommentare ein, das dreht sich im Kreis.
  17. Na bei der Art und Weise wie du hier schreibst und mit Hilfe und Antworten umgehst, hat keiner Lust dir zu antworten
  18. du DARFST natürlich im quellcode rummachen und genauso habe ich gesagt, dass du deine Verbesserungen auch gerne beisteuern kannst sodass alle was davon haben, denn so funktioniert open-source. Und sorry das unser privates und in Freizeit entwickeltes Projekt deinen Ansprüchen noch nicht genügt und wir nicht 24/7 daran arbeiten und alles vollumfänglich und 100% korrekt implementieren können. Tut mir leid, dass es dir offenbar nicht zusagt. Wie gesagt, dieses Projekt wird privat und in unserer Freizeit entwickelt - natürlich fokussieren wir uns hier auf die "breite Masse" Ich habe nichts gegen Feedback - du hast allerdings eine konkrete Anforderung wie du deine DNS Zonen importieren kannst und ich habe versucht dir aufzuzeigen wie es aktuell möglich ist. Wenn meine Infos für dich nicht hilfreich sind, tut es mir leid.
  19. ??? Du sollst ja nicht im code von froxlor rummachen sondern die API in deinen eigenen scripts verwenden... Einen eigenen DNS betreiben vllt eine handvoll Leute mit froxlor - dieses Feature bekommt einfach nicht so viel Liebe wie andere Elemente da es nicht sonderlich gefragt und genutzt wird. Dann beteilige dich doch gern am Projekt und erweitere die DNS integration Dafür ist es open-source hab ich dir genannt...siehe API command dafür: https://docs.froxlor.org/latest/api-guide/commands/domainzones.html#domainzones-add Welche Datengrundlage ein import hat ist doch völlig egal.
  20. via API oder direkt in die entsprechende Tabelle der froxlor-Datenbank. Die SOA Serial ist in der domains-tabelle pro domain hinterlegt (bindserial). Eine automatische Erhöhung ist nicht in froxlor integriert, aber auch hierfür kannst du die API nutzen um Felder automatisiert anzupassen Sofern du die 2fa Absicherung gewisser Einstellungen meinst, dann https://docs.froxlor.org/latest/admin-guide/settings/#_3-settings-in-config-inc-php Es gibt ja auch in dem Sinn keinen DNS-import in froxlor...
  21. Yes it should, might be a bug, please create an issue on github using https://github.com/Froxlor/Froxlor/issues/new
  22. Froxlor uses acme.sh, you can use certificates managed there if you want or issue your own
  23. Standardsubdomains do not have the nameserver flag enabled by default. You will have to edit the domain and set it.
  24. Yes, Settings -> System settings -> Customer standard subdomain, set it to "lab.mydomain.com" for the desired effect
  25. you can always add/edit ip addresses, see https://docs.froxlor.org/latest/admin-guide/resources/ips-and-ports/
×
×
  • Create New...