[GH-ISSUE #1407] Unable to install on Arch Linux #804

Closed
opened 2026-02-26 02:34:19 +03:00 by kerem · 4 comments
Owner

Originally created by @xeruf on GitHub (Jan 17, 2022).
Original GitHub issue: https://github.com/koel/koel/issues/1407

As in package https://aur.archlinux.org/packages/koel

After downloading and unpacking the latest release, I get the following errors:

❯ composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - Root composer.json requires PHP extension ext-exif * but it is missing from your system. Install or enable PHP's exif extension.
  Problem 2
    - teamtnt/tntsearch is locked to version v2.7.0 and an update of this package was not requested.
    - teamtnt/tntsearch v2.7.0 requires ext-pdo_sqlite * -> it is missing from your system. Install or enable PHP's pdo_sqlite extension.
  Problem 3
    - teamtnt/tntsearch v2.7.0 requires ext-pdo_sqlite * -> it is missing from your system. Install or enable PHP's pdo_sqlite extension.
    - teamtnt/laravel-scout-tntsearch-driver v11.5.0 requires teamtnt/tntsearch 2.7.0 -> satisfiable by teamtnt/tntsearch[v2.7.0].
    - teamtnt/laravel-scout-tntsearch-driver is locked to version v11.5.0 and an update of this package was not requested.

To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-exif --ignore-platform-req=ext-pdo_sqlite --ignore-platform-req=ext-pdo_sqlite` to temporarily ignore these required extensions.
❯ composer update
> @php artisan clear-compiled
PHP Warning:  require(/home/janek/.local/cache/yay/koel/src/koel-5.1.12/bootstrap/../vendor/autoload.php): Failed to open stream: No such file or directory in /home/janek/.local/cache/yay/koel/src/koel-5.1.12/bootstrap/autoload.php on line 15
PHP Fatal error:  Uncaught Error: Failed opening required '/home/janek/.local/cache/yay/koel/src/koel-5.1.12/bootstrap/../vendor/autoload.php' (include_path='.:') in /home/janek/.local/cache/yay/koel/src/koel-5.1.12/bootstrap/autoload.php:15
Stack trace:
#0 /home/janek/.local/cache/yay/koel/src/koel-5.1.12/artisan(16): require()
#1 {main}
  thrown in /home/janek/.local/cache/yay/koel/src/koel-5.1.12/bootstrap/autoload.php on line 15
Script @php artisan clear-compiled handling the pre-update-cmd event returned with error code 255
Originally created by @xeruf on GitHub (Jan 17, 2022). Original GitHub issue: https://github.com/koel/koel/issues/1407 As in package https://aur.archlinux.org/packages/koel After downloading and unpacking the latest release, I get the following errors: ```sh ❯ composer install Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 - Root composer.json requires PHP extension ext-exif * but it is missing from your system. Install or enable PHP's exif extension. Problem 2 - teamtnt/tntsearch is locked to version v2.7.0 and an update of this package was not requested. - teamtnt/tntsearch v2.7.0 requires ext-pdo_sqlite * -> it is missing from your system. Install or enable PHP's pdo_sqlite extension. Problem 3 - teamtnt/tntsearch v2.7.0 requires ext-pdo_sqlite * -> it is missing from your system. Install or enable PHP's pdo_sqlite extension. - teamtnt/laravel-scout-tntsearch-driver v11.5.0 requires teamtnt/tntsearch 2.7.0 -> satisfiable by teamtnt/tntsearch[v2.7.0]. - teamtnt/laravel-scout-tntsearch-driver is locked to version v11.5.0 and an update of this package was not requested. To enable extensions, verify that they are enabled in your .ini files: - /etc/php/php.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-exif --ignore-platform-req=ext-pdo_sqlite --ignore-platform-req=ext-pdo_sqlite` to temporarily ignore these required extensions. ❯ composer update > @php artisan clear-compiled PHP Warning: require(/home/janek/.local/cache/yay/koel/src/koel-5.1.12/bootstrap/../vendor/autoload.php): Failed to open stream: No such file or directory in /home/janek/.local/cache/yay/koel/src/koel-5.1.12/bootstrap/autoload.php on line 15 PHP Fatal error: Uncaught Error: Failed opening required '/home/janek/.local/cache/yay/koel/src/koel-5.1.12/bootstrap/../vendor/autoload.php' (include_path='.:') in /home/janek/.local/cache/yay/koel/src/koel-5.1.12/bootstrap/autoload.php:15 Stack trace: #0 /home/janek/.local/cache/yay/koel/src/koel-5.1.12/artisan(16): require() #1 {main} thrown in /home/janek/.local/cache/yay/koel/src/koel-5.1.12/bootstrap/autoload.php on line 15 Script @php artisan clear-compiled handling the pre-update-cmd event returned with error code 255 ```
kerem closed this issue 2026-02-26 02:34:19 +03:00
Author
Owner

@xeruf commented on GitHub (Jan 17, 2022):

Alright, after enabling all required modules in php.ini and installing php-sqlite it installs, but get the following error now

> @php artisan clear-compiled
Compiled services and packages files removed!
> @php artisan cache:clear
Failed to clear cache. Make sure you have the appropriate permissions.
> @php -r "if (!file_exists('.env')) copy('.env.example', '.env');"
<!-- gh-comment-id:1014643706 --> @xeruf commented on GitHub (Jan 17, 2022): Alright, after enabling all required modules in `php.ini` and installing `php-sqlite` it installs, but get the following error now ```sh > @php artisan clear-compiled Compiled services and packages files removed! > @php artisan cache:clear Failed to clear cache. Make sure you have the appropriate permissions. > @php -r "if (!file_exists('.env')) copy('.env.example', '.env');" ```
Author
Owner

@xeruf commented on GitHub (Jan 17, 2022):

Following extensions had to be uncommented: pdo_sqlite, sqlite3, exif

<!-- gh-comment-id:1014646166 --> @xeruf commented on GitHub (Jan 17, 2022): Following extensions had to be uncommented: pdo_sqlite, sqlite3, exif
Author
Owner

@Sacha-Ringenbach commented on GitHub (Feb 26, 2022):

Run PHP artisan cache:clear as sudo, if you want to manually clear the cache, I think it is located at (Koel root)/storage/data/cache or something similar.

Check if you have the rights permissions on the folder while you are there.

<!-- gh-comment-id:1052227109 --> @Sacha-Ringenbach commented on GitHub (Feb 26, 2022): Run PHP artisan cache:clear as sudo, if you want to manually clear the cache, I think it is located at (Koel root)/storage/data/cache or something similar. Check if you have the rights permissions on the folder while you are there.
Author
Owner

@phanan commented on GitHub (May 16, 2022):

I'm not familiar with Arch Linux, sorry :(

<!-- gh-comment-id:1127922692 --> @phanan commented on GitHub (May 16, 2022): I'm not familiar with Arch Linux, sorry :(
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#804
No description provided.