Package Details: koel 5.1.14-1

Git Clone URL: https://aur.archlinux.org/koel.git (read-only, click to copy)
Package Base: koel
Description: A personal music streaming server that works.
Upstream URL: https://koel.dev/
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

1 2 Next › Last »

dreieck commented on 2024-04-30 08:44 (UTC)

As of 2024-01-09, upstream is at version 6.12.1.

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

   UnexpectedValueException 

  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 :)

pkgname=koel
pkgver=5.1.12
pkgrel=1
pkgdesc="A personal music streaming server that works."
arch=('any')
url="https://koel.dev/"
license=('MIT')
depends=(php php-sqlite python3 mysql openssl)
makedepends=(composer nodejs yarn)
backup=('usr/share/webapps/koel/.env')
install="${pkgname}.install"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha512sums=('79d45c06c3b948fcd99f5ab0c3bb14b39b21594a3a3f0cb26bbdbb438c88f0011e064c3a10039ebee32add94fd5b5b84d9c41f3dcc0e400409ab37ad921fd817')

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 https://github.com/koel/koel/issues/1407 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().
    Aborting...
 -> 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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,6 +22,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/phanan/${pkgname}/archi
 sha512sums=('b3ae40db2839f9b411716428203f595ca685ea2d87599c0704fb271446126c998a96cecb21d864d0269f41f23e9b16c0202f95647eee82ecc7d8c16fe49874ed')

 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"
 }