Install failed on v0.11.13
7shironana opened this issue · comments
Nana commented
I tried a fresh install of Pixelfed. However, when I run the composer install command I get the following error:
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Illuminate\Database\QueryException
SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: NO) (Connection: mysql, SQL: select * from `config_cache` where `k` = pixelfed.oauth_enabled limit 1)
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:829
825▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
826▕ );
827▕ }
828▕
➜ 829▕ throw new QueryException(
830▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
831▕ );
832▕ }
833▕ }
1 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation\{closure}()
+20 vendor frames
22 app/Services/ConfigCacheService.php:153
Illuminate\Database\Eloquent\Builder::first()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
It seems that the installation command references the config_cache table before creating the database table.
This problem was resolved by reverting to v0.11.12 and installing it.
It may be degraded, so please fix it.