Jump to content
Froxlor Forum
  • 0

Hilfe! Leere Seite bei Erstinstallation, Datenbank läßt sich nicht erstellen.


ThorstenL

Question

Hallo, ich möchte zunächst nur eine lokale Installation von Froxlor auf meinem Laptop testen. Soll später dann auf meinen Heimserver laufen.

Leider komme ich nicht weiter. Die Installation bricht nach dem Einrichten der DB ab und nicht geht mehr. Die Datenbank wird erst garnicht eingerichtet.

Wo liegt hier mein Fehler?

Verzeichnis zu froxlor: [code]/var/www/html/froxlor[/code]

[code]
thorsten@thorsten-HP-Notebook:~$ cd /var/www/html
thorsten@thorsten-HP-Notebook:/var/www/html$ ls -lrt
insgesamt 16
drwxr-xr-x 14 www-data www-data 4096 Jun  2 20:39 froxlor
-rw-rw-rw-  1      755 www-data   21 Jun 19 20:53 info.php
drwxrwxr-x  2 www-data www-data 4096 Jun 21 19:23 do1tlg
drwxrwxr-x 17 www-data www-data 4096 Jun 23 14:11 itsmylife
thorsten@thorsten-HP-Notebook:/var/www/html$ cd /var/www/html/froxlor
thorsten@thorsten-HP-Notebook:/var/www/html/froxlor$ ls -lrt
insgesamt 932
-rw-r--r--  1 www-data www-data    418 Jun  2 20:38 webpack.mix.js
drwxr-xr-x 21 www-data www-data   4096 Jun  2 20:38 tests
drwxr-xr-x  4 www-data www-data   4096 Jun  2 20:38 templates
-rw-r--r--  1 www-data www-data   3497 Jun  2 20:38 ssl_editor.php
-rw-r--r--  1 www-data www-data   2918 Jun  2 20:38 ssl_certificates.php
-rw-r--r--  1 www-data www-data   2105 Jun  2 20:38 SECURITY.md
-rw-r--r--  1 www-data www-data   2806 Jun  2 20:38 README.md
-rw-r--r--  1 www-data www-data   1808 Jun  2 20:38 phpunit.xml
-rw-r--r--  1 www-data www-data   1325 Jun  2 20:38 phpmd.xml
-rw-r--r--  1 www-data www-data   1119 Jun  2 20:38 phpdox.xml
-rw-r--r--  1 www-data www-data   1309 Jun  2 20:38 phpcs.xml
-rw-r--r--  1 www-data www-data    428 Jun  2 20:38 package.json
drwxr-xr-x  2 www-data www-data   4096 Jun  2 20:38 logs
-rw-r--r--  1 www-data www-data   3970 Jun  2 20:38 logfiles_viewer.php
drwxr-xr-x  2 www-data www-data   4096 Jun  2 20:38 lng
drwxr-xr-x  3 www-data www-data   4096 Jun  2 20:38 install
-rw-r--r--  1 www-data www-data  25976 Jun  2 20:38 index.php
-rw-r--r--  1 www-data www-data   4045 Jun  2 20:38 error_report.php
drwxr-xr-x  3 www-data www-data   4096 Jun  2 20:38 doc
-rw-r--r--  1 www-data www-data   4934 Jun  2 20:38 dns_editor.php
-rw-r--r--  1 www-data www-data   1616 Jun  2 20:38 customer_traffic.php
-rw-r--r--  1 www-data www-data   6488 Jun  2 20:38 customer_mysql.php
-rw-r--r--  1 www-data www-data   1877 Jun  2 20:38 customer_logger.php
-rw-r--r--  1 www-data www-data   9481 Jun  2 20:38 customer_index.php
-rw-r--r--  1 www-data www-data   6820 Jun  2 20:38 customer_ftp.php
-rw-r--r--  1 www-data www-data  12040 Jun  2 20:38 customer_extras.php
-rw-r--r--  1 www-data www-data  20622 Jun  2 20:38 customer_email.php
-rw-r--r--  1 www-data www-data  14466 Jun  2 20:38 customer_domains.php
-rw-r--r--  1 www-data www-data  15146 Jun  2 20:38 COPYING
-rw-r--r--  1 www-data www-data 161806 Jun  2 20:38 composer.lock
-rw-r--r--  1 www-data www-data   2289 Jun  2 20:38 composer.json
-rw-r--r--  1 www-data www-data  10431 Jun  2 20:38 build.xml
drwxr-xr-x  2 www-data www-data   4096 Jun  2 20:38 bin
-rw-r--r--  1 www-data www-data   1404 Jun  2 20:38 api.php
-rw-r--r--  1 www-data www-data   6061 Jun  2 20:38 api_keys.php
-rw-r--r--  1 www-data www-data   3760 Jun  2 20:38 admin_updates.php
-rw-r--r--  1 www-data www-data   1514 Jun  2 20:38 admin_traffic.php
-rw-r--r--  1 www-data www-data  19296 Jun  2 20:38 admin_templates.php
-rw-r--r--  1 www-data www-data  14672 Jun  2 20:38 admin_settings.php
-rw-r--r--  1 www-data www-data   9049 Jun  2 20:38 admin_plans.php
-rw-r--r--  1 www-data www-data   9745 Jun  2 20:38 admin_phpsettings.php
-rw-r--r--  1 www-data www-data  10138 Jun  2 20:38 admin_opcacheinfo.php
-rw-r--r--  1 www-data www-data   4659 Jun  2 20:38 admin_mysqlserver.php
-rw-r--r--  1 www-data www-data   4861 Jun  2 20:38 admin_message.php
-rw-r--r--  1 www-data www-data   2453 Jun  2 20:38 admin_logger.php
-rw-r--r--  1 www-data www-data   5062 Jun  2 20:38 admin_ipsandports.php
-rw-r--r--  1 www-data www-data  11478 Jun  2 20:38 admin_index.php
-rw-r--r--  1 www-data www-data  25992 Jun  2 20:38 admin_domains.php
-rw-r--r--  1 www-data www-data  10227 Jun  2 20:38 admin_customers.php
-rw-r--r--  1 www-data www-data   3052 Jun  2 20:38 admin_cronjobs.php
-rw-r--r--  1 www-data www-data   5567 Jun  2 20:38 admin_configfiles.php
-rw-r--r--  1 www-data www-data   5972 Jun  2 20:38 admin_autoupdate.php
-rw-r--r--  1 www-data www-data   7461 Jun  2 20:38 admin_apcuinfo.php
-rw-r--r--  1 www-data www-data   6264 Jun  2 20:38 admin_admins.php
drwxr-xr-x  3 www-data www-data   4096 Jun  2 20:38 actions
-rw-r--r--  1 www-data www-data   4697 Jun  2 20:38 2fa.php
drwxr-xr-x 13 www-data www-data   4096 Jun  2 20:38 vendor
-rw-r--r--  1 www-data www-data 313301 Jun  2 20:38 package-lock.json
drwxr-xr-x  9 www-data www-data   4096 Jun 24 10:18 cache
drwxr-xr-x  7 www-data www-data   4096 Jun 24 15:53 lib
[/code]

