May 23, 20241 yr Hi, ich versuche gerade Froxlor auf unserem Server zu installieren. Die Requirements sind erfüllt , bei System Prüfung erscheint ein grüner Haken. Danach beim Schritt DB (froxlor/install/install.php?step=1) gebe ich die User und Passworte ein , drücke auf den weiter-Knopf , dann url = froxlor/install/install.php?step=2 , daten eingeben und bei Knopf `weiter` landet man immer wieder auf froxlor/install/install.php?step=2. Was kann die Ursache sein bzw was kann ich tun? Danke Cb PS: der mysql-log zeigt nur Folgendes `240523 14:12:50 48 Connect froxroot@localhost on using Socket 48 Query SHOW DATABASES LIKE 'froxlor' 48 Query CREATE DATABASE IF NOT EXISTS froxlor_tmp_664f4ee280063 48 Query DROP DATABASE IF EXISTS froxlor_tmp_664f4ee280063 48 Query SELECT `User` FROM `mysql`.`user` WHERE `User` = 'froxlor' 48 Query CREATE USER 'froxlor_tmp_664f4ee2969f9'@'localhost' IDENTIFIED BY '664f4ee296a04' 48 Query DROP USER 'froxlor_tmp_664f4ee2969f9'@'localhost' 48 Query FLUSH PRIVILEGES `
May 23, 20241 yr Du hast "sichern und überschreiben" aktiviert - ist denn mysqldump vorhanden auf dem system? ist normal alles standard und nie ein problem. Mal in der webserver error log geschaut ob da was drinsteht?
May 23, 20241 yr Author Ja dump ist vorhanden. Webserver error log ist leer und im access log gibt es lauter ok-zugriffe mit code 200, aber am anfang einen mit 302 . Ist das normal ? access-log : `172.19.0.1 - - [23/May/2024:14:49:10 +0000] "POST /froxlor/install/install.php?step=1 HTTP/1.0" (---->>>>) 302 6180 "https://ci.neomatt.de/froxlor/install/install.php?step=2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" 172.19.0.1 - - [23/May/2024:14:49:10 +0000] "GET /froxlor/install/install.php?step=2 HTTP/1.0" 200 6139 "https://ci.neomatt.de/froxlor/install/install.php?step=2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" 172.19.0.1 - - [23/May/2024:14:49:10 +0000] "GET /froxlor/templates/Froxlor/build/assets/app-61450a15.css HTTP/1.0" 200 355122 "https://ci.neomatt.de/froxlor/install/install.php?step=2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" 172.19.0.1 - - [23/May/2024:14:49:10 +0000] "GET /froxlor/templates/Froxlor/build/assets/app-67d6acee.js HTTP/1.0" 200 718321 "https://ci.neomatt.de/froxlor/install/install.php?step=2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" 172.19.0.1 - - [23/May/2024:14:49:10 +0000] "GET /froxlor/templates/Froxlor/assets/img/logo.png HTTP/1.0" 200 7546 "https://ci.neomatt.de/froxlor/install/install.php?step=2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" 172.19.0.1 - - [23/May/2024:14:49:10 +0000] "GET /froxlor/templates/Froxlor/assets/img/logo_grey.png HTTP/1.0" 200 3487 "https://ci.neomatt.de/froxlor/install/install.php?step=2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" 172.19.0.1 - - [23/May/2024:14:49:10 +0000] "GET /froxlor/templates/Froxlor/build/assets/fa-regular-400-9169d8be.woff2 HTTP/1.0" 200 24488 "https://ci.neomatt.de/froxlor/templates/Froxlor/build/assets/app-61450a15.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" `
May 23, 20241 yr kann ich dir dann so ohne weitere infos nicht sagen woran das liegt - ungewöhnlich jedenfalls. Mal die CLI installation probiert? -> https://docs.froxlor.org/latest/admin-guide/cli-scripts/#install
May 23, 20241 yr 7 minutes ago, neomatt-cb said: aber am anfang einen mit 302 . Ist das normal ? 302 ist nur ein redirect...von step 1 auf step 2 - ist halt sicher jetzt auch alles noch in deiner session, vllt einfach mal cache leeren und ganz von vorne mit der installation beginnen. Wie gesagt, normal gibts da keine probleme - das ist ein simples formular...da is keine große magic
May 23, 20241 yr Author vor 27 Minuten schrieb d00p: kann ich dir dann so ohne weitere infos nicht sagen woran das liegt - ungewöhnlich jedenfalls. Mal die CLI installation probiert? -> https://docs.froxlor.org/latest/admin-guide/cli-scripts/#install Danke die Installation geht damit. `All services have been configured` danach geht nginx nicht mehr, muss ich mich noch drum kümmern.
May 23, 20241 yr wie "danach geht nginx nicht mehr" - hast du denn auch auch schon mit nginx installiert? hast du auch nginx als webserver in der installation ausgewählt? Hattest du vllt vorher auch apache installiert und der verhindert jetzt nginx's start weil er schon die ports blockt? Einfach mal schauen ob ggfls apache läuft und ausmachen/deinstallieren,...
May 23, 20241 yr nach einer Standard-Installation sollte froxlor auch unter der bei der installation angegeben fqdn erreichbar sein, ohne /froxlor/ - bei dir ist /froxlor über die domain immernoch aufrufbar, sogar mit directory-listing....also da passt was noch nicht so wirklich - kann ich nur raten, da keine info über genaue angaben bei installation und wie wo was eingestellt wurde
May 23, 20241 yr Author vor 13 Minuten schrieb d00p: wie "danach geht nginx nicht mehr" - hast du denn auch auch schon mit nginx installiert? hast du auch nginx als webserver in der installation ausgewählt? Hattest du vllt vorher auch apache installiert und der verhindert jetzt nginx's start weil er schon die ports blockt? Einfach mal schauen ob ggfls apache läuft und ausmachen/deinstallieren,... nginx war vorher schon installiert und ich habe dann bei installation nginx ausgewählt. apache ist nicht installiert. genauer nginx läuft nicht richtig `nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful root@262cd3b98de6:/var/www/html/froxlor# service nginx restart * Restarting nginx nginx [fail] root@262cd3b98de6:/var/www/html/froxlor# service nginx status * nginx is not running root@262cd3b98de6:/var/www/html/froxlor# service nginx status * nginx is not running ` aber unter ps -aux sind noch nginx-prozesse. Ich versuche mal die zu killen.
May 23, 20241 yr Author vor 10 Minuten schrieb d00p: nach einer Standard-Installation sollte froxlor auch unter der bei der installation angegeben fqdn erreichbar sein, ohne /froxlor/ - bei dir ist /froxlor über die domain immernoch aufrufbar, sogar mit directory-listing....also da passt was noch nicht so wirklich - kann ich nur raten, da keine info über genaue angaben bei installation und wie wo was eingestellt wurde Danke fürs überhaupt versuchen 🙂 ja das dir-listing ist temporär. ich habe mal den installations prozess also die optionen kopiert vielleicht kann man daraus etwas erkennen ` root@262cd3b98de6:/var/www/html/froxlor# bin/froxlor-cli froxlor:install Froxlor installation ==================== Use advanced installation mode? (yes/no) [no]: > yes System check ------------ [INFO] Your system is running with PHP 8.1.2-1ubuntu2.17 Create database and user ------------------------ ! [NOTE] Froxlor requires a database and additionally <a ! href="https://docs.froxlor.org/latest/general/installation/tarball.html#_3-create-privileged-database-user" ! target="_blank">a privileged user</a> to be able to create users and databases (GRANT option). The given ! database and unprivileged database-user will be created in this process. The privileged user must exist. MySQL-Server [localhost]: > SSL server certificate []: > Verify SSL server certificate (yes/no) [yes]: > no Privileged database user [froxroot]: > Password for privileged user: > Unprivileged database user [froxlor]: > Password for unprivileged user: > Database name [froxlor]: > Backup and overwrite database if exists? (yes/no) [yes]: > yes Let's create the main administrator user. ----------------------------------------- ! [NOTE] This user will be granted all privileges to adjust settings and add/update/delete resources like customers, ! domains, etc. Name [Administrator]: > NeoAdmin Username [admin]: > neoadmin Password: > Confirm password: > Email []: > admin@neomatt.de Use the email address above as sender address. If unchecked, please specify a sender address below. (yes/no) [yes]: > Sender []: > Details about your server ------------------------- ! [NOTE] Set your environment as well as server relevant data and options here to let froxlor know about your system. ! These values are crucial for the system configuration and operating. Distribution [Ubuntu Jammy (22.04)]: [bookworm] Debian Bookworm (12.x) [bullseye] Debian Bullseye (11.x) [gentoo ] Gentoo (3.0) [deprecated] [focal ] Ubuntu Focal (20.04) [jammy ] Ubuntu Jammy (22.04) > Primary IPv4 address (if applicable) [172.19.0.4]: > Primary IPv6 address (if applicable) []: > Server name (FQDN, no ip-address) [262cd3b98de6]: > Enable SSL usage (yes/no) [yes]: > Webserver [Apache 2.4]: [apache24] Apache 2.4 [nginx ] Nginx [lighttpd] LigHTTPd > nginx PHP backend [PHP-FPM]: [php-fpm] PHP-FPM [fcgid ] FCGID (apache2 only) [mod_php] mod_php (not recommended) > Webserver user-name [root]: > Webserver group-name [root]: > Enable the official newsfeed (external source: https://inside.froxlor.org/news/) (yes/no) [yes]: > no [ERROR] Given servername does not seem to be a FQDN or hostname Retry? (yes/no) [yes]: > yes Details about your server ------------------------- ! [NOTE] Set your environment as well as server relevant data and options here to let froxlor know about your system. ! These values are crucial for the system configuration and operating. Distribution [Ubuntu Jammy (22.04)]: [bookworm] Debian Bookworm (12.x) [bullseye] Debian Bullseye (11.x) [gentoo ] Gentoo (3.0) [deprecated] [focal ] Ubuntu Focal (20.04) [jammy ] Ubuntu Jammy (22.04) > Primary IPv4 address (if applicable) [172.19.0.4]: > Primary IPv6 address (if applicable) []: > Server name (FQDN, no ip-address) [262cd3b98de6]: > ci.neomatt.de Enable SSL usage (yes/no) [yes]: > Webserver [Apache 2.4]: [apache24] Apache 2.4 [nginx ] Nginx [lighttpd] LigHTTPd > nginx PHP backend [PHP-FPM]: [php-fpm] PHP-FPM [fcgid ] FCGID (apache2 only) [mod_php] mod_php (not recommended) > Webserver user-name [root]: > Webserver group-name [root]: > Enable the official newsfeed (external source: https://inside.froxlor.org/news/) (yes/no) [no]: > no One last step... ---------------- ! [NOTE] The command below will download, install and configure required services on your system according to the data ! you have given in this installation process. ! ! Be sure to run the following command as root on the server's shell/terminal and be aware that this command ! will overwrite any existing configuration for the used services (backups will be created)!. ! If you do not want to overwrite any configurations, select I will manually configure the services at the ! bottom of this page! [OK] Run the following command to finish the installation: /var/www/html/froxlor/bin/froxlor-cli froxlor:config-services -a '{"distro":"jammy","dns":"x","http":"nginx","smtp":"postfix_dovecot","mail":"dovecot_postfix2","ftp":"proftpd","sy stem":["cron","libnssextrausers","logrotate","goaccess","php-fpm"]}' --yes-to-all Execute command now? (yes/no) [no]: > `
May 23, 20241 yr 36 minutes ago, neomatt-cb said: Server name (FQDN, no ip-address) [262cd3b98de6]: Das ist bei dir ein FQDN?....in deinen Screenshots war doch die Rede von "ci.neomatt.de" Mal in den generierten nginx vhost geschaut oder ins Journalctl wieso nginx nicht rennt? Bzw war manuell starten und schauen ob es Fehler gibt?
May 27, 20241 yr Author Du hast Recht, bei dem FQDN habe ich einen Fehler gemacht, weil ich weiter geklickt habe, es sollte ci.neomatt.de sein. nginx manuell starten geht, die generierten vhost schaue ich mir jetzt an. wir hatten vorher eine eigene nginx-location, ich werde das so machen, dass die wieder gilt.
May 27, 20241 yr du kannst die nginx-configs location in den einstellungen anpassen, es muss nicht /etc/nginx/sites-enabled/ sein, aber du musst natürlich selbst dafür sorgen das der angegebene ordner dann von der nginx.conf auch eingelesen wird
May 27, 20241 yr Author vor 11 Minuten schrieb d00p: du kannst die nginx-configs location in den einstellungen anpassen, es muss nicht /etc/nginx/sites-enabled/ sein, aber du musst natürlich selbst dafür sorgen das der angegebene ordner dann von der nginx.conf auch eingelesen wird OK mache ich 🙂
May 28, 20241 yr Author Docker: Unterstützt Froxlor mittlerweile eigentlich Docker? PS: längere Variante: eine wichtig Info ist noch: wir befinden uns im einem Docker-Container , weil das der Auftrag bzw unser Plan ist. Also wir wollen einen Server als Docker-Container, in dem Mailserver, nginx und froxlor laufen. Bisher macht mir das aber große Schwierigkeiten alles zusammen zum laufen zu bekommen bzw auch speziell froxlor im Docker-Container.
May 28, 20241 yr Froxlor ist aktuell noch nicht für docker ausgelegt, mag sein daß es mit viel gefrickel irgendwie geht aber Ansich ist es nicht dafür gemacht.
May 28, 20241 yr Author vor 54 Minuten schrieb d00p: Froxlor ist aktuell noch nicht für docker ausgelegt, mag sein daß es mit viel gefrickel irgendwie geht aber Ansich ist es nicht dafür gemacht. Ok thx. Dann kann ich das meinem Chef so weitergeben. Das mit Gefrickel , ja genau in der Situation bin ich ;-)
Create an account or sign in to comment