Package Details: funkwhale 1.2.1-3

Git Clone URL: https://aur.archlinux.org/funkwhale.git (read-only, click to copy)
Package Base: funkwhale
Description: A community-driven project that lets you listen and share music and audio within a decentralized, open network.
Upstream URL: https://funkwhale.audio/
Licenses: GPL3
Conflicts: funkwhale-venv
Provides: funkwhale
Submitter: getzze
Maintainer: getzze
Last Packager: getzze
Votes: 3
Popularity: 0.026660
First Submitted: 2018-11-03 23:41 (UTC)
Last Updated: 2022-05-07 22:30 (UTC)

Pinned Comments

getzze commented on 2022-05-07 22:32 (UTC)

As it is too hard to maintain compatibilities of the dependencies, I am switching to funkwhale-venv that installs dependencies with pinned version in a virtualenv using pip: https://aur.archlinux.org/packages/funkwhale-venv

getzze commented on 2018-11-05 09:29 (UTC) (edited on 2018-11-05 09:30 (UTC) by getzze)

Follow the instructions on the wiki [https://wiki.archlinux.org/index.php/Funkwhale] or on the official documentation to finish the installation and configure your instance.

Latest Comments

getzze commented on 2022-05-07 22:32 (UTC)

As it is too hard to maintain compatibilities of the dependencies, I am switching to funkwhale-venv that installs dependencies with pinned version in a virtualenv using pip: https://aur.archlinux.org/packages/funkwhale-venv

clarfonthey commented on 2022-05-04 00:40 (UTC)

It appears that Django 4 breaks Funkwhale due to the removal of ugettext; it seems like it's either the point to use separate Django 3 packages, or vendor in the dependencies for this package.

xeruf commented on 2022-01-17 20:45 (UTC) (edited on 2022-01-17 20:45 (UTC) by xeruf)

Still failing checksums on nginx template:

  -> Found funkwhale.service
  -> Found funkwhale-beat.service
  -> Found funkwhale-server.service
  -> Found funkwhale-worker.service
  -> Found apache-funkwhale.conf
  -> Found env-template
==> Validating source files with sha256sums...
    funkwhale-1.2.1-api.zip ... Passed
    funkwhale-1.2.1-front.zip ... Passed
    funkwhale_proxy.conf ... Passed
    nginx.template ... FAILED
    funkwhale.service ... Passed
    funkwhale-beat.service ... Passed
    funkwhale-server.service ... Passed
    funkwhale-worker.service ... Passed
    apache-funkwhale.conf ... Passed
    env-template ... Passed
==> ERROR: One or more files did not pass the validity check!

clarfonthey commented on 2021-12-22 18:57 (UTC) (edited on 2022-01-02 21:49 (UTC) by clarfonthey)

The current PKGBUILD modifies nginx.template in-place after it's downloaded, which causes the integrity check to fail if the build is attempted more than one time. It would make the most sense to write the changes to a different file so this doesn't occur, like this:

diff --git a/PKGBUILD b/PKGBUILD
index cc9c12d..def9c3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -97,9 +97,9 @@ install=${pkgname}.install
 prepare() {
   cd "$srcdir"
   ## change path of proxy parameters
-  sed -id 's#/etc/nginx/funkwhale_proxy.conf#/etc/webapps/funkwhale/funkwhale_proxy.conf#' nginx.template
+  sed 's#/etc/nginx/funkwhale_proxy.conf#/etc/webapps/funkwhale/funkwhale_proxy.conf#' nginx.template > nginx.template.patched
   ## remove http2, as it is not always working
-  sed -id 's#443 ssl http2;#443 ssl;#' nginx.template
+  sed 's#443 ssl http2;#443 ssl;#' nginx.template > nginx.template.patched
 }

 build() {
@@ -121,7 +121,7 @@ package() {

   install -d "$pkgdir"/etc/webapps/${pkgname}/config
   install -Dm644 funkwhale_proxy.conf "$pkgdir"/etc/webapps/${pkgname}/.
-  install -Dm644 nginx.template "$pkgdir"/etc/webapps/${pkgname}/.
+  install -Dm644 nginx.template.patched "$pkgdir"/etc/webapps/${pkgname}/nginx.template
   install -Dm644 apache-funkwhale.conf "$pkgdir"/etc/webapps/${pkgname}/.
   install -Dm644 env-template "$pkgdir"/etc/webapps/${pkgname}/env.template

getzze commented on 2021-12-04 23:48 (UTC)

I updated to 1.1.4, but it needs two tricks: install a patched package python-asgiref_patch (in AUR) and manually update python-celery (and python-kombu) to version 5.2 (see https://bugs.archlinux.org/task/70972?project=5&string=python-celery).

clarfonthey commented on 2021-11-21 21:17 (UTC)

The dependency python-feedparser-dev doesn't exist; this should be python-feedparser.

xeruf commented on 2021-10-05 10:39 (UTC) (edited on 2021-10-05 10:40 (UTC) by xeruf)

Little PKGBUILD hint - you should be able to replace

  install -Dm644 funkwhale.service "$pkgdir/usr/lib/systemd/system/funkwhale.service"
  install -Dm644 funkwhale-beat.service "$pkgdir/usr/lib/systemd/system/funkwhale-beat.service"
  install -Dm644 funkwhale-worker.service "$pkgdir/usr/lib/systemd/system/funkwhale-worker.service"
  install -Dm644 funkwhale-server.service "$pkgdir/usr/lib/systemd/system/funkwhale-server.service"

with

  install -Dm644 *.service "$pkgdir/usr/lib/systemd/system/"

getzze commented on 2021-09-10 15:26 (UTC) (edited on 2021-10-07 22:30 (UTC) by getzze)

python-celery>=5.2 (compatible with python-click>=8) is needed for the funkwhale 1.1.x. Waiting for this and another bug correction in python-asgiref (https://github.com/django/asgiref/issues/278) to update.

getzze commented on 2021-09-10 15:22 (UTC)

mod_xsendfile is needed only if you are using Apache, it's not needed if you are using Nginx. I made it an optional dependency.

bittin commented on 2021-06-09 13:09 (UTC)

Any chance to get this working on ALARM Arch Linux ARM: mod_xsendfile dependency is missing

getzze commented on 2020-08-19 08:32 (UTC)

I found this page related to this error: https://bbs.archlinux.org/viewtopic.php?id=237221 Any other error when building the package? The env file should be installed correctly.

King_DuckZ commented on 2020-08-06 21:51 (UTC)

During installation I'm getting an error:

(3/4) Creating temporary files... error: command failed to execute correctly (4/4) Arming ConditionNeedsUpdate...

I also don't have the env file (maybe a consequence of the above error?)

getzze commented on 2019-08-20 22:27 (UTC)

python-pyld was flagged out-of-date, it should be updated to the correct version soon. Funkwhale is a young project that is using cutting-edge libraries (and a lot of them!), it is difficult to keep pace, even on Arch that is rolling-release. Upstream advises to use Docker installation to avoid dependency problems. Using this package you will have to manually update dependencies sometimes, but with a good AUR helper it is not so complicated, for python dependencies you usually only have to change the pkgver in the PKGBUILD.

JCaesar commented on 2019-08-18 06:03 (UTC)

When trying aur sync funkwhale, this failed with a

invalid node: python-pyld 0.7.1 (required: >=1.0.4)

I ended up patching the pyld build [https://github.com/jcaesar/python-pyld-archlinux] and installing it with repo-add $(aur repo).tar python-pyld-1.0.5-0-any.pkg.tar.xz, but that can hardly be the normal way of doing it?

fryfrog commented on 2019-03-14 05:39 (UTC)

This also depends on python-django-rest-framework which hasn't been updated to the version you require. :(

getzze commented on 2019-02-22 00:00 (UTC)

In v0.18, the default ip address changed to 127.0.0.1, the env file is now stored in /srv/funkwhale/config/env and file permissions changed. Follow the new instructions on the wiki.

Superpiffer commented on 2019-02-05 11:42 (UTC)

The package is outdated. Also on first installation, the user "funkwhale" doesn't exist, so the build failed.

getzze commented on 2018-11-05 09:29 (UTC) (edited on 2018-11-05 09:30 (UTC) by getzze)

Follow the instructions on the wiki [https://wiki.archlinux.org/index.php/Funkwhale] or on the official documentation to finish the installation and configure your instance.