[code]
HP-Notebook:~$ sudo apache2ctl -S
[sudo] Passwort für thorsten:             
VirtualHost configuration:
*:80                   is a NameVirtualHost
         default server localhost (/etc/apache2/sites-enabled/000-default.conf:1)
         port 80 namevhost localhost (/etc/apache2/sites-enabled/000-default.conf:1)
         port 80 namevhost do1tlg (/etc/apache2/sites-enabled/afu-do1tlg.conf:1)
         port 80 namevhost froxlor (/etc/apache2/sites-enabled/froxlor.conf:1)
         port 80 namevhost itsmylife (/etc/apache2/sites-enabled/itsmylife.conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/default.error.log"
Mutex fcgid-pipe: using_defaults
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
Mutex fcgid-proctbl: using_defaults
Mutex proxy: using_defaults
Mutex default: dir="/var/run/apache2/" mechanism=default
Mutex mpm-accept: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33
Group: name="www-data" id=33
[/code]

[code]
thorsten@thorsten-HP-Notebook:~$ apache2 -version
Server version: Apache/2.4.52 (Ubuntu)
Server built:   2023-03-01T22:43:55
[/code]

[code]
Datenbank-Server

    Server: Localhost via UNIX socket
    Server-Typ: MySQL
    Server-Verbindung: SSL wird nicht verwendet Dokumentation
    Server-Version: 8.0.33-0ubuntu0.22.04.2 - (Ubuntu)
    Protokoll-Version: 10
    Benutzer: root@localhost
    Server-Zeichensatz: UTF-8 Unicode (utf8mb4)


Webserver

    Apache/2.4.52 (Ubuntu)
    Datenbank-Client Version: libmysql - mysqlnd 8.1.20
    PHP-Erweiterung: mysqli Dokumentation curl Dokumentation mbstring Dokumentation
    PHP-Version: 8.1.20

 phpMyAdmin

    Versionsinformationen: 5.1.1deb5ubuntu1
[/code]

Ich würde mich freuen, wenn mir da jemand eine Weg zeigt, was ich machen kann, damit es funktioniert.

Vielen Dank!!!

 

Screen without content.png

Quelltext ohne Inhalt.png

php-info.png

froxlor install start.png

froxlor DB einrichten.png

Bildschirmfoto vom 2023-06-24 15-51-31.png

Benutzer Froxroot.png

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hallo Danke, habe gerade erst das Errorlog gefunden. Ja, PHP-Fehler.

[Sat Jun 24 15:55:56.486884 2023] [php:error] [pid 5281] [client 127.0.0.1:56994] PHP Fatal error:  Uncaught Error: Class "PDO" not found in /var/www/html/froxlor/lib/Froxlor/Install/Install.php:346\nStack trace:\n#0 /var/www/html/froxlor/lib/Froxlor/Install/Install.php(156): Froxlor\\Install\\Install->checkDatabase()\n#1 /var/www/html/froxlor/lib/Froxlor/Install/Install.php(119): Froxlor\\Install\\Install->handleFormData()\n#2 /var/www/html/froxlor/install/install.php(69): Froxlor\\Install\\Install->handle()\n#3 {main}\n  thrown in /var/www/html/froxlor/lib/Froxlor/Install/Install.php on line 346, referer: http://froxlor

Nun werde ich mal versuchen, herauszufinden, was da mit PDO gemeint ist und das dann nach installiern. Mal schauen.

Vielen Dank für Deinen Tipp.

Ich vermute mal, es ist pdo_mysql gemeint.

Link to comment
Share on other sites

  • 0

Ja, fast richtig! Die PDO.so ist zwar in /usr/share/php8.1 vorhanden, aber fehlte in /etc/php/php8.1/php-fmp/mods-avaible und musste dann noch in den ./conf als Verknüpfung abgelegt werden.

Hurra, Installation ist gelaufen und funktioniert!

Vielen Dank für das klasse Forum und die schnelle Hilfe.

Bildschirmfoto vom 2023-06-24 17-54-45.png

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...