Jump to content
Froxlor Forum

Gamerboy59

Members
  • Posts

    113
  • Joined

  • Last visited

Everything posted by Gamerboy59

  1. Hi, axfr unterstützt ja nicht direkt das Löschen von Zonen, aber irgendwie müssen die ja entsorgt werden, wie regelt Froxlor das?
  2. Ja, über die packages von sury.org. Ich werde jetzt mal den cron --debug laufen lassen und gucke, ob es funktioniert.
  3. Ja, das mit dem Template zuweise ist klar, wie php-fpm funktioniert ist mir scheinbar dann doch nicht so klar.. Ich habe jetzt eine neue Config erstellt und das unterstrichene im Vergleich zum ersten Screenshot geändert. Wenn ich die php-config einer Domain zuweise, reicht das, damit sie unter php7.4 läuft?
  4. Ja, die Daten weiß ich, die Frage war nur, ob das reicht, damit die .php-Dateien auch von der php-Version ausgeführt werden. Also das keine weitere Angabe zur php-executable notwendig ist?
  5. Ja, aber wo kommt die Version hin? Ins pool-config-Feld? Also wo jetzt /etc/php/7.3/fpm/pool.d/ steht dann /etc/php/7.4/fpm/pool.d/
  6. Ok, wo trage ich dann die php-version ein, die ausgeführt werden soll? Sowas wie einen Pfad zur binary gibt es ja nicht.
  7. Auch wenn das Thema schon etwas älter ist, geht es inzwischen? Habe so spontan nichts gefunden in den Configs, aber es wäre ein Feature, dass ich gerne nutzen würde (sofern es zur Verfügung steht).
  8. Indeen, this did the trick. I also noticed that I get rid of the <user>@ when I disable the option to allow ftp-login with domain (Settings -> Account Settings -> FTP accounts @domain disabled). Thanks for your help. Now it's working great again.
  9. Yes, ftp_group is without homedir. Did you test with latest git? I updated to it again but didn't help.
  10. Just figured out the username and groupname and homedir path is saved wrong in ftp_user and ftp_group table in mysql db. I manually corrected it and now it's working as supposed. Are these values saved incorrectly?
  11. I don't know. Removing the @ and the double path make it working again. I recently updated to the latest git version but a downgrade didn't help either.
  12. Or is maybe something wrong with the generation of the passwd file? The path in 'space' appears to be set twice: maxm@:x:10000:10000:Max Mustermann:/var/customers/webs/maxm/var/customers/webs/maxm/:/bin/false Edit: If I search the usernumber ("id 10000") I can find the corresponding user but when I search the username ("id maxm") it says no user found.
  13. Ok, I reinstalled my server but same issue. Here's my nsswitch.conf # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: compat extrausers group: compat extrausers shadow: compat extrausers gshadow: files hosts: files dns networks: files dns protocols: db files services: db files ethers: db files rpc: db files netmasks: files netgroup: files bootparams: files automount: files aliases: files /var/lib/extrausers/passwd and These files contain the correct user Information, just the system can't find them. Did I miss something?
  14. Yh, fixed the directory in the settings and created a symlink for just in case. I went thru all installations steps (which aren't that many). I guess the extrausers setup is working as the users are shown in the files. The nsswitch file was completely copy&pasted so should be working too. I'm on Debian 10 but that shouldn't cause any trouble here. Nscd is no more required to have extrausers working, is it? I guess I'll do a reinstall anyways. Maybe it'll be fixed then. btw: is the request to approve configuration just a hint or is there any further setting related to it?
  15. Ok, just noticed froxlor created two different folders /var/customer and /var/customers The latter one did have the logs directory. Additionally, it appears that no users are passed through extrausers. I can find an user entry in /var/lib/extrausers/passwd but that's not found with "id <user>".
  16. Hello, I set up froxlor using nginx and fpm. So far so good and everything is smooth but when I create a customer, the following error appears: root@de3:~# php /var/www/html/scripts/froxlor_master_cronjob.php --force --debug [information] TasksCron: Searching for tasks to do [information] TasksCron: Task2 started - create new home [notice] Running: mkdir -p '/var/customers/webs/<user>/webalizer' [notice] Running: mkdir -p '/var/customers/mail/<user>/' [notice] Running: cp -a /var/www/html//templates/misc/standardcustomer/* '/var/customers/webs/<user>/' [notice] Running: chown -R 10002:10002 '/var/customers/webs/<user>/' [notice] Running: chown -R 2000:2000 '/var/customers/mail/<user>/' [notice] Creating passwd file [notice] Writing 1 entries to passwd file [notice] Succesfully wrote passwd file [notice] Creating group file [notice] Writing 1 entries to group file [notice] Succesfully wrote group file [notice] Creating shadow file [notice] Writing 1 entries to shadow file [notice] Succesfully wrote shadow file [information] Creating new FTP-home [information] Running Let's Encrypt cronjob prior to regenerating webserver config files [information] Requesting/renewing Let's Encrypt certificates [information] No new certificates or certificates due for renewal found [information] nginx::createIpPort: creating ip/port settings for 123.456.789.012:80 [information] nginx::createIpPort: creating ip/port settings for 123.456.789.012:443 PHP Warning: touch(): Unable to create file /var/customers/logs/<user>-error.log because No such file or directory in /var/www/html/lib/Froxlor/Cron/Http/Nginx.php on line 1048 PHP Warning: chown(): No such file or directory in /var/www/html/lib/Froxlor/Cron/Http/Nginx.php on line 1049 PHP Warning: chgrp(): No such file or directory in /var/www/html/lib/Froxlor/Cron/Http/Nginx.php on line 1050 PHP Warning: touch(): Unable to create file /var/customers/logs/<user>-access.log because No such file or directory in /var/www/html/lib/Froxlor/Cron/Http/Nginx.php on line 1058 PHP Warning: chown(): No such file or directory in /var/www/html/lib/Froxlor/Cron/Http/Nginx.php on line 1059 PHP Warning: chgrp(): No such file or directory in /var/www/html/lib/Froxlor/Cron/Http/Nginx.php on line 1060 [information] nginx::writeConfigs: rebuilding /etc/nginx/sites-enabled/ [information] Froxlor\Cron\Http\NginxFcgi::reload: running service php7.3-fpm restart Job for php7.3-fpm.service failed because the control process exited with error code. See "systemctl status php7.3-fpm.service" and "journalctl -xe" for details. [information] Froxlor\Cron\Http\NginxFcgi::reload: reloading Froxlor\Cron\Http\NginxFcgi [information] Task4 started - Rebuilding froxlor_bind.conf [information] Cleaning dns zone files from /etc/bind/domains/ [information] No domains found for nameserver-config, skipping... [notice] Creating passwd file [notice] Writing 1 entries to passwd file [notice] Succesfully wrote passwd file [notice] Creating group file [notice] Writing 1 entries to group file [notice] Succesfully wrote group file [notice] Creating shadow file [notice] Writing 1 entries to shadow file [notice] Succesfully wrote shadow file [notice] Checking system's last guid Additionally, but not very important though, is that at the end of the URL there is always a 2nd "/". Guess that is nginx redirect config.. However, always when I create a new customer the error appears and the system crashs. Thanks for your kind help.
  17. That's amazing, now we need an api doc to work with it. Great work!
  18. Der Admin-Zugang für Froxlor alleine reicht da nicht, wenn dann bräuchte man root/sudo-Zugang um die Configs zu erstellen, aber ich kann dir auf keinen Fall empfehlen den so rauszugeben.
  19. Der Fehler besteht auch weiterhin mit der aktuellen Version von git. Was kann ich tun, damit die Zertifikate automatisch generiert werden oder welche Informationen benötigt ihr noch?
  20. Hello, I'm trying to use lets encrypt with froxlor. I always get an error when froxlor tried to generate the certificate. Feb 18 19:05:03 ger2 Froxlor: [ Action cronjob] [error] Could not get Let's Encrypt certificate for test.gamerboy59.blue: No challenges received for test.gamerboy59.blue. Whole response: {"type":"urn:acme:error:unauthorized","detail":"No registration exists matching provided key","status":403} From what I figured out till now this might be because of a wrong email. I didn't find anything about email stuff in the csr part of the lescript yet but I found a site discussing the error: https://www.svennd.be/lets-encrypt-on-any-linux-distro/ (one of the last parts). I already tried deleting the domain and customer and set it up again but no success. Maybe you can have a look in it though it's still beta and developed anyway. Regards.
  21. Thanks, yes I understand German.
  22. I tried this way and the error occurred. If using SSL is not meant to be used like I did, you could probably tell me how else to do, but for now I don't see why it shouldn't work in my way.
  23. Ok thanks, but this goes well?
×
×
  • Create New...