Installation errors when using Composer 2
I tried to install Cosum on a Linux server that has
- PHP 7.4
- Composer 2.0.8
During installation I encountered two problems:
- Composer seems to be too recent when running
php artisan migrate(cf. https://github.com/composer/composer/issues/9340). I updated laravel/framework and illuminate/foundation as indicated in the Github issue.
php artisan migrateleads to the next error: "CreateBansTable" is already defined (file
2018_10_22_000000_create_bans_table.php). I removed the file from
database/migrationsand now the migration finishes without errors. The bans table is present in the database.
In my opinion, the installation instructions should be improved too. Someone who is not familiar with setting up Laravel applications, like me, might have a hard time to get the application to run. I will put this into a separate issue.