Jump to content
Froxlor Forum

d00p

Administrators
  • Posts

    10304
  • Joined

  • Last visited

  • Days Won

    43

Community Answers

  1. d00p's post in Froxlor hostname SSL certs not copied was marked as the answer   
    Froxlor should sync the certificates from /root/.acme.sh/ with its database and create the certificates where specified in the settings (e.g. /etc/ssl/froxlor-custom/.
    Easiest and fastest way is:
    - stop cron
    - delete the corresponding certificate via froxlor -> ssl certificates
    - delete the certificate using 'acme.sh --remove -d [domain]'
    - run 'php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force --debug'
    - re-enable cron
  2. d00p's post in Froxlor über Domain erreichbar machen was marked as the answer   
    Nicht per se. Aber es geht natürlich am ende um eine homogene Konfiguration des Gesamtsystems, das alles stimmig ist. Deswegen setzt froxlor in seine Konfigurations-Templates wo nötig eben den bei der Installation angegebenen Systemhostname ein. Du kannst das auch alles frei anpassen wenn du halt weisst was wo wie und vorallem warum.
    der server explodiert....
    ...nein quatsch Am schlimmsten trifft es da wohl die Maildienste. Wenn das setup da nicht stimmig ist wirst du sicherlich auf diversen Blacklists landen
    Das bezieht sich wie alles hier nur auf das "System Hostname" Feld in der Config. Und diese spezielle Config bestimmt nur ob du "system.hostname/froxlor" oder nur "system.hostname" in den Browser eintippen musst, um auf froxlor zuzugreifen
  3. d00p's post in use a different php configuration on a current subdomain was marked as the answer   
    Most likely you forgot to allow this new php configuration to be used by the customer. Login as admin and edit the customer of the domain that should be allowed to use this config
  4. d00p's post in Mailserver Konfiguration was marked as the answer   
    Grundsätzlich gilt bei TLS/SSL: es muss als server (smtp/imap/pop3) natürlich die domain angegeben werden für die das zertifikat ausgestellt ist die in der postfix und dovecot config referenziert wird.
    Es gibt tendenziell möglichkeiten da "SNI" zu nutzen und das pro domain zu machen, lässt sich googlen. Ist halt manuelle arbeit. Froxlor basiert seine configs auf den system-defaults und passt nur die schnittstelle zur Datenbank an, d.h. auch hier muss SSL durch den sysadmin konfiguriert werden
  5. d00p's post in LetsEncrypt ACME Challange nginx was marked as the answer   
    Die acme.conf wird im vhost inkludiert.
    Nginx sucht auch in conf.d nach settings. Das ist dann noch kein vhost Kontext daher der Fehler.
    Ändere am besten die Einstellung auf /etc/nginx/acme.conf
     
     
  6. d00p's post in Backup für vollständigen Umzug auf andere Debian Version was marked as the answer   
    Kein all-in-one-start-and-go Wunderwerkzeug nein.
    1) Backup aller Daten machen / Snapshot der VM / o.Ä.
    2) rsync /var/customers/* von alt auf neu
    3) rsync /var/www/froxlor von alt auf neu
    4) alle dienste auf dem alten stoppen
    5) nochmal rsync /var/customer/* (abgleich von geänderten daten, sollte dann minimal sein)
    6) auf dem neuen server sollte schon installiert sein: webserver, php, mysql/mariadb server
    7) mysql auf dem neuen stoppen
    😎 rsync von /var/lib/mysql/* von alt auf neu (alle Datenbanken, Dateien etc. mysql aktualisiert die dann selbst und die ganzen Benutzer/Kennwörter der Datenbank user sind noch da)
    9) msql auf neuem starten
    10) falls neue ip /var/www/froxlor/install/scripts/switch-server-ip.php script verwenden
    11) /var/www/froxlor/install/scripts/config-services.php script verwenden, um alle dienste für buster zu installieren und konfigurieren (customized configs vom alten server ggfls nachpflegen sofern notwendig)
    und sofern ich nicht irgendwas vergessen habe sollte es das eigentlich schon sein
     
  7. d00p's post in Domain-Anlage als Sub-Admin wirft Fehler was marked as the answer   
    hm, einfach nur eine "1"? Das sollte ja wenn dann ein json-array sein. Ist der Reseller denn vllt sehr alt?
    Also ja, du kannst das auf -1 setzen, das bedeutet der Reseller darf alle IPs nurtzen. Oder du bearbeitest den Reseller in froxlor und setzt die IPs die er nutzen darf, dann sollte es auch korrekt in der Datenbank angelegt werden
  8. d00p's post in Uninstall (where is everything located) was marked as the answer   
    /var/www/froxlor (froxlor itself)
    /etc/cron.d/froxlor (its cronjob)

    /var/customers/ (the customer data, if not otherwise specified in the settings)
    if already generated, you can also remove all virtual vhosts generated by froxlor:
    /etc/apache2/sites-enabled/*froxlor*.conf
  9. d00p's post in Where is admin account located? was marked as the answer   
    INSERT INTO `panel_admins` SET `adminid` = 1, `loginname` = 'admin', `password` = 'SHA-256-HASH-OF-YOUR-PASSWORD', `name` = 'Siteadmin', `email` = 'admin@FROXLORHOSTNAME', `api_allowed` = 1, `customers` = -1, `customers_see_all` = 1, `caneditphpsettings` = 1, `domains` = -1, `domains_see_all` = 1, `change_serversettings` = 1, `diskspace` = -1024, `mysqls` = -1, `emails` = -1, `email_accounts` = -1, `email_forwarders` = -1, `email_quota` = -1, `ftps` = -1, `subdomains` = -1, `traffic` = -1048576;  
  10. d00p's post in deb.froxlor.org via ipv4 nicht erreichbar? was marked as the answer   
    ich habe daheim beim Business-Anschluss auch nur ipv4 und es löst wunderbar auf. Beachte bitte das du das Paket apt-transport-https brauchst, unser repository ist https-only
  11. d00p's post in [SOLVED] A Database error occurred bei Login auf Admin Oberfläche was marked as the answer   
    hast du denn den user auch für host 127.0.0.1 und localhost angelegt? Wenn nein, versuch das mal
  12. d00p's post in [SOLVED] A Database error occurred bei Login auf Admin Oberfläche was marked as the answer   
    hast du denn den user auch für host 127.0.0.1 und localhost angelegt? Wenn nein, versuch das mal
  13. d00p's post in Pfad zu php-fpm-Konfigurationen unter php 7.4 was marked as the answer   
    Na ohne Kunden oder domains gibts da natürlich auch keine poolcconfigs (sind domainbasiert). Dann würde ich sagen hast du vergessen in den Einstellungen anzugeben, dass froxlor selbst auch via fpm laufen soll (Einstellungen -> Froxlor Vhost Einstellungen, danach auch unbedingt die config-templates durchgehen für apache und php-fpm und libnss-extrausers; extrausers auch defintiv in froxlor aktivieren in den einstellungen falls noch nicht aktiv)
  14. d00p's post in Login nach Update auf 0.10.22 nicht mehr möglich was marked as the answer   
    Das ist eine PHP notice, deaktiviere error output in der PHP ini für froxlor. Nutzt du evtl schon PHP8?
  15. d00p's post in Is Froxlor already compatible with PHP8.0 ? was marked as the answer   
    Currently, our demo runs on php8.0, also the cronjob seems to work fine (why shouldn't it though). The error you mentioned is already fixed in current git-master (see https://github.com/Froxlor/Froxlor/commit/bde87950a5693739746434c651bf51e0e41ec0f1)
  16. d00p's post in chown -R www-data:www-data /var/www/froxlor/ was marked as the answer   
    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
  17. d00p's post in Fehler beim Speichern von Standard SSL vHost-Einstellungen was marked as the answer   
    das war ne schwere geburt. Das feld wurde tatsächlich nur im Update hinzugefügt und ich hab das total vergessen für neuinstallationen, folgender SQL Befehl sollte das problem lösen:
    INSERT INTO `panel_settings` SET `settinggroup` = 'system', `varname` = 'default_sslvhostconf', `value` = '';  
  18. d00p's post in Umstellung auf FPM was marked as the answer   
    siehste doch, "php-fpm: pool www" und läuft unter www-data.
    Normal stünde da z.B. "php-fpm: pool kunden-domain.tld" und der child-prozess läuft unter "customername".
    ggfls hast du da einen alten default pfad, z.B. /etc/php-fpm.d/ oder sowas. Wenn du den richtigen Pfad gefunden hast, einfach alle pool-configs von dort nach /etc/php/7.4/fpm/pool.d/ kopieren, php7.4-fpm restarten und dann läuft das  Dann halt im froxlor bei der entsprechenden fpm-daemon setting den Pfad korrigieren
  19. d00p's post in Enable Let's Encrypt for the froxlor vhost is set but not created was marked as the answer   
    well did you run the cronjob manually with --force --debug to check for potential problems? 
  20. d00p's post in V0.10.21 | Eigene vHost-Einstellungen -> FcgidMaxRequestLen zieht nicht mehr was marked as the answer   
    Also laut apache doc geht die option auf server und auf vhost basis. Zeig uns doch bitte mal die entsprechenden vhosts und wie das eingefügt wurde 
  21. d00p's post in "froxlor_master_cronjob.php --tasks" throws some PHP Warnings was marked as the answer   
    Ah okay, does your server possibly not have an ipv6 address and/or cannot connect to ipv6 networks? That could be the origin of the error message, because first we check for ipv6 record (AAAA) and then for ipv4 (A) - and then merge the two results. So if the first fails, it's not an array (should be "false" and I guess array_merge tries to typecast so it's null) and the merge fails.
    Can you try the following adjustments to /var/www/html/froxlor/lib/Froxlor/PhpHelper.php:
    diff --git a/lib/Froxlor/PhpHelper.php b/lib/Froxlor/PhpHelper.php index 90b30478..f9fbab55 100644 --- a/lib/Froxlor/PhpHelper.php +++ b/lib/Froxlor/PhpHelper.php @@ -223,9 +223,17 @@ class PhpHelper */ public static function gethostbynamel6($host, $try_a = true) { - $dns6 = dns_get_record($host, DNS_AAAA); + $dns6 = @dns_get_record($host, DNS_AAAA); + if (!is_array($dns6)) { + // no record or failed to check + $dns6 = []; + } if ($try_a == true) { - $dns4 = dns_get_record($host, DNS_A); + $dns4 = @dns_get_record($host, DNS_A); + if (!is_array($dns4)) { + // no record or failed to check + $dns4 = []; + } $dns = array_merge($dns4, $dns6); } else { $dns = $dns6;  
  22. d00p's post in Froxlor Update 0.9.40.1 to 0.10.21 fails (Browser hanging for >10 Minutes, then error) was marked as the answer   
    The corresponding setting would be "Settings -> Cronjob settings -> Allow automatic database updates". 
    I would frist stop the cron-daemon (so I'm control of the execution), adjust the settings and then run the cron manually using
    php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force --debug I strongly recommend a prior backup  If this does not work as expected, let me know, we'll figure something out to update your froxlor
  23. d00p's post in IPs and Ports was marked as the answer   
    if you just exchange old with new, better use "install/scripts/switch-server-ip.php"
  24. d00p's post in FTP users was marked as the answer   
    that should work yes
  25. d00p's post in postfix submission port was marked as the answer   
    That's because we try to stay as close as possible to the distrobutions default configs and adjust only what froxlor needs. You are free to adjust all the configs as required
×
×
  • Create New...