Package Details: koel 5.1.14-1

Git Clone URL: (read-only, click to copy)
Package Base: koel
Description: A personal music streaming server that works.
Upstream URL:
Licenses: MIT
Submitter: onny
Maintainer: None
Last Packager: BachoSeven
Votes: 1
Popularity: 0.000000
First Submitted: 2018-10-13 15:17 (UTC)
Last Updated: 2022-04-13 15:04 (UTC)

Latest Comments

xeruf commented on 2022-11-21 17:52 (UTC)

Koel has a fresh interface, but few features, so I am leaving in favor of Ampache :)

xeruf commented on 2022-01-21 13:54 (UTC)

Am I supposed to use sudo or chown the directory?

❯ php artisan koel:init --no-assets --verbose


  There is no existing directory at "/usr/share/webapps/koel/storage/logs" and it could not be created: Permission denied

  at vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:216
    212▕             set_error_handler([$this, 'customErrorHandler']);
    213▕             $status = mkdir($dir, 0777, true);
    214▕             restore_error_handler();
    215▕             if (false === $status && !is_dir($dir)) {
  ➜ 216▕                 throw new \UnexpectedValueException(sprintf('There is no existing directory at "%s" and it could not be created: '.$this->errorMessage, $dir));
    217▕             }
    218▕         }
    219▕         $this->dirCreated = true;
    220▕     }

xeruf commented on 2022-01-17 20:23 (UTC)

Sure, I maintain a few packages anyways and wasn't even aware of co-maintainership, so this sounds good :)

BachoSeven commented on 2022-01-17 17:16 (UTC)

@xeruf Thank you very much for figuring out which modules needed to be used! I updated the PKGBUILD and added you as a co-maintainer, feel free to remove yourself if you don't want it tho.

xeruf commented on 2022-01-17 15:13 (UTC) (edited on 2022-01-17 15:14 (UTC) by xeruf)

Here the updated working PKGBUILD :)

pkgdesc="A personal music streaming server that works."
depends=(php php-sqlite python3 mysql openssl)
makedepends=(composer nodejs yarn)

prepare() {
  cp "${srcdir}/${pkgname}-${pkgver}"/.env{.example,}
  sed -i 's|FFMPEG_PATH=/usr/local/bin/ffmpeg|FFMPEG_PATH=/usr/bin/ffmepg|g' "${srcdir}/${pkgname}-${pkgver}/.env.example"

build() {
  cd "$pkgname-$pkgver"
  echo "++ ENABLE THE FOLLOWING MODULES IN /etc/php/php.ini: pdo_sqlite, sqlite3, exif"
  php /usr/bin/composer install

package() {
  mkdir -p "${pkgdir}/usr/share/webapps"
  cp -r "${pkgname}-${pkgver}" "${pkgdir}/usr/share/webapps/${pkgname}"

xeruf commented on 2022-01-17 15:06 (UTC)

See Btw, there is a new version available

BachoSeven commented on 2022-01-16 21:40 (UTC)

@xeruf This package is broken atm, haven't figured out how to update it with all the right deps yet.

xeruf commented on 2022-01-16 17:31 (UTC)

Unable to compile:

==> Starting build()...
> @php artisan clear-compiled
PHP Warning:  require(/home/janek/.local/cache/yay/koel/src/koel-5.1.8/bootstrap/../vendor/autoload.php): Failed to open stream: No such file or directory in /home/janek/.local/cache/yay/koel/src/koel-5.1.8/bootstrap/autoload.php on line 15
PHP Fatal error:  Uncaught Error: Failed opening required '/home/janek/.local/cache/yay/koel/src/koel-5.1.8/bootstrap/../vendor/autoload.php' (include_path='.:') in /home/janek/.local/cache/yay/koel/src/koel-5.1.8/bootstrap/autoload.php:15
Stack trace:
#0 /home/janek/.local/cache/yay/koel/src/koel-5.1.8/artisan(16): require()
#1 {main}
  thrown in /home/janek/.local/cache/yay/koel/src/koel-5.1.8/bootstrap/autoload.php on line 15
Script @php artisan clear-compiled handling the pre-update-cmd event returned with error code 255
==> ERROR: A failure occurred in build().
 -> error making: koel

Azertyfun commented on 2019-08-29 21:40 (UTC)

This seems to fix the .env issue:

diff --git a/PKGBUILD b/PKGBUILD
index 15f207e..582a73e 100644
@@ -22,6 +22,7 @@ source=("${pkgname}-${pkgver}.tar.gz::${pkgname}/archi

 prepare() {
+       cp "${srcdir}/${pkgname}-${pkgver}"/.env{.example,}
        sed -i 's|FFMPEG_PATH=/usr/local/bin/ffmpeg|FFMPEG_PATH=/usr/bin/ffmepg|g' "${srcdir}/${pkgname}-${pkgver}/.env"

TimorLee commented on 2019-02-07 09:51 (UTC)

Hey, the install fails during prepare with the following error:

sed: can't read /home/[user]Downloads/cower/koel/src/koel-3.7.2/.env: No such file or directory

A fix would be appreciated! Cheers, and thanks for maintaining.