#Fehler bei der Installation

1 messages · Page 1 of 1 (latest)

opal hawkBOT
#

It looks like you are missing some important files in /vendor.
Please run composer install --no-dev --optimize-autoloader

jaunty token
#

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

jaunty token
#

i configured it now

#

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

opal hawkBOT
#

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)

torn garnet
#

And check howbto get logs

opal hawkBOT
# torn garnet 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

jaunty token
opal hawkBOT
jaunty token
#

i did all like the the installation tells me

#

wait

jaunty token
#

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: