#Fehler bei der Installation
1 messages · Page 1 of 1 (latest)
hab ich versucht, fehlermeldung bleibt bestehen
ah, er bemängelt das er keine Verbindung zur Datenbank bekommt:
in /var/www/controlpanel/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php ist aber kein klarpasswort angegeben
Next Illuminate\Database\QueryException: SQLSTATE[HY000] [1045] Access denied for user 'controlpaneluser'@'localhost' (using password: YES) (SQL: select * from settings) in /var/www/controlpanel/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
in /config/database.php ist folgendes:
'mysql' => [
'driver' => 'mysql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', '**********'),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
Password habe ich ausgeblendet
i configured it now
Now it shows this error
Next Illuminate\Database\QueryException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'controlpanel.settings' doesn't exist (SQL: select * from settings) in /var/www/controlpanel/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
How to get support?
- Search for similar posts first!
- What have you tried already?
- Where the error has happened?
- Provide logs!
Dont's (will get you muted):
- Post some image or text without context.
- Post a command you ran without the output,
- Post just the output.
- Reply with "i already did that" (See: How to get Support)
- Post every word as a new message.
- Ping Staff.
- Post the same message in multiple channels.
Get Logs:
Laravel / CP.GG: tail -n 100 /var/www/controlpanel/storage/logs/laravel.log | nc pteropaste.com 99
Installer: tail -n 100 /var/www/controlpanel/public/install/logs/installer.log | nc pteropaste.com 99
(NGINX: Are usually in /var/log/nginx/ and got the (sub)domain in the name. There are error and access logs)
And check howbto get logs
Can you please fetch the error logs, so we can assist you better regarding this error.
tail -n 100 /var/www/controlpanel/storage/logs/laravel.log | nc pteropaste.com 99
You haven’t specified the application encryption key!
You can generate one using php artisan key:generate --force
This is one of the first steps in the installation guide.
Please read the docs carefully while installing this panel so you don’t miss any steps; this might save you a lot of time and frustration :)
https://CtrlPanel.gg/docs/Installation/getting-started
Habe nur noch folgenden Fehler:
[2023-07-17 11:25:05] production.ERROR: Settings Error: Could not load settings from database. The Installation probably is not done yet.
[2023-07-17 11:25:05] production.ERROR: ErrorException: file_put_contents(/var/www/controlpanel/storage/framework/cache/data/ee/2f/ee2f842aa7bb1f53edf3a2ed2c09a1807ffa6c90): Failed to open stream: Permission denied in /var/www/controlpanel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:190
Stack trace: