Giter VIP home page Giter VIP logo

funkwhale_ynh's Introduction

Funkwhale for YunoHost

Integration level Working status Maintenance status

Install Funkwhale with YunoHost

Read this README in other languages.

This package allows you to install Funkwhale quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Funkwhale is a community-driven project that lets you listen and share music and audio within a decentralized, open network.

Shipped version: 1.4.0~ynh1

Demo: https://demo.funkwhale.audio

Screenshots

Screenshot of Funkwhale

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/funkwhale_ynh/tree/testing --debug
or
sudo yunohost app upgrade funkwhale -u https://github.com/YunoHost-Apps/funkwhale_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

funkwhale_ynh's People

Contributors

alexaubin avatar ericgaspar avatar gannontdw avatar jibec avatar lightnin avatar ndarilek avatar opi avatar pierluigi avatar rodinux avatar salamandar avatar sporiff avatar stilobique avatar thovi98 avatar tituspijean avatar yalh76 avatar yunohost-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

funkwhale_ynh's Issues

Update impossible due to backup failure

Hi @Jibec ,
I have a problem when I try to update the application from version 0.17 to version 0.18 via the yunohost web page, the installation stops with these lines in the logs:

2019-01-29 11:16:14,048: WARNING - The output directory is not empty
2019-01-29 11:16:14,152: WARNING - Backup failed, the upgrade process was aborted.
2019-01-29 11:16:14,277: ERROR - Impossible de mettre à jour funkwhale

Force https

Hi
The app don't get forced to https.

if ($scheme = http) {
        rewrite ^ https://$server_name$request_uri? permanent;
    }

is missing in the nginx.

PermissionError [Errno 13]

Hi, i have got this error when trying a CLI import through a symbolic link.

Error while importing /var/www/funkwhale/import/**** PermissionError [Errno 13] Permission denied '/var/www/funkwhale/media/albm/covers/***'

The files are imported but without the picture
The error isn't occuring on all files i don't know why (some files are imported with picture).

Not sure if related with #68

jessie-backports is not signed

During the funkwhale install, a backport is added :

# add backports (required to install ffmpeg)

This backport then produce some warnings after apt-get update which is not reassuring for unexperimented user like me :)

W: GPG error: http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
W: The repository 'http://httpredir.debian.org/debian jessie-backports InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I am using a raspberry pi on stretch (yunohost 3.0).

Cache setting should not be done in domain.conf

Hi
I hope you are doing good.
I tried to upgrade funkwhale and it failed along with the restore failure too. The cache lines you are trying to enter at /etc/nginx/conf.d/domain.tld.conf is giving error.
https://github.com/YunoHost-Apps/funkwhale_ynh/blob/master/scripts/install#L114-L124

Cache setting should not be done in /etc/nginx/conf.d/domain.tld.conf because every time yunohost gets updated this files is forced to get the setting of yunohost nginx template which will keep braking the app on every yunohost update.

Best solution is to put the cache file by creating a new file /etc/nginx/conf.d/$app-cache.conf and insert the lines here. Its easy to manage and will also not break yunohost every time new yunohost version is pushed.

Thanks

change UI upload size limit

Hello everyone,

What would be the right way on a YunoHost install of Funkwhale to change the size limit when uploading a music file from the UI ? Now it's 32MB.

Thanks!

Upgrade to version 0.17 failing in testing branch

Hi I tried to upgrade from testing branch to version 0.17 but its failing. Here is the log:

117542 WARNING Cache entry deserialization failed, entry ignored
117746 DEBUG Requirement already up-to-date: pip in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (18.0)
118749 DEBUG + pip install --upgrade setuptools
119454 WARNING Cache entry deserialization failed, entry ignored
120056 DEBUG Collecting setuptools
120466 DEBUG   Using cached https://files.pythonhosted.org/packages/96/06/c8ee69628191285ddddffb277bd5abdf769166e7a14b867c2a172f0175b1/setuptools-40.4.3-py2.py3-none-any.whl
121388 DEBUG Installing collected packages: setuptools
121395 DEBUG   Found existing installation: setuptools 40.2.0
121495 DEBUG     Uninstalling setuptools-40.2.0:
121496 DEBUG       Successfully uninstalled setuptools-40.2.0
121997 DEBUG Successfully installed setuptools-40.4.3
122099 DEBUG + pip install wheel
122701 DEBUG Requirement already satisfied: wheel in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (0.31.1)
123603 DEBUG + pip install -r /var/www/funkwhale/api/requirements.txt
124206 DEBUG Collecting git+https://github.com/EliotBerriot/PyMemoize.git@django (from -r /var/www/funkwhale/api/requirements/base.txt (line 52))
124206 DEBUG   Cloning https://github.com/EliotBerriot/PyMemoize.git (to revision django) to /tmp/pip-req-build-fbjs935n
125618 DEBUG Requirement already satisfied (use --upgrade to upgrade): PyMemoize==1.0.2 from git+https://github.com/EliotBerriot/PyMemoize.git@django in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 52))
125618 DEBUG Collecting git+https://github.com/EliotBerriot/requests-http-signature.git@signature-header-support (from -r /var/www/funkwhale/api/requirements/base.txt (line 66))
125618 DEBUG   Cloning https://github.com/EliotBerriot/requests-http-signature.git (to revision signature-header-support) to /tmp/pip-req-build-vcakm8am
127128 DEBUG Requirement already satisfied (use --upgrade to upgrade): requests-http-signature==0.0.3 from git+https://github.com/EliotBerriot/requests-http-signature.git@signature-header-support in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 66))
127129 DEBUG Requirement already satisfied: django<2.1,>=2.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 2)) (2.0.6)
127129 DEBUG Requirement already satisfied: django-environ<0.5,>=0.4 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 5)) (0.4.5)
127129 DEBUG Requirement already satisfied: whitenoise<3.4,>=3.3 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 6)) (3.3.1)
127130 DEBUG Requirement already satisfied: Pillow<4.4,>=4.3 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 9)) (4.3.0)
127230 DEBUG Requirement already satisfied: django-allauth<0.37,>=0.36 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 13)) (0.36.0)
127231 DEBUG Requirement already satisfied: psycopg2-binary<=2.8,>=2.7 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 17)) (2.7.5)
127231 DEBUG Requirement already satisfied: pytz==2017.3 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 20)) (2017.3)
127231 DEBUG Requirement already satisfied: django-redis<4.6,>=4.5 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 23)) (4.5.0)
127231 DEBUG Requirement already satisfied: redis<2.11,>=2.10 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 24)) (2.10.6)
127231 DEBUG Requirement already satisfied: celery<4.2,>=4.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 27)) (4.1.1)
127332 DEBUG Requirement already satisfied: django-cors-headers<2.2,>=2.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 31)) (2.1.0)
127332 DEBUG Requirement already satisfied: musicbrainzngs==0.6 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 32)) (0.6)
127332 DEBUG Requirement already satisfied: youtube_dl>=2017.12.14 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 33)) (2018.6.25)
127333 DEBUG Requirement already satisfied: djangorestframework<3.8,>=3.7 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 34)) (3.7.7)
127333 DEBUG Requirement already satisfied: djangorestframework-jwt<1.12,>=1.11 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 35)) (1.11.0)
127333 DEBUG Requirement already satisfied: oauth2client<4 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 36)) (3.0.0)
127333 DEBUG Requirement already satisfied: google-api-python-client<1.7,>=1.6 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 37)) (1.6.7)
127333 DEBUG Requirement already satisfied: pendulum<3,>=2 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 38)) (2.0.3)
127333 DEBUG Requirement already satisfied: persisting-theory<0.3,>=0.2 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 39)) (0.2.1)
127333 DEBUG Requirement already satisfied: django-versatileimagefield<1.10,>=1.9 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 40)) (1.9)
127334 DEBUG Requirement already satisfied: django-filter<1.2,>=1.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 41)) (1.1.0)
127334 DEBUG Requirement already satisfied: django-rest-auth<0.10,>=0.9 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 42)) (0.9.3)
127434 DEBUG Requirement already satisfied: beautifulsoup4<4.7,>=4.6 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 43)) (4.6.0)
127435 DEBUG Requirement already satisfied: Markdown<2.7,>=2.6 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 44)) (2.6.11)
127435 DEBUG Requirement already satisfied: ipython<7,>=6 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 45)) (6.4.0)
127435 DEBUG Requirement already satisfied: mutagen<1.40,>=1.39 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 46)) (1.39)
127435 DEBUG Requirement already satisfied: django-taggit<0.23,>=0.22 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 50)) (0.22.2)
127536 DEBUG Requirement already satisfied: django-dynamic-preferences<1.6,>=1.5 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 54)) (1.5.1)
127536 DEBUG Requirement already satisfied: pyacoustid<1.2,>=1.1.5 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 55)) (1.1.5)
127537 DEBUG Requirement already satisfied: raven<7,>=6.5 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 56)) (6.9.0)
127537 DEBUG Requirement already satisfied: python-magic==0.4.15 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 57)) (0.4.15)
127537 DEBUG Requirement already satisfied: ffmpeg-python==0.1.10 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 58)) (0.1.10)
127537 DEBUG Requirement already satisfied: channels<2.1,>=2 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 59)) (2.0.2)
127537 DEBUG Requirement already satisfied: channels_redis<2.2,>=2.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 60)) (2.1.1)
127638 DEBUG Requirement already satisfied: daphne==2.0.4 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 62)) (2.0.4)
127638 DEBUG Requirement already satisfied: cryptography<3,>=2 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 63)) (2.2.2)
127638 DEBUG Requirement already satisfied: django-cleanup==2.1.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from -r /var/www/funkwhale/api/requirements/base.txt (line 67)) (2.1.0)
127639 DEBUG Collecting python-ldap==3.1.0 (from -r /var/www/funkwhale/api/requirements/base.txt (line 70))
128140 DEBUG   Downloading https://files.pythonhosted.org/packages/7f/1c/28d721dff2fcd2fef9d55b40df63a00be26ec8a11e8c6fc612ae642f9cfd/python-ldap-3.1.0.tar.gz (366kB)
128743 DEBUG Collecting django-auth-ldap==1.7.0 (from -r /var/www/funkwhale/api/requirements/base.txt (line 71))
128844 DEBUG   Downloading https://files.pythonhosted.org/packages/c1/c4/e1586a835b5bf76d4d914f1622020ae9ab9d9be7149e216e19c8428670d1/django_auth_ldap-1.7.0-py2.py3-none-any.whl
128844 DEBUG Requirement already satisfied: requests in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from requests-http-signature==0.0.3->-r /var/www/funkwhale/api/requirements/base.txt (line 66)) (2.19.1)
128845 DEBUG Requirement already satisfied: olefile in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from Pillow<4.4,>=4.3->-r /var/www/funkwhale/api/requirements/base.txt (line 9)) (0.45.1)
128845 DEBUG Requirement already satisfied: requests-oauthlib>=0.3.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from django-allauth<0.37,>=0.36->-r /var/www/funkwhale/api/requirements/base.txt (line 13)) (1.0.0)
128945 DEBUG Requirement already satisfied: python3-openid>=3.0.8 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from django-allauth<0.37,>=0.36->-r /var/www/funkwhale/api/requirements/base.txt (line 13)) (3.1.0)
128946 DEBUG Requirement already satisfied: kombu<5.0,>=4.2.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from celery<4.2,>=4.1->-r /var/www/funkwhale/api/requirements/base.txt (line 27)) (4.2.1)
128946 DEBUG Requirement already satisfied: billiard<3.6.0,>=3.5.0.2 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from celery<4.2,>=4.1->-r /var/www/funkwhale/api/requirements/base.txt (line 27)) (3.5.0.3)
128946 DEBUG Requirement already satisfied: PyJWT<2.0.0,>=1.5.2 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from djangorestframework-jwt<1.12,>=1.11->-r /var/www/funkwhale/api/requirements/base.txt (line 35)) (1.6.4)
128946 DEBUG Requirement already satisfied: rsa>=3.1.4 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from oauth2client<4->-r /var/www/funkwhale/api/requirements/base.txt (line 36)) (3.4.2)
128946 DEBUG Requirement already satisfied: pyasn1>=0.1.7 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from oauth2client<4->-r /var/www/funkwhale/api/requirements/base.txt (line 36)) (0.4.3)
128947 DEBUG Requirement already satisfied: httplib2>=0.9.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from oauth2client<4->-r /var/www/funkwhale/api/requirements/base.txt (line 36)) (0.11.3)
128947 DEBUG Requirement already satisfied: pyasn1-modules>=0.0.5 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from oauth2client<4->-r /var/www/funkwhale/api/requirements/base.txt (line 36)) (0.2.2)
128947 DEBUG Requirement already satisfied: six>=1.6.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from oauth2client<4->-r /var/www/funkwhale/api/requirements/base.txt (line 36)) (1.11.0)
128947 DEBUG Requirement already satisfied: uritemplate<4dev,>=3.0.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from google-api-python-client<1.7,>=1.6->-r /var/www/funkwhale/api/requirements/base.txt (line 37)) (3.0.0)
128947 DEBUG Requirement already satisfied: pytzdata>=2018.3 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from pendulum<3,>=2->-r /var/www/funkwhale/api/requirements/base.txt (line 38)) (2018.5)
128947 DEBUG Requirement already satisfied: python-dateutil<3.0,>=2.6 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from pendulum<3,>=2->-r /var/www/funkwhale/api/requirements/base.txt (line 38)) (2.7.3)
128947 DEBUG Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.15 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (1.0.15)
129048 DEBUG Requirement already satisfied: pickleshare in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (0.7.4)
129048 DEBUG Requirement already satisfied: pexpect; sys_platform != "win32" in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (4.6.0)
129050 DEBUG Requirement already satisfied: setuptools>=18.5 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (40.4.3)
129051 DEBUG Requirement already satisfied: decorator in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (4.3.0)
129051 DEBUG Requirement already satisfied: simplegeneric>0.8 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (0.8.1)
129051 DEBUG Requirement already satisfied: pygments in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (2.2.0)
129051 DEBUG Requirement already satisfied: backcall in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (0.1.0)
129051 DEBUG Requirement already satisfied: jedi>=0.10 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (0.12.1)
129052 DEBUG Requirement already satisfied: traitlets>=4.2 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (4.3.2)
129052 DEBUG Requirement already satisfied: audioread in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from pyacoustid<1.2,>=1.1.5->-r /var/www/funkwhale/api/requirements/base.txt (line 55)) (2.1.6)
129052 DEBUG Requirement already satisfied: future in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from ffmpeg-python==0.1.10->-r /var/www/funkwhale/api/requirements/base.txt (line 58)) (0.16.0)
129052 DEBUG Requirement already satisfied: asgiref~=2.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from channels<2.1,>=2->-r /var/www/funkwhale/api/requirements/base.txt (line 59)) (2.3.2)
129052 DEBUG Requirement already satisfied: msgpack~=0.5.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from channels_redis<2.2,>=2.1->-r /var/www/funkwhale/api/requirements/base.txt (line 60)) (0.5.6)
129052 DEBUG Requirement already satisfied: aioredis~=1.0.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from channels_redis<2.2,>=2.1->-r /var/www/funkwhale/api/requirements/base.txt (line 60)) (1.0.0)
129053 DEBUG Requirement already satisfied: twisted>=17.5 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from daphne==2.0.4->-r /var/www/funkwhale/api/requirements/base.txt (line 62)) (18.4.0)
129254 DEBUG Requirement already satisfied: autobahn>=0.18 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from daphne==2.0.4->-r /var/www/funkwhale/api/requirements/base.txt (line 62)) (18.6.1)
129355 DEBUG Requirement already satisfied: idna>=2.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from cryptography<3,>=2->-r /var/www/funkwhale/api/requirements/base.txt (line 63)) (2.7)
129356 DEBUG Requirement already satisfied: asn1crypto>=0.21.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from cryptography<3,>=2->-r /var/www/funkwhale/api/requirements/base.txt (line 63)) (0.24.0)
129356 DEBUG Requirement already satisfied: cffi>=1.7; platform_python_implementation != "PyPy" in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from cryptography<3,>=2->-r /var/www/funkwhale/api/requirements/base.txt (line 63)) (1.11.5)
129356 DEBUG Requirement already satisfied: urllib3<1.24,>=1.21.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from requests->requests-http-signature==0.0.3->-r /var/www/funkwhale/api/requirements/base.txt (line 66)) (1.23)
129357 DEBUG Requirement already satisfied: certifi>=2017.4.17 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from requests->requests-http-signature==0.0.3->-r /var/www/funkwhale/api/requirements/base.txt (line 66)) (2018.4.16)
129357 DEBUG Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from requests->requests-http-signature==0.0.3->-r /var/www/funkwhale/api/requirements/base.txt (line 66)) (3.0.4)
129357 DEBUG Requirement already satisfied: oauthlib>=0.6.2 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from requests-oauthlib>=0.3.0->django-allauth<0.37,>=0.36->-r /var/www/funkwhale/api/requirements/base.txt (line 13)) (2.1.0)
129358 DEBUG Requirement already satisfied: defusedxml in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from python3-openid>=3.0.8->django-allauth<0.37,>=0.36->-r /var/www/funkwhale/api/requirements/base.txt (line 13)) (0.5.0)
129358 DEBUG Requirement already satisfied: amqp<3.0,>=2.1.4 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from kombu<5.0,>=4.2.0->celery<4.2,>=4.1->-r /var/www/funkwhale/api/requirements/base.txt (line 27)) (2.3.2)
129358 DEBUG Requirement already satisfied: wcwidth in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from prompt-toolkit<2.0.0,>=1.0.15->ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (0.1.7)
129360 DEBUG Requirement already satisfied: ptyprocess>=0.5 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from pexpect; sys_platform != "win32"->ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (0.6.0)
129360 DEBUG Requirement already satisfied: parso>=0.3.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from jedi>=0.10->ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (0.3.0)
129360 DEBUG Requirement already satisfied: ipython-genutils in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from traitlets>=4.2->ipython<7,>=6->-r /var/www/funkwhale/api/requirements/base.txt (line 45)) (0.2.0)
129360 DEBUG Requirement already satisfied: async-timeout<4.0,>=2.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from asgiref~=2.1->channels<2.1,>=2->-r /var/www/funkwhale/api/requirements/base.txt (line 59)) (3.0.0)
129360 DEBUG Requirement already satisfied: hiredis in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from aioredis~=1.0.0->channels_redis<2.2,>=2.1->-r /var/www/funkwhale/api/requirements/base.txt (line 60)) (0.2.0)
129361 DEBUG Requirement already satisfied: incremental>=16.10.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from twisted>=17.5->daphne==2.0.4->-r /var/www/funkwhale/api/requirements/base.txt (line 62)) (17.5.0)
129461 DEBUG Requirement already satisfied: hyperlink>=17.1.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from twisted>=17.5->daphne==2.0.4->-r /var/www/funkwhale/api/requirements/base.txt (line 62)) (18.0.0)
129462 DEBUG Requirement already satisfied: zope.interface>=4.4.2 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from twisted>=17.5->daphne==2.0.4->-r /var/www/funkwhale/api/requirements/base.txt (line 62)) (4.5.0)
129462 DEBUG Requirement already satisfied: constantly>=15.1 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from twisted>=17.5->daphne==2.0.4->-r /var/www/funkwhale/api/requirements/base.txt (line 62)) (15.1.0)
129462 DEBUG Requirement already satisfied: Automat>=0.3.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from twisted>=17.5->daphne==2.0.4->-r /var/www/funkwhale/api/requirements/base.txt (line 62)) (0.7.0)
129462 DEBUG Requirement already satisfied: txaio>=2.10.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from autobahn>=0.18->daphne==2.0.4->-r /var/www/funkwhale/api/requirements/base.txt (line 62)) (2.10.0)
129462 DEBUG Requirement already satisfied: pycparser in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography<3,>=2->-r /var/www/funkwhale/api/requirements/base.txt (line 63)) (2.18)
129462 DEBUG Requirement already satisfied: vine>=1.1.3 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from amqp<3.0,>=2.1.4->kombu<5.0,>=4.2.0->celery<4.2,>=4.1->-r /var/www/funkwhale/api/requirements/base.txt (line 27)) (1.1.4)
129463 DEBUG Requirement already satisfied: attrs>=16.1.0 in /var/www/funkwhale/virtualenv/lib/python3.5/site-packages (from Automat>=0.3.0->twisted>=17.5->daphne==2.0.4->-r /var/www/funkwhale/api/requirements/base.txt (line 62)) (18.1.0)
129463 DEBUG Building wheels for collected packages: python-ldap, PyMemoize, requests-http-signature
129563 DEBUG   Running setup.py bdist_wheel for python-ldap: started
130367 DEBUG   Running setup.py bdist_wheel for python-ldap: finished with status 'error'
130367 WARNING   Failed building wheel for python-ldap
130367 DEBUG   Complete output from command /var/www/funkwhale/virtualenv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-fhftk299/python-ldap/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-p0qhli66 --python-tag cp35:
130367 DEBUG   running bdist_wheel
130369 DEBUG   running build
130369 DEBUG   running build_py
130369 DEBUG   creating build
130370 DEBUG   creating build/lib.linux-x86_64-3.5
130370 DEBUG   copying Lib/ldapurl.py -> build/lib.linux-x86_64-3.5
130370 DEBUG   copying Lib/ldif.py -> build/lib.linux-x86_64-3.5
130371 DEBUG   creating build/lib.linux-x86_64-3.5/ldap
130371 DEBUG   copying Lib/ldap/syncrepl.py -> build/lib.linux-x86_64-3.5/ldap
130372 DEBUG   copying Lib/ldap/filter.py -> build/lib.linux-x86_64-3.5/ldap
130372 DEBUG   copying Lib/ldap/modlist.py -> build/lib.linux-x86_64-3.5/ldap
130372 DEBUG   copying Lib/ldap/__init__.py -> build/lib.linux-x86_64-3.5/ldap
130372 DEBUG   copying Lib/ldap/resiter.py -> build/lib.linux-x86_64-3.5/ldap
130373 DEBUG   copying Lib/ldap/async.py -> build/lib.linux-x86_64-3.5/ldap
130373 DEBUG   copying Lib/ldap/constants.py -> build/lib.linux-x86_64-3.5/ldap
130373 DEBUG   copying Lib/ldap/dn.py -> build/lib.linux-x86_64-3.5/ldap
130373 DEBUG   copying Lib/ldap/asyncsearch.py -> build/lib.linux-x86_64-3.5/ldap
130373 DEBUG   copying Lib/ldap/ldapobject.py -> build/lib.linux-x86_64-3.5/ldap
130373 DEBUG   copying Lib/ldap/pkginfo.py -> build/lib.linux-x86_64-3.5/ldap
130374 DEBUG   copying Lib/ldap/sasl.py -> build/lib.linux-x86_64-3.5/ldap
130374 DEBUG   copying Lib/ldap/compat.py -> build/lib.linux-x86_64-3.5/ldap
130374 DEBUG   copying Lib/ldap/functions.py -> build/lib.linux-x86_64-3.5/ldap
130374 DEBUG   copying Lib/ldap/cidict.py -> build/lib.linux-x86_64-3.5/ldap
130375 DEBUG   copying Lib/ldap/logger.py -> build/lib.linux-x86_64-3.5/ldap
130375 DEBUG   creating build/lib.linux-x86_64-3.5/ldap/controls
130375 DEBUG   copying Lib/ldap/controls/pwdpolicy.py -> build/lib.linux-x86_64-3.5/ldap/controls
130375 DEBUG   copying Lib/ldap/controls/vlv.py -> build/lib.linux-x86_64-3.5/ldap/controls
130375 DEBUG   copying Lib/ldap/controls/__init__.py -> build/lib.linux-x86_64-3.5/ldap/controls
130376 DEBUG   copying Lib/ldap/controls/sss.py -> build/lib.linux-x86_64-3.5/ldap/controls
130376 DEBUG   copying Lib/ldap/controls/pagedresults.py -> build/lib.linux-x86_64-3.5/ldap/controls
130376 DEBUG   copying Lib/ldap/controls/openldap.py -> build/lib.linux-x86_64-3.5/ldap/controls
130376 DEBUG   copying Lib/ldap/controls/psearch.py -> build/lib.linux-x86_64-3.5/ldap/controls
130376 DEBUG   copying Lib/ldap/controls/ppolicy.py -> build/lib.linux-x86_64-3.5/ldap/controls
130377 DEBUG   copying Lib/ldap/controls/libldap.py -> build/lib.linux-x86_64-3.5/ldap/controls
130377 DEBUG   copying Lib/ldap/controls/simple.py -> build/lib.linux-x86_64-3.5/ldap/controls
130377 DEBUG   copying Lib/ldap/controls/readentry.py -> build/lib.linux-x86_64-3.5/ldap/controls
130377 DEBUG   copying Lib/ldap/controls/deref.py -> build/lib.linux-x86_64-3.5/ldap/controls
130377 DEBUG   copying Lib/ldap/controls/sessiontrack.py -> build/lib.linux-x86_64-3.5/ldap/controls
130384 DEBUG   creating build/lib.linux-x86_64-3.5/ldap/extop
130385 DEBUG   copying Lib/ldap/extop/__init__.py -> build/lib.linux-x86_64-3.5/ldap/extop
130385 DEBUG   copying Lib/ldap/extop/dds.py -> build/lib.linux-x86_64-3.5/ldap/extop
130385 DEBUG   creating build/lib.linux-x86_64-3.5/ldap/schema
130385 DEBUG   copying Lib/ldap/schema/tokenizer.py -> build/lib.linux-x86_64-3.5/ldap/schema
130385 DEBUG   copying Lib/ldap/schema/__init__.py -> build/lib.linux-x86_64-3.5/ldap/schema
130386 DEBUG   copying Lib/ldap/schema/models.py -> build/lib.linux-x86_64-3.5/ldap/schema
130386 DEBUG   copying Lib/ldap/schema/subentry.py -> build/lib.linux-x86_64-3.5/ldap/schema
130386 DEBUG   creating build/lib.linux-x86_64-3.5/slapdtest
130386 DEBUG   copying Lib/slapdtest/__init__.py -> build/lib.linux-x86_64-3.5/slapdtest
130386 DEBUG   copying Lib/slapdtest/_slapdtest.py -> build/lib.linux-x86_64-3.5/slapdtest
130387 DEBUG   running egg_info
130387 DEBUG   writing dependency_links to Lib/python_ldap.egg-info/dependency_links.txt
130387 DEBUG   writing top-level names to Lib/python_ldap.egg-info/top_level.txt
130387 DEBUG   writing requirements to Lib/python_ldap.egg-info/requires.txt
130387 DEBUG   writing Lib/python_ldap.egg-info/PKG-INFO
130388 DEBUG   reading manifest file 'Lib/python_ldap.egg-info/SOURCES.txt'
130388 DEBUG   reading manifest template 'MANIFEST.in'
130388 DEBUG   no previously-included directories found matching 'Doc/.build'
130388 DEBUG   writing manifest file 'Lib/python_ldap.egg-info/SOURCES.txt'
130389 DEBUG   creating build/lib.linux-x86_64-3.5/slapdtest/certs
130389 DEBUG   copying Lib/slapdtest/certs/README -> build/lib.linux-x86_64-3.5/slapdtest/certs
130389 DEBUG   copying Lib/slapdtest/certs/ca.conf -> build/lib.linux-x86_64-3.5/slapdtest/certs
130389 DEBUG   copying Lib/slapdtest/certs/ca.pem -> build/lib.linux-x86_64-3.5/slapdtest/certs
130389 DEBUG   copying Lib/slapdtest/certs/client.conf -> build/lib.linux-x86_64-3.5/slapdtest/certs
130390 DEBUG   copying Lib/slapdtest/certs/client.key -> build/lib.linux-x86_64-3.5/slapdtest/certs
130390 DEBUG   copying Lib/slapdtest/certs/client.pem -> build/lib.linux-x86_64-3.5/slapdtest/certs
130391 DEBUG   copying Lib/slapdtest/certs/gencerts.sh -> build/lib.linux-x86_64-3.5/slapdtest/certs
130391 DEBUG   copying Lib/slapdtest/certs/gennssdb.sh -> build/lib.linux-x86_64-3.5/slapdtest/certs
130391 DEBUG   copying Lib/slapdtest/certs/server.conf -> build/lib.linux-x86_64-3.5/slapdtest/certs
130391 DEBUG   copying Lib/slapdtest/certs/server.key -> build/lib.linux-x86_64-3.5/slapdtest/certs
130391 DEBUG   copying Lib/slapdtest/certs/server.pem -> build/lib.linux-x86_64-3.5/slapdtest/certs
130391 DEBUG   running build_ext
130392 DEBUG   building '_ldap' extension
130392 DEBUG   creating build/temp.linux-x86_64-3.5
130392 DEBUG   creating build/temp.linux-x86_64-3.5/Modules
130392 DEBUG   x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=3.1.0 -DLDAPMODULE_AUTHOR=python-ldap project -DLDAPMODULE_LICENSE=Python style -IModules -I/var/www/funkwhale/virtualenv/include -I/usr/include/python3.5m -c Modules/LDAPObject.c -o build/temp.linux-x86_64-3.5/Modules/LDAPObject.o
130392 DEBUG   In file included from Modules/LDAPObject.c:8:0:
130392 DEBUG   Modules/constants.h:7:18: fatal error: lber.h: No such file or directory
130392 DEBUG    #include "lber.h"
130393 DEBUG                     ^
130393 DEBUG   compilation terminated.
130393 DEBUG   error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
130393 DEBUG 
130393 DEBUG   ----------------------------------------
130393 DEBUG   Running setup.py clean for python-ldap
130694 DEBUG   Running setup.py bdist_wheel for PyMemoize: started
131196 DEBUG   Running setup.py bdist_wheel for PyMemoize: finished with status 'done'
131196 DEBUG   Stored in directory: /tmp/pip-ephem-wheel-cache-al600hpb/wheels/de/ec/01/18532f88e57cfc49033464f9e660c52b9d8852adac96368d5b
131197 DEBUG   Running setup.py bdist_wheel for requests-http-signature: started
131798 DEBUG   Running setup.py bdist_wheel for requests-http-signature: finished with status 'done'
131799 DEBUG   Stored in directory: /tmp/pip-ephem-wheel-cache-al600hpb/wheels/90/32/9f/de9d8b532678be03cf6b4bad41ade5dcda34f7fb32ba9b2ba8
131799 DEBUG Successfully built PyMemoize requests-http-signature
131799 DEBUG Failed to build python-ldap
131900 DEBUG Installing collected packages: python-ldap, django-auth-ldap
131900 DEBUG   Running setup.py install for python-ldap: started
132503 DEBUG     Running setup.py install for python-ldap: finished with status 'error'
132503 WARNING Command "/var/www/funkwhale/virtualenv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-fhftk299/python-ldap/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-g4k2_vew/install-record.txt --single-version-externally-managed --compile --install-headers /var/www/funkwhale/virtualenv/include/site/python3.5/python-ldap" failed with error code 1 in /tmp/pip-install-fhftk299/python-ldap/
132503 DEBUG     Complete output from command /var/www/funkwhale/virtualenv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-fhftk299/python-ldap/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-g4k2_vew/install-record.txt --single-version-externally-managed --compile --install-headers /var/www/funkwhale/virtualenv/include/site/python3.5/python-ldap:
132504 DEBUG     running install
132504 DEBUG     running build
132504 DEBUG     running build_py
132505 DEBUG     creating build
132505 DEBUG     creating build/lib.linux-x86_64-3.5
132505 DEBUG     copying Lib/ldapurl.py -> build/lib.linux-x86_64-3.5
132505 DEBUG     copying Lib/ldif.py -> build/lib.linux-x86_64-3.5
132505 DEBUG     creating build/lib.linux-x86_64-3.5/ldap
132506 DEBUG     copying Lib/ldap/syncrepl.py -> build/lib.linux-x86_64-3.5/ldap
132506 DEBUG     copying Lib/ldap/filter.py -> build/lib.linux-x86_64-3.5/ldap
132506 DEBUG     copying Lib/ldap/modlist.py -> build/lib.linux-x86_64-3.5/ldap
132506 DEBUG     copying Lib/ldap/__init__.py -> build/lib.linux-x86_64-3.5/ldap
132507 DEBUG     copying Lib/ldap/resiter.py -> build/lib.linux-x86_64-3.5/ldap
132507 DEBUG     copying Lib/ldap/async.py -> build/lib.linux-x86_64-3.5/ldap
132507 DEBUG     copying Lib/ldap/constants.py -> build/lib.linux-x86_64-3.5/ldap
132507 DEBUG     copying Lib/ldap/dn.py -> build/lib.linux-x86_64-3.5/ldap
132507 DEBUG     copying Lib/ldap/asyncsearch.py -> build/lib.linux-x86_64-3.5/ldap
132508 DEBUG     copying Lib/ldap/ldapobject.py -> build/lib.linux-x86_64-3.5/ldap
132508 DEBUG     copying Lib/ldap/pkginfo.py -> build/lib.linux-x86_64-3.5/ldap
132508 DEBUG     copying Lib/ldap/sasl.py -> build/lib.linux-x86_64-3.5/ldap
132508 DEBUG     copying Lib/ldap/compat.py -> build/lib.linux-x86_64-3.5/ldap
132509 DEBUG     copying Lib/ldap/functions.py -> build/lib.linux-x86_64-3.5/ldap
132509 DEBUG     copying Lib/ldap/cidict.py -> build/lib.linux-x86_64-3.5/ldap
132509 DEBUG     copying Lib/ldap/logger.py -> build/lib.linux-x86_64-3.5/ldap
132509 DEBUG     creating build/lib.linux-x86_64-3.5/ldap/controls
132510 DEBUG     copying Lib/ldap/controls/pwdpolicy.py -> build/lib.linux-x86_64-3.5/ldap/controls
132510 DEBUG     copying Lib/ldap/controls/vlv.py -> build/lib.linux-x86_64-3.5/ldap/controls
132510 DEBUG     copying Lib/ldap/controls/__init__.py -> build/lib.linux-x86_64-3.5/ldap/controls
132510 DEBUG     copying Lib/ldap/controls/sss.py -> build/lib.linux-x86_64-3.5/ldap/controls
132511 DEBUG     copying Lib/ldap/controls/pagedresults.py -> build/lib.linux-x86_64-3.5/ldap/controls
132511 DEBUG     copying Lib/ldap/controls/openldap.py -> build/lib.linux-x86_64-3.5/ldap/controls
132511 DEBUG     copying Lib/ldap/controls/psearch.py -> build/lib.linux-x86_64-3.5/ldap/controls
132511 DEBUG     copying Lib/ldap/controls/ppolicy.py -> build/lib.linux-x86_64-3.5/ldap/controls
132511 DEBUG     copying Lib/ldap/controls/libldap.py -> build/lib.linux-x86_64-3.5/ldap/controls
132512 DEBUG     copying Lib/ldap/controls/simple.py -> build/lib.linux-x86_64-3.5/ldap/controls
132512 DEBUG     copying Lib/ldap/controls/readentry.py -> build/lib.linux-x86_64-3.5/ldap/controls
132512 DEBUG     copying Lib/ldap/controls/deref.py -> build/lib.linux-x86_64-3.5/ldap/controls
132512 DEBUG     copying Lib/ldap/controls/sessiontrack.py -> build/lib.linux-x86_64-3.5/ldap/controls
132513 DEBUG     creating build/lib.linux-x86_64-3.5/ldap/extop
132513 DEBUG     copying Lib/ldap/extop/__init__.py -> build/lib.linux-x86_64-3.5/ldap/extop
132513 DEBUG     copying Lib/ldap/extop/dds.py -> build/lib.linux-x86_64-3.5/ldap/extop
132513 DEBUG     creating build/lib.linux-x86_64-3.5/ldap/schema
132513 DEBUG     copying Lib/ldap/schema/tokenizer.py -> build/lib.linux-x86_64-3.5/ldap/schema
132514 DEBUG     copying Lib/ldap/schema/__init__.py -> build/lib.linux-x86_64-3.5/ldap/schema
132514 DEBUG     copying Lib/ldap/schema/models.py -> build/lib.linux-x86_64-3.5/ldap/schema
132514 DEBUG     copying Lib/ldap/schema/subentry.py -> build/lib.linux-x86_64-3.5/ldap/schema
132514 DEBUG     creating build/lib.linux-x86_64-3.5/slapdtest
132514 DEBUG     copying Lib/slapdtest/__init__.py -> build/lib.linux-x86_64-3.5/slapdtest
132514 DEBUG     copying Lib/slapdtest/_slapdtest.py -> build/lib.linux-x86_64-3.5/slapdtest
132515 DEBUG     running egg_info
132515 DEBUG     writing Lib/python_ldap.egg-info/PKG-INFO
132515 DEBUG     writing dependency_links to Lib/python_ldap.egg-info/dependency_links.txt
132518 DEBUG     writing requirements to Lib/python_ldap.egg-info/requires.txt
132519 DEBUG     writing top-level names to Lib/python_ldap.egg-info/top_level.txt
132519 DEBUG     reading manifest file 'Lib/python_ldap.egg-info/SOURCES.txt'
132519 DEBUG     reading manifest template 'MANIFEST.in'
132519 DEBUG     no previously-included directories found matching 'Doc/.build'
132520 DEBUG     writing manifest file 'Lib/python_ldap.egg-info/SOURCES.txt'
132521 DEBUG     creating build/lib.linux-x86_64-3.5/slapdtest/certs
132522 DEBUG     copying Lib/slapdtest/certs/README -> build/lib.linux-x86_64-3.5/slapdtest/certs
132522 DEBUG     copying Lib/slapdtest/certs/ca.conf -> build/lib.linux-x86_64-3.5/slapdtest/certs
132522 DEBUG     copying Lib/slapdtest/certs/ca.pem -> build/lib.linux-x86_64-3.5/slapdtest/certs
132524 DEBUG     copying Lib/slapdtest/certs/client.conf -> build/lib.linux-x86_64-3.5/slapdtest/certs
132524 DEBUG     copying Lib/slapdtest/certs/client.key -> build/lib.linux-x86_64-3.5/slapdtest/certs
132524 DEBUG     copying Lib/slapdtest/certs/client.pem -> build/lib.linux-x86_64-3.5/slapdtest/certs
132527 DEBUG     copying Lib/slapdtest/certs/gencerts.sh -> build/lib.linux-x86_64-3.5/slapdtest/certs
132527 DEBUG     copying Lib/slapdtest/certs/gennssdb.sh -> build/lib.linux-x86_64-3.5/slapdtest/certs
132528 DEBUG     copying Lib/slapdtest/certs/server.conf -> build/lib.linux-x86_64-3.5/slapdtest/certs
132528 DEBUG     copying Lib/slapdtest/certs/server.key -> build/lib.linux-x86_64-3.5/slapdtest/certs
132528 DEBUG     copying Lib/slapdtest/certs/server.pem -> build/lib.linux-x86_64-3.5/slapdtest/certs
132528 DEBUG     running build_ext
132528 DEBUG     building '_ldap' extension
132529 DEBUG     creating build/temp.linux-x86_64-3.5
132529 DEBUG     creating build/temp.linux-x86_64-3.5/Modules
132529 DEBUG     x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=3.1.0 -DLDAPMODULE_AUTHOR=python-ldap project -DLDAPMODULE_LICENSE=Python style -IModules -I/var/www/funkwhale/virtualenv/include -I/usr/include/python3.5m -c Modules/LDAPObject.c -o build/temp.linux-x86_64-3.5/Modules/LDAPObject.o
132529 DEBUG     In file included from Modules/LDAPObject.c:8:0:
132529 DEBUG     Modules/constants.h:7:18: fatal error: lber.h: No such file or directory
132530 DEBUG      #include "lber.h"
132530 DEBUG                       ^
132530 DEBUG     compilation terminated.
132530 DEBUG     error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
132531 DEBUG 
132531 DEBUG     ----------------------------------------
132631 DEBUG + ynh_exit_properly
132632 WARNING !!
132632 DEBUG + local exit_code=1
132632 WARNING   funkwhale's script has encountered an error. Its execution was cancelled.
132632 DEBUG + '[' 1 -eq 0 ']'
132633 WARNING !!
132633 DEBUG + trap '' EXIT
132633 WARNING Upgrade failed.

Data folder should be in yunohost.app

The data folder should be in /home/yunohost.app/funkwhale/data because sometimes the media can take lot of space fill up the limited space in /var. /home folder is generally reserved with lot of space to keep all the media. Further its good idea to keep media away from the app core files.
I have faced this issue in Peertube too.
See here YunoHost-Apps/peertube_ynh#8

Log in does not worked

Hi,

I tried my best, but I am still not able to log in ! I am sure the username/password is correct. I am able to log in to the admin section.
In the admin section, I create a new user but with the same issue : after clicking on log in, it goes quickly into the empty library, but it switch back straight to the log in page.

Could you tell me where to to look ? Like were are the log files ?
Cheers

Raven error reporting not cleanly managed

Hello,

Seeing the config file I discovered that in the config file is not well cleanly implemented. Here is the content which I found that is not really clean. Probably the RAVEN_DSN value should be updated to something else...

# Sentry/Raven error reporting (server side)
# Enable Raven if you want to help improve funkwhale by
# automatically sending error reports our Sentry instance.
# This will help us detect and correct bugs
RAVEN_ENABLED=false
RAVEN_DSN=https://44332e9fdd3d42879c7d35bf8562c6a4:[email protected]/5

install fail : could not open extension control file "/usr/share/postgresql/9.6/extension/unaccent.control"

Hello,

Je viens de vouloir installer funkwhale sous son propre sous domaine et je rencontre l'erreur suivante :

DEBUG - + python api/manage.py migrate
WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
DEBUG - Operations to perform:
WARNING - Traceback (most recent call last):
DEBUG -   Apply all migrations: account, admin, auth, authtoken, common, contenttypes, dynamic_preferences, favorites, federation, history, music, playlists, radios, requests, sessions, sites, socialaccount, taggit, users
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/utils.py", line 85, in _execute
DEBUG - Running migrations:
WARNING -     return self.cursor.execute(sql, params)
DEBUG -   Applying contenttypes.0001_initial... OK
WARNING - psycopg2.OperationalError: could not open extension control file "/usr/share/postgresql/9.6/extension/unaccent.control": No such file or directory
DEBUG -   Applying contenttypes.0002_remove_content_type_name... OK
WARNING - 
DEBUG -   Applying auth.0001_initial... OK
WARNING - 
DEBUG -   Applying auth.0002_alter_permission_name_max_length... OK
WARNING - The above exception was the direct cause of the following exception:
DEBUG -   Applying auth.0003_alter_user_email_max_length... OK
WARNING - 
DEBUG -   Applying auth.0004_alter_user_username_opts... OK
WARNING - Traceback (most recent call last):
DEBUG -   Applying auth.0005_alter_user_last_login_null... OK
WARNING -   File "api/manage.py", line 20, in <module>
DEBUG -   Applying auth.0006_require_contenttypes_0002... OK
WARNING -     execute_from_command_line(sys.argv)
DEBUG -   Applying users.0001_initial... OK
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
DEBUG -   Applying account.0001_initial... OK
WARNING -     utility.execute()
DEBUG -   Applying account.0002_email_max_length... OK
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 365, in execute
DEBUG -   Applying admin.0001_initial... OK
WARNING -     self.fetch_command(subcommand).run_from_argv(self.argv)
DEBUG -   Applying admin.0002_logentry_remove_auto_add... OK
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/base.py", line 288, in run_from_argv
DEBUG -   Applying auth.0007_alter_validators_add_error_messages... OK
WARNING -     self.execute(*args, **cmd_options)
DEBUG -   Applying auth.0008_alter_user_username_max_length... OK
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/base.py", line 335, in execute
DEBUG -   Applying auth.0009_alter_user_last_name_max_length... OK
WARNING -     output = self.handle(*args, **options)
DEBUG -   Applying authtoken.0001_initial... OK
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 200, in handle
DEBUG -   Applying authtoken.0002_auto_20160226_1747... OK
WARNING -     fake_initial=fake_initial,
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/executor.py", line 117, in migrate
WARNING -     state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
WARNING -     state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
WARNING -     state = migration.apply(state, schema_editor)
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/migration.py", line 122, in apply
WARNING -     operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/contrib/postgres/operations.py", line 19, in database_forwards
WARNING -     schema_editor.execute("CREATE EXTENSION IF NOT EXISTS %s" % schema_editor.quote_name(self.name))
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/schema.py", line 133, in execute
WARNING -     cursor.execute(sql, params)
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/utils.py", line 68, in execute
WARNING -     return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
WARNING -     return executor(sql, params, many, context)
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/utils.py", line 85, in _execute
WARNING -     return self.cursor.execute(sql, params)
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/utils.py", line 89, in __exit__
WARNING -     raise dj_exc_value.with_traceback(traceback) from exc_value
WARNING -   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/utils.py", line 85, in _execute
WARNING -     return self.cursor.execute(sql, params)
WARNING - django.db.utils.OperationalError: could not open extension control file "/usr/share/postgresql/9.6/extension/unaccent.control": No such file or directory
WARNING - 
DEBUG -   Applying common.0001_initial...+ ynh_exit_properly

Je ne comprend pas la fonction de ce fichier, le seul lien que je trouve est ici
Mais "unaccent", ca serait lié à des problèmes d'encodage, ou pour enlever les accents dans la bd ? --"
Je remarque que mon istallation plante au même endroit que csolisr mais pas pour la même raison.
-
-"

Info sur mon Yunohost :

OS
    Debian 9.5 64bit (Linux 4.9.0-8-amd64)
yunohost
    3.2.0 (stable)
yunohost-admin
    3.2.0 (stable)
moulinette
    3.2.0 (stable)
ssowat
    3.2.0 (stable)

Vous pouvez trouver les logs complets ICI

Merci par avance.

Import in-place

Hello everybody,

In order to be able to add some music with CLI with the --in-place option, I had to change this line in config/.env :
MUSIC_DIRECTORY_PATH=/music
to
MUSIC_DIRECTORY_PATH=/var/www/funkwhale/data/music
as it is mention in the documentation here. The CLI then work properly.
Then, I had to do systemctl restart funkwhale.target in order to play the added music.

(I do not have the knowledge to change the install script in order to make PR for this change.)

Finally, should it be more useful to use this path instead ?
/home/yunohost.multimedia/share/Music

install on rpi failed

the log : https://paste.yunohost.org/raw/ivoqowirek

error :

 DEBUG - adduser: `/usr/bin/chfn -f PostgreSQL administrator postgres' returned error code 1. Exiting.
 DEBUG - dpkg: error processing package postgresql-common (--configure):
 DEBUG -  subprocess installed post-installation script returned error exit status 1

 DEBUG - dpkg: error processing package postgresql-9.6 (--configure):

 DEBUG - dpkg: error processing package postgresql (--configure):

 WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)

my config :

{
    "host": "Debian 9.4",
    "kernel": "4.14.69-v7+",
    "packages": {
        "yunohost": {
            "repo": "stable",
            "version": "3.2.1"
        },
        "yunohost-admin": {
            "repo": "stable",
            "version": "3.2.1"
        },
        "moulinette": {
            "repo": "stable",
            "version": "3.2.0"
        },
        "ssowat": {
            "repo": "stable",
            "version": "3.2.0"
        }
    },
    "backports": [],
    "system": {
        "disks": {
            "root": "Mounted on /, 14.6GiB (12.3GiB free)",
            "mmcblk0p1": "Mounted on /boot, 43.1MiB (21.1MiB free)"
        },
        "memory": {
            "ram": "927.2MiB (597.4MiB free)",
            "swap": "100.0MiB (98.5MiB free)"
        }
    },
    "nginx": [
        "nginx: the configuration file /etc/nginx/nginx.conf syntax is ok",
        "nginx: configuration file /etc/nginx/nginx.conf test is successful"
    ],
    "services": {
        "glances": "running (enabled)",
        "nslcd": "running (enabled)",
        "metronome": "running (enabled)",
        "postfix": "exited (enabled)",
        "rspamd": "running (enabled)",
        "yunohost-firewall": "exited (enabled)",
        "nginx": "running (enabled)",
        "php7.0-fpm": "running (enabled)",
        "dnsmasq": "running (enabled)",
        "fail2ban": "running (enabled)",
        "yunohost-api": "running (enabled)",
        "mysql": "running (enabled)",
        "avahi-daemon": "running (enabled)",
        "dovecot": "running (enabled)",
        "redis-server": "running (enabled)",
        "slapd": "running (enabled)",
        "ssh": "running (enabled)"
    },
    "applications": {},
    "security": {
        "CVE-2017-5754": {
            "name": "meltdown",
            "vulnerable": false
        }
    }
}

Embed

After allowing embeds in nginx has anyone gotten the iframes to work. The widget is being created and can be seen, but when putting it in an iframe an error occurs.

"An unknown error occured while loading track data." is exactly what it says. Can't find anything in upstream about the error.

FATAL: Peer authentication failed for user "funkwhale"

Currently testing on Debian Stretch, latest Yunohost version. Upon trying to install, the attempt fails with the following error message:

+ cd /var/www/funkwhale
+ ynh_psql_execute_as_root 'ALTER USER funkwhale WITH SUPERUSER;'
+ local 'sql=ALTER USER funkwhale WITH SUPERUSER;'
+ sudo --login --user=postgres psql
ALTER ROLE
+ python api/manage.py migrate
Traceback (most recent call last):
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
    self.connect()
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 194, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/postgresql/base.py", line 168, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/psycopg2/__init__.py", line 130, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: FATAL:  Peer authentication failed for user "funkwhale"
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "api/manage.py", line 20, in <module>
    execute_from_command_line(sys.argv)
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
    utility.execute()
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 365, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/base.py", line 335, in execute
    output = self.handle(*args, **options)
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 79, in handle
    executor = MigrationExecutor(connection, self.migration_progress_callback)
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/executor.py", line 18, in __init__
    self.loader = MigrationLoader(self.connection)
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/loader.py", line 49, in __init__
    self.build_graph()
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/loader.py", line 207, in build_graph
    self.applied_migrations = recorder.applied_migrations()
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/recorder.py", line 61, in applied_migrations
    if self.has_table():
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/recorder.py", line 44, in has_table
    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 255, in cursor
    return self._cursor()
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 232, in _cursor
    self.ensure_connection()
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
    self.connect()
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
    self.connect()
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 194, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/postgresql/base.py", line 168, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/psycopg2/__init__.py", line 130, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: FATAL:  Peer authentication failed for user "funkwhale"

I have already tried purging postgresql completely with all settings files first.

Import Cli Permission Error

Hi,
i'm try to import my music with the import-cli function, i'm before any difficulte. I'm resole the first error (No module named django) with the env. loaded (more information on Yunohost forum).

Now the terminal send me a permission error, i'm adding the chown update (funkwhale user and group) but same problem. PermissionError [Errno 13] Permission denied .

I'm create a symbolic link from a new hard drive mount on /media/storage/musics

Login impossible / no django / raspberry

Hello,

I was able to install funkwhale on a raspberry pi on YunoHost 3.0.0.1 (stable), with some warnings only :

Warning: W: GPG error: http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
Warning: W: The repository 'http://httpredir.debian.org/debian jessie-backports InRelease' is not signed.
Warning: W: GPG error: http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
Warning: W: The repository 'http://httpredir.debian.org/debian jessie-backports InRelease' is not signed.
Warning: 2018-06-20 19:38:49 URL:https://code.eliotberriot.com/funkwhale/funkwhale/-/archive/0.14.2/funkwhale-0.14.2.tar.bz2 [7648609/7648609] -> "app.tar.bz2" [1]
Warning: 2018-06-20 19:38:55 URL:https://code.eliotberriot.com/funkwhale/funkwhale/-/jobs/4293/artifacts/download [3765294/3765294] -> "app-frontend.zip" [1]
Warning: Created symlink /etc/systemd/system/multi-user.target.wants/funkwhale__2-server.service → /etc/systemd/system/funkwhale__2-server.service.
Warning: Created symlink /etc/systemd/system/multi-user.target.wants/funkwhale__2-worker.service → /etc/systemd/system/funkwhale__2-worker.service.
Warning: Created symlink /etc/systemd/system/multi-user.target.wants/funkwhale__2-beat.service → /etc/systemd/system/funkwhale__2-beat.service.

After that, after login, it went shortly on the empty library, then switch back to the login page.

So I tried to import some files :
python api/manage.py import_files "/home/yunohost.multimedia/share/" --recursive --noinput
but I got : ImportError: No module named django

I hope this will help you :)

How to get to the admin interface and federate?

Hi
I can't find the admin interface?
Further how can I add some other Funkwhale instance to my instance by federation? I am completely lost.
And can my music folder in my home shared with Funkwhale, so that I can add music with nextcloud and it becomes available to Funkwhale?
Thanks for your help in advance.

Funkwhale failed to install

Hello,

I'm trying to install funkwhale but the script failed with the following error :

root@yunohost:/home/admin# yunohost app install https://github.com/YunoHost-Apps/funkwhale_ynh/
Domaines disponibles :
- yuno.inso.ovh
- g1.duniter.inso.ovh
Choose a domain (default: yuno.inso.ovh) : 
Should Funkwhale be publicly accessible? [0 | 1] (default: 1) : 
Choose an admin user for Funkwhale? : inso
Attention : Cette URL n’est pas disponible ou est en conflit avec une application existante
Attention : !!
Attention :   funkwhale's script has encountered an error. Its execution was cancelled.
Attention : !!
Attention : 
Attention : Failed to stop funkwhale.target: Unit funkwhale.target not loaded.
Attention : /etc/systemd/system/funkwhale.target wasn't deleted because it doesn't exist.
Attention : sudo: utilisateur inconnu : postgres
Attention : sudo: impossible d'initialiser le greffon de règles
Attention : sudo: utilisateur inconnu : postgres
Attention : sudo: impossible d'initialiser le greffon de règles
Attention : E: Impossible de trouver le paquet funkwhale-ynh-deps
Attention : Avoid deleting .
Attention : tail: impossible d'ouvrir '/etc/nginx/conf.d/.conf' en lecture: Aucun fichier ou dossier de ce type
Attention : /etc/nginx/conf.d/.d/funkwhale.conf wasn't deleted because it doesn't exist.
Attention : /tmp/funkwhale-transcode wasn't deleted because it doesn't exist.
Attention : The user funkwhale was not found
Succès ! La configuration de SSOwat a été générée
Erreur : Échec de l'installation

Warnings on upgrade

mv: cannot stat '/var/www/funkwhale/code/data/music': No such file or directory

mv: cannot stat '/var/www/funkwhale/code/data/media': No such file or directory

mv: cannot stat '/var/www/funkwhale/!(code)': No such file or directory

The migration seems OK. Can I ignore these messages ?

beat service fails to start

I can't seem to install funkwhale, even with the testing branch...seems still to be something to do with beat service not starting?

DEBUG yunohost.app _get_app_status - [12396.1] status file not found for 'funkwhale__4'
Warning: [DEBUG]: Traceback (most recent call last):
Warning: [DEBUG]: File "/usr/lib/moulinette/yunohost/app.py", line 1980, in _get_app_status
Warning: [DEBUG]: with open(app_setting_path + '/status.json') as f:
Warning: [DEBUG]: IOError: [Errno 2] No such file or directory: '/etc/yunohost/apps/funkwhale__4/status.json'
Warning: [DEBUG]: DEBUG yunohost.app app_setting - [12396.1] cannot get app setting 'update_time' for 'funkwhale__4' ('update_time')
Warning: [DEBUG]: DEBUG moulinette.authenticator.ldap init - initialize authenticator 'as-root' with: uri='ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi', base_dn='dc=yunohost,dc=org', user_rdn='gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth'
Warning: [DEBUG]: DEBUG moulinette.actionsmap process - action [12396.1] executed in 0.425s
Warning: [DEBUG]: ERROR yunohost cli - This url is not available or conflicts with the already installed app(s):

i ran:
yunohost log display 20190918-221526-app_install-funkwhale --share

Subsonic API

The Funkwhale Subsonic API is not reachable when hosted on YunoHost. Opening port 4040, the default Subsonic port, in the firewall did nothing.

Installation: funkwhale.mydomain.com => mydomain.com/funkwhale = possible ?

Hi, instead of installing funkwhale on a domain like funkwhale.mydomain.com, would it be possible to have the option to install it on mydomain.com/funkwhale ? Most of yunohost apps allow it, even to change app url once installed.

The reason I ask this is because I upgraded to yunohost 3 specially for funkwhale but I can't install it because some routers like mine have issues; all the apps installed in mydomaine.com/appname work, but the ones installed on appname.mydomain.com don't.

Would be great that option when installing, thank you.

channels-redis and python

Hi,
The installation failed with this warning :

ERROR: Package 'channels-redis' requires a different Python: 3.5.3 not in '>=3.6'

Have you an idea how can I solve this issue ?
Just to be sure, it is not one of my pythons installed on my machine that is used but a virtual environment created during the installation, right ?

YunoHost 3.2 Raspberry PI : The operation 'Upgrade 'funkwhale' application' has failed !

Bonjour, une mise à jour de Funwkhale m'est proposée à travers de YunoHost, mais cette mise à jour est impossible en raison de l'erreur suivante:

The operation 'Upgrade 'funkwhale' application' has failed ! To get help, please provide the full log of this operation

Et voici le log:

2018-09-14 17:15:13,257: WARNING - The backup's archive name already exists
2018-09-14 17:15:13,575: WARNING - Backup failed, the upgrade process was aborted.
2018-09-14 17:15:13,702: ERROR - Impossible de mettre à jour funkwhale

Est-ce que cela est arrivé à quelqu'un d'autre ? Une idée d'où pourrait venir le problème ?

Merci beaucoup !

Installation fails

Hi
Fresh install fails on the vps. I am debian stretch.

+ sudo --login --user=postgres psql
ALTER ROLE
+ python api/manage.py migrate
Warning: Traceback (most recent call last):
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
Warning:     self.connect()
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 194, in connect
Warning:     self.connection = self.get_new_connection(conn_params)
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/postgresql/base.py", line 168, in get_new_connection
Warning:     connection = Database.connect(**conn_params)
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/psycopg2/__init__.py", line 130, in connect
Warning:     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
Warning: psycopg2.OperationalError: FATAL:  Peer authentication failed for user "funkwhale"
Warning: 
Warning: 
Warning: The above exception was the direct cause of the following exception:
Warning: 
Warning: Traceback (most recent call last):
Warning:   File "api/manage.py", line 20, in <module>
Warning:     execute_from_command_line(sys.argv)
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
Warning:     utility.execute()
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 365, in execute
Warning:     self.fetch_command(subcommand).run_from_argv(self.argv)
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/base.py", line 288, in run_from_argv
Warning:     self.execute(*args, **cmd_options)
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/base.py", line 335, in execute
Warning:     output = self.handle(*args, **options)
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 79, in handle
Warning:     executor = MigrationExecutor(connection, self.migration_progress_callback)
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/executor.py", line 18, in __init__
Warning:     self.loader = MigrationLoader(self.connection)
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/loader.py", line 49, in __init__
Warning:     self.build_graph()
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/loader.py", line 206, in build_graph
Warning:     self.applied_migrations = recorder.applied_migrations()
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/recorder.py", line 61, in applied_migrations
Warning:     if self.has_table():
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/recorder.py", line 44, in has_table
Warning:     return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 255, in cursor
Warning:     return self._cursor()
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 232, in _cursor
Warning:     self.ensure_connection()
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
Warning:     self.connect()
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/utils.py", line 89, in __exit__
Warning:     raise dj_exc_value.with_traceback(traceback) from exc_value
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
Warning:     self.connect()
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 194, in connect
Warning:     self.connection = self.get_new_connection(conn_params)
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/postgresql/base.py", line 168, in get_new_connection
Warning:     connection = Database.connect(**conn_params)
Warning:   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/psycopg2/__init__.py", line 130, in connect
Warning:     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
Warning: django.db.utils.OperationalError: FATAL:  Peer authentication failed for user "funkwhale"
Warning: 
+ ynh_exit_properly
Warning: !!
Warning:   funkwhale's script has encountered an error. Its execution was cancelled.

Install fails on ARM ?

Hellow,

currently trying to install funkwhale on an Internet Cube (Lime 1)

I see the following error which is related to zlib (I guess installing the right header package should do the trick)

1056220 WARNING   Failed building wheel for Pillow
1056222 INFO   creating build/lib.linux-armv7l-3.5
1056224 INFO   creating build/lib.linux-armv7l-3.5/PIL
1056227 INFO   copying PIL/PngImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056230 INFO   copying PIL/ImageGrab.py -> build/lib.linux-armv7l-3.5/PIL
1056234 INFO   copying PIL/BdfFontFile.py -> build/lib.linux-armv7l-3.5/PIL
1056238 INFO   copying PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056245 INFO   copying PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056250 INFO   copying PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056254 INFO   copying PIL/GifImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056266 INFO   copying PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056271 INFO   copying PIL/_util.py -> build/lib.linux-armv7l-3.5/PIL
1056278 INFO   copying PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056285 INFO   copying PIL/ImageTransform.py -> build/lib.linux-armv7l-3.5/PIL
1056289 INFO   copying PIL/SunImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056294 INFO   copying PIL/PyAccess.py -> build/lib.linux-armv7l-3.5/PIL
1056300 INFO   copying PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056305 INFO   copying PIL/ImageSequence.py -> build/lib.linux-armv7l-3.5/PIL
1056313 INFO   copying PIL/ImageFont.py -> build/lib.linux-armv7l-3.5/PIL
1056319 INFO   copying PIL/ImageCms.py -> build/lib.linux-armv7l-3.5/PIL
1056326 INFO   copying PIL/ImagePalette.py -> build/lib.linux-armv7l-3.5/PIL
1056331 INFO   copying PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056337 INFO   copying PIL/ExifTags.py -> build/lib.linux-armv7l-3.5/PIL
1056343 INFO   copying PIL/OleFileIO.py -> build/lib.linux-armv7l-3.5/PIL
1056349 INFO   copying PIL/ImageMode.py -> build/lib.linux-armv7l-3.5/PIL
1056354 INFO   copying PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056360 INFO   copying PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056366 INFO   copying PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056372 INFO   copying PIL/ImageQt.py -> build/lib.linux-armv7l-3.5/PIL
1056378 INFO   copying PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056384 INFO   copying PIL/TiffTags.py -> build/lib.linux-armv7l-3.5/PIL
1056390 INFO   copying PIL/features.py -> build/lib.linux-armv7l-3.5/PIL
1056396 INFO   copying PIL/ContainerIO.py -> build/lib.linux-armv7l-3.5/PIL
1056402 INFO   copying PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056408 INFO   copying PIL/ImageFile.py -> build/lib.linux-armv7l-3.5/PIL
1056414 INFO   copying PIL/__init__.py -> build/lib.linux-armv7l-3.5/PIL
1056420 INFO   copying PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056426 INFO   copying PIL/ImagePath.py -> build/lib.linux-armv7l-3.5/PIL
1056431 INFO   copying PIL/ImageDraw2.py -> build/lib.linux-armv7l-3.5/PIL
1056437 INFO   copying PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056443 INFO   copying PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056449 INFO   copying PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056456 INFO   copying PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056462 INFO   copying PIL/WalImageFile.py -> build/lib.linux-armv7l-3.5/PIL
1056467 INFO   copying PIL/ImageStat.py -> build/lib.linux-armv7l-3.5/PIL
1056472 INFO   copying PIL/Image.py -> build/lib.linux-armv7l-3.5/PIL
1056478 INFO   copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056485 INFO   copying PIL/CurImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056491 INFO   copying PIL/ImImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056497 INFO   copying PIL/TarIO.py -> build/lib.linux-armv7l-3.5/PIL
1056503 INFO   copying PIL/ImageFilter.py -> build/lib.linux-armv7l-3.5/PIL
1056509 INFO   copying PIL/GdImageFile.py -> build/lib.linux-armv7l-3.5/PIL
1056515 INFO   copying PIL/ImageEnhance.py -> build/lib.linux-armv7l-3.5/PIL
1056521 INFO   copying PIL/ImageShow.py -> build/lib.linux-armv7l-3.5/PIL
1056527 INFO   copying PIL/MicImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056533 INFO   copying PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056538 INFO   copying PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056544 INFO   copying PIL/ImageColor.py -> build/lib.linux-armv7l-3.5/PIL
1056551 INFO   copying PIL/ImageMath.py -> build/lib.linux-armv7l-3.5/PIL
1056557 INFO   copying PIL/FliImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056562 INFO   copying PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056568 INFO   copying PIL/_tkinter_finder.py -> build/lib.linux-armv7l-3.5/PIL
1056574 INFO   copying PIL/ImageTk.py -> build/lib.linux-armv7l-3.5/PIL
1056581 INFO   copying PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056586 INFO   copying PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056592 INFO   copying PIL/PSDraw.py -> build/lib.linux-armv7l-3.5/PIL
1056598 INFO   copying PIL/ImageWin.py -> build/lib.linux-armv7l-3.5/PIL
1056603 INFO   copying PIL/ImageOps.py -> build/lib.linux-armv7l-3.5/PIL
1056610 INFO   copying PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056615 INFO   copying PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056621 INFO   copying PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-3.5/PIL
1056627 INFO   copying PIL/GimpGradientFile.py -> build/lib.linux-armv7l-3.5/PIL
1056632 INFO   copying PIL/ImageDraw.py -> build/lib.linux-armv7l-3.5/PIL
1056639 INFO   copying PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056642 INFO   copying PIL/ImageChops.py -> build/lib.linux-armv7l-3.5/PIL
1056648 INFO   copying PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056654 INFO   copying PIL/version.py -> build/lib.linux-armv7l-3.5/PIL
1056660 INFO   copying PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056667 INFO   copying PIL/JpegPresets.py -> build/lib.linux-armv7l-3.5/PIL
1056673 INFO   copying PIL/ImageMorph.py -> build/lib.linux-armv7l-3.5/PIL
1056677 INFO   copying PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056684 INFO   copying PIL/FontFile.py -> build/lib.linux-armv7l-3.5/PIL
1056688 INFO   copying PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056695 INFO   copying PIL/MspImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056699 INFO   copying PIL/_binary.py -> build/lib.linux-armv7l-3.5/PIL
1056704 INFO   copying PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056709 INFO   copying PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056713 INFO   copying PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056716 INFO   copying PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056720 INFO   copying PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056723 INFO   copying PIL/PcfFontFile.py -> build/lib.linux-armv7l-3.5/PIL
1056727 INFO   copying PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
1056731 INFO   copying PIL/PaletteFile.py -> build/lib.linux-armv7l-3.5/PIL
1056735 INFO   running egg_info
1056738 INFO   writing Pillow.egg-info/PKG-INFO
1056743 INFO   writing requirements to Pillow.egg-info/requires.txt
1056745 INFO   writing top-level names to Pillow.egg-info/top_level.txt
1056750 INFO   writing dependency_links to Pillow.egg-info/dependency_links.txt
1056754 INFO   reading manifest file 'Pillow.egg-info/SOURCES.txt'
1056758 INFO   reading manifest template 'MANIFEST.in'
1056762 INFO   warning: no files found matching '*.sh'
1056765 INFO   no previously-included directories found matching 'docs/_static'
1056769 INFO   warning: no previously-included files found matching '.coveragerc'
1056772 INFO   warning: no previously-included files found matching 'codecov.yml'
1056775 INFO   warning: no previously-included files found matching '.editorconfig'
1056779 INFO   warning: no previously-included files found matching '.landscape.yaml'
1056784 INFO   warning: no previously-included files found matching '.travis'
1056788 INFO   warning: no previously-included files found matching '.travis/*'
1056792 INFO   warning: no previously-included files found matching 'appveyor.yml'
1056796 INFO   warning: no previously-included files found matching 'build_children.sh'
1056799 INFO   warning: no previously-included files found matching 'tox.ini'
1056802 INFO   warning: no previously-included files matching '.git*' found anywhere in distribution
1056806 INFO   warning: no previously-included files matching '*.pyc' found anywhere in distribution
1056810 INFO   warning: no previously-included files matching '*.so' found anywhere in distribution
1056814 INFO   writing manifest file 'Pillow.egg-info/SOURCES.txt'
1056818 INFO   running build_ext
1056822 INFO 
1056826 INFO 
1056829 INFO   The headers or library files could not be found for zlib,
1056833 INFO   a required dependency when compiling Pillow from source.
1056836 INFO 
1056839 INFO   Please see the install instructions at:
1056843 INFO      https://pillow.readthedocs.io/en/latest/installation.html
1056847 INFO 
1056852 INFO   Traceback (most recent call last):
1056856 INFO     File "/tmp/pip-install-hhqpx1uf/Pillow/setup.py", line 787, in <module>
1056859 INFO       zip_safe=not (debug_build() or PLATFORM_MINGW), )
1056862 INFO     File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/setuptools/__init__.py", line 129, in setup
1056866 INFO       return distutils.core.setup(**attrs)
1056870 INFO     File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
1056874 INFO       dist.run_commands()
1056877 INFO     File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
1056880 INFO       self.run_command(cmd)
1056884 INFO     File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
1056888 INFO       cmd_obj.run()
1056891 INFO     File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 202, in run
1056897 INFO       self.run_command('build')
1056901 INFO     File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
1056903 INFO       self.distribution.run_command(command)
1056907 INFO     File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
1056910 INFO       cmd_obj.run()
1056914 INFO     File "/usr/lib/python3.5/distutils/command/build.py", line 135, in run
1056918 INFO       self.run_command(cmd_name)
1056921 INFO     File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
1056926 INFO       self.distribution.run_command(command)
1056929 INFO     File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
1056934 INFO       cmd_obj.run()
1056938 INFO     File "/usr/lib/python3.5/distutils/command/build_ext.py", line 339, in run
1056941 INFO       self.build_extensions()
1056945 INFO     File "/tmp/pip-install-hhqpx1uf/Pillow/setup.py", line 577, in build_extensions
1056948 INFO       raise RequiredDependencyException(f)
1056952 INFO   __main__.RequiredDependencyException: zlib
1056954 INFO 
1056958 INFO   During handling of the above exception, another exception occurred:
1056961 INFO 
1056964 INFO   Traceback (most recent call last):
1056966 INFO     File "<string>", line 1, in <module>
1056970 INFO     File "/tmp/pip-install-hhqpx1uf/Pillow/setup.py", line 799, in <module>
1056975 INFO       raise RequiredDependencyException(msg)
1056979 INFO   __main__.RequiredDependencyException:
1056983 INFO 
1056986 INFO   The headers or library files could not be found for zlib,
1056990 INFO   a required dependency when compiling Pillow from source.
1056994 INFO 
1056998 INFO   Please see the install instructions at:
1057002 INFO      https://pillow.readthedocs.io/en/latest/installation.html
1057006 INFO 
1057009 INFO 
1057013 INFO 

install faild YNH 3.3.1 debian 9 gnome postgresql-contrib ok pc-notepad hp

WARNING Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-upyvofcf/ffmpeg-python/
1384290 DEBUG + ynh_exit_properly
1384291 WARNING !!
1384292 DEBUG + local exit_code=1
1384292 WARNING funkwhale's script has encountered an error. Its execution was cancelled.
1384293 DEBUG + '[' 1 -eq 0 ']'
1384293 WARNING !!
1384294 DEBUG + trap '' EXIT
1384294 WARNING
1384295 DEBUG + set +eu
1384295 DEBUG + echo -e '!!\n funkwhale'''s script has encountered an error. Its execution was cancelled.\n!!'
1384296 DEBUG + type -t ynh_clean_setup
1384296 DEBUG + ynh_die
1384297 DEBUG + echo ''
1384298 DEBUG + exit 1
1384506 INFO The operation 'Install 'funkwhale' application' has failed ! To get help, please share the full log of this operation using the command 'yunohost log display 20181201-081759-app_install-funkwhale --share'

Failed to install on Debian 9, missing postgresql-contrib

I just tried to install Funkwhale on Yunohost Debian 9 and got this failure:

Some kind of missing extension in Postgres, perhaps?

2018-10-06 14:13:57,176 INFO     moulinette.actionsmap process - processing action [30869.110]: yunohost.app.install
2018-10-06 14:14:17,168 WARNING  yunohost.hook <lambda> - [30869.110] debconf: unable to initialize frontend: Dialog
2018-10-06 14:14:17,170 WARNING  yunohost.hook <lambda> - [30869.110] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
2018-10-06 14:14:17,171 WARNING  yunohost.hook <lambda> - [30869.110] debconf: falling back to frontend: Readline
2018-10-06 14:14:17,171 WARNING  yunohost.hook <lambda> - [30869.110] debconf: unable to initialize frontend: Readline
2018-10-06 14:14:17,172 WARNING  yunohost.hook <lambda> - [30869.110] debconf: (This frontend requires a controlling tty.)
2018-10-06 14:14:17,173 WARNING  yunohost.hook <lambda> - [30869.110] debconf: falling back to frontend: Teletype
2018-10-06 14:14:17,173 WARNING  yunohost.hook <lambda> - [30869.110] dpkg-preconfigure: unable to re-open stdin:
2018-10-06 14:14:59,102 WARNING  yunohost.hook <lambda> - [30869.110] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
2018-10-06 14:14:59,102 WARNING  yunohost.hook <lambda> - [30869.110] Executing: /lib/systemd/systemd-sysv-install enable postgresql
2018-10-06 14:15:02,412 WARNING  yunohost.hook <lambda> - [30869.110] 2018-10-06 14:15:02 URL:https://code.eliotberriot.com/funkwhale/funkwhale/-/archive/0.16.3/funkwhale-0.16.3.tar.bz2 [7819013] -> "app.tar.bz2" [1]
2018-10-06 14:15:03,516 WARNING  yunohost.hook <lambda> - [30869.110] 2018-10-06 14:15:03 URL:https://code.eliotberriot.com/funkwhale/funkwhale/-/jobs/8866/artifacts/download [2979266/2979266] -> "app-frontend.zip" [1]
2018-10-06 14:15:54,260 WARNING  yunohost.hook <lambda> - [30869.110] Traceback (most recent call last):
2018-10-06 14:15:54,261 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/utils.py", line 85, in _execute
2018-10-06 14:15:54,261 WARNING  yunohost.hook <lambda> - [30869.110]     return self.cursor.execute(sql, params)
2018-10-06 14:15:54,262 WARNING  yunohost.hook <lambda> - [30869.110] psycopg2.OperationalError: could not open extension control file "/usr/share/postgresql/9.6/extension/unaccent.control": No such file or directory
2018-10-06 14:15:54,263 WARNING  yunohost.hook <lambda> - [30869.110] 
2018-10-06 14:15:54,263 WARNING  yunohost.hook <lambda> - [30869.110] 
2018-10-06 14:15:54,264 WARNING  yunohost.hook <lambda> - [30869.110] The above exception was the direct cause of the following exception:
2018-10-06 14:15:54,264 WARNING  yunohost.hook <lambda> - [30869.110] 
2018-10-06 14:15:54,265 WARNING  yunohost.hook <lambda> - [30869.110] Traceback (most recent call last):
2018-10-06 14:15:54,265 WARNING  yunohost.hook <lambda> - [30869.110]   File "api/manage.py", line 20, in <module>
2018-10-06 14:15:54,266 WARNING  yunohost.hook <lambda> - [30869.110]     execute_from_command_line(sys.argv)
2018-10-06 14:15:54,266 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
2018-10-06 14:15:54,267 WARNING  yunohost.hook <lambda> - [30869.110]     utility.execute()
2018-10-06 14:15:54,267 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 365, in execute
2018-10-06 14:15:54,267 WARNING  yunohost.hook <lambda> - [30869.110]     self.fetch_command(subcommand).run_from_argv(self.argv)
2018-10-06 14:15:54,268 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/base.py", line 288, in run_from_argv
2018-10-06 14:15:54,268 WARNING  yunohost.hook <lambda> - [30869.110]     self.execute(*args, **cmd_options)
2018-10-06 14:15:54,268 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/base.py", line 335, in execute
2018-10-06 14:15:54,269 WARNING  yunohost.hook <lambda> - [30869.110]     output = self.handle(*args, **options)
2018-10-06 14:15:54,269 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 200, in handle
2018-10-06 14:15:54,270 WARNING  yunohost.hook <lambda> - [30869.110]     fake_initial=fake_initial,
2018-10-06 14:15:54,270 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/executor.py", line 117, in migrate
2018-10-06 14:15:54,270 WARNING  yunohost.hook <lambda> - [30869.110]     state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
2018-10-06 14:15:54,271 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
2018-10-06 14:15:54,271 WARNING  yunohost.hook <lambda> - [30869.110]     state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
2018-10-06 14:15:54,271 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
2018-10-06 14:15:54,272 WARNING  yunohost.hook <lambda> - [30869.110]     state = migration.apply(state, schema_editor)
2018-10-06 14:15:54,272 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/migrations/migration.py", line 122, in apply
2018-10-06 14:15:54,272 WARNING  yunohost.hook <lambda> - [30869.110]     operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
2018-10-06 14:15:54,273 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/contrib/postgres/operations.py", line 19, in database_forwards
2018-10-06 14:15:54,273 WARNING  yunohost.hook <lambda> - [30869.110]     schema_editor.execute("CREATE EXTENSION IF NOT EXISTS %s" % schema_editor.quote_name(self.name))
2018-10-06 14:15:54,273 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/base/schema.py", line 133, in execute
2018-10-06 14:15:54,273 WARNING  yunohost.hook <lambda> - [30869.110]     cursor.execute(sql, params)
2018-10-06 14:15:54,274 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/utils.py", line 68, in execute
2018-10-06 14:15:54,274 WARNING  yunohost.hook <lambda> - [30869.110]     return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
2018-10-06 14:15:54,274 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
2018-10-06 14:15:54,275 WARNING  yunohost.hook <lambda> - [30869.110]     return executor(sql, params, many, context)
2018-10-06 14:15:54,275 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/utils.py", line 85, in _execute
2018-10-06 14:15:54,275 WARNING  yunohost.hook <lambda> - [30869.110]     return self.cursor.execute(sql, params)
2018-10-06 14:15:54,276 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/utils.py", line 89, in __exit__
2018-10-06 14:15:54,276 WARNING  yunohost.hook <lambda> - [30869.110]     raise dj_exc_value.with_traceback(traceback) from exc_value
2018-10-06 14:15:54,276 WARNING  yunohost.hook <lambda> - [30869.110]   File "/var/www/funkwhale/virtualenv/lib/python3.5/site-packages/django/db/backends/utils.py", line 85, in _execute
2018-10-06 14:15:54,277 WARNING  yunohost.hook <lambda> - [30869.110]     return self.cursor.execute(sql, params)
2018-10-06 14:15:54,277 WARNING  yunohost.hook <lambda> - [30869.110] django.db.utils.OperationalError: could not open extension control file "/usr/share/postgresql/9.6/extension/unaccent.control": No such file or directory
2018-10-06 14:15:54,277 WARNING  yunohost.hook <lambda> - [30869.110] 
2018-10-06 14:15:54,578 WARNING  yunohost.hook <lambda> - [30869.110] !!
2018-10-06 14:15:54,579 WARNING  yunohost.hook <lambda> - [30869.110]   funkwhale's script has encountered an error. Its execution was cancelled.
2018-10-06 14:15:54,579 WARNING  yunohost.hook <lambda> - [30869.110] !!
2018-10-06 14:15:54,580 WARNING  yunohost.hook <lambda> - [30869.110] 
2018-10-06 14:15:54,712 INFO     yunohost.log close - [30869.110] <strong>The operation 'Install 'funkwhale' application' has failed ! To get help, please <a href="#/tools/logs/20181006-141359-app_install-funkwhale">provide the full log of this operation</a></strong>
2018-10-06 14:15:55,840 WARNING  yunohost.hook <lambda> - [30869.110] Failed to stop funkwhale.target: Unit funkwhale.target not loaded.
2018-10-06 14:15:55,841 WARNING  yunohost.hook <lambda> - [30869.110] /etc/systemd/system/funkwhale.target wasn't deleted because it doesn't exist.
2018-10-06 14:16:08,881 WARNING  yunohost.hook <lambda> - [30869.110] Remove the user funkwhale

Failed installation (Logs)

Hello,
(I've asked for help on yunohost forum as well, will update both threads)

I was able to install Funkwhale on a home YNH server, now I’m trying to install it on a VPS (Kimsufi) but the installation is failing. It’s on a separate domain. My YNH installation is clean.

Here is the log : https://paste.yunohost.org/raw/zebunoxovi

Thanks for your help!

Removed media dir after backup restore

Hi there, I'm opening this ticket on behalf of marsxyz, since they lack the time to do so right now.

It seems Funkwhale's YunoHost package deletes existing media files when restoring a backup, which effectively prevent anything from playing afterward. The issue was spotted during an upgrade that went wrong, when trying to restore a backup. (Marsxyz had a separate backup, so the underlying data is not lost.)

I'm not exactly sure why, and hopefully marsxyz will share more details, but it may be related to the fact that media/music files are stored under the code/data directory. Since media files are not backed-up (because they're huge), maybe restoring code/ simply result in deleting the data dir? This is a purely hypothetical guess, maybe there is another reason.

Can't play anything after update

Hey,
I've just updated from yunohost admin, and now all my play button are gray, and I get this message. Can't play anything anymore. I have this message when I rollover the play button:

This track is not available in any library you have access to

Thanks for any help.

[VPS] [YNH_3.2] install KO

root@krashboyz:/home/admin# yunohost -v
yunohost:
  repo: stable
  version: 3.2.2
yunohost-admin:
  repo: stable
  version: 3.2.1
moulinette:
  repo: stable
  version: 3.2.0
ssowat:
  repo: stable
  version: 3.2.0

https://paste.yunohost.org/raw/izoqabeyek

2018-10-17 11:43:06,945: DEBUG -   Cloning https://github.com/EliotBerriot/PyMemoize.git (to revision django) to /tmp/pip-req-build-5ovsmll5
2018-10-17 11:43:07,447: DEBUG - fatal: unable to access 'https://github.com/EliotBerriot/PyMemoize.git/': gnutls_handshake() failed: Public key signature verification has failed.
2018-10-17 11:43:07,447: WARNING - Command "git clone -q https://github.com/EliotBerriot/PyMemoize.git /tmp/pip-req-build-5ovsmll5" failed with error code 128 in None
2018-10-17 11:43:07,548: DEBUG - + ynh_exit_properly
2018-10-17 11:43:07,548: WARNING - !!
2018-10-17 11:43:07,548: DEBUG - + local exit_code=1
2018-10-17 11:43:07,549: WARNING -   funkwhale's script has encountered an error. Its execution was cancelled.

Random "Network error" on music import

Hello,

This is an error I've had since I started using FW on YNH.

  • When importing files from the wep page, I randomly got a network error, on one or more specific file. And importing this file again create the same error. It's like some files are doomed and won't pass the importation.
  • It's not size related, I can import large file without issues.
  • All my music is tagged with Picard and perfectly recognized by FW.
  • My YNH is a dedicated servers (Kimsufi), 100 Mbps, I import from a solid Ethernet connection. Same error using wifi and from other geographical locations.

Can you please help me finding a log to know what happens ? I've looked in YNH admin > App > FW > Logs but nothing there.

Thanks!

Services & Logs missing from services list

The Funkwhale related services and their logs are missing from the YunoHost dashboard services list.

It would be useful to have them there so that we can view logs for issues and generally manage the services better.

Level 4 forced to one

For level 4 in YunoHost, the application have to support "ldap and HTTP AUTH".
This is not possible for now as the feature doesn't exist.
Ping @EliotBerriot

Upgrade to 0.17 failed

Bonjour @Jibec merci pour la mise a jour ^^
Malheureusement l'update a échoué chez moi en essayant depuis l'interface d'administration de yunohost de la v0.16.3 > 0.17

Voici mes logs:

2018-10-25 12:27:47,076: WARNING - mv: cannot stat '/var/www/funkwhale/!(code)': No such file or directory
2018-10-25 12:27:47,081: WARNING - mv: cannot stat '/var/www/funkwhale/code/data/media': No such file or directory
2018-10-25 12:27:47,084: WARNING - mv: cannot stat '/var/www/funkwhale/code/data/music': No such file or directory
2018-10-25 12:27:51,700: WARNING - The output directory is not empty
2018-10-25 12:27:51,803: WARNING - Backup failed, the upgrade process was aborted.
2018-10-25 12:27:51,945: ERROR - Impossible de mettre à jour funkwhale

J'ai ensuite désinstallé la v0.16.3 et réinstallé a neuf la v0.17 et là tout s'est bien passé, voici les logs:

2018-10-25 12:55:21,739: WARNING - debconf: unable to initialize frontend: Dialog
2018-10-25 12:55:21,759: WARNING - debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
2018-10-25 12:55:21,761: WARNING - debconf: falling back to frontend: Readline
2018-10-25 12:55:21,863: WARNING - debconf: unable to initialize frontend: Readline
2018-10-25 12:55:21,865: WARNING - debconf: (This frontend requires a controlling tty.)
2018-10-25 12:55:21,867: WARNING - debconf: falling back to frontend: Teletype
2018-10-25 12:55:21,869: WARNING - dpkg-preconfigure: unable to re-open stdin:
2018-10-25 12:55:39,636: WARNING - 2018-10-25 12:55:39 URL:https://code.eliotberriot.com/funkwhale/funkwhale/-/archive/0.17/funkwhale-0.17.tar.bz2 [10818181/10818181] -> "app.tar.bz2" [1]
2018-10-25 12:55:46,461: WARNING - 2018-10-25 12:55:46 URL:https://code.eliotberriot.com/funkwhale/funkwhale/-/jobs/11162/artifacts/download [2960426/2960426] -> "app-frontend.zip" [1]
2018-10-25 12:56:22,586: WARNING - Cache entry deserialization failed, entry ignored
2018-10-25 12:56:23,390: WARNING - Cache entry deserialization failed, entry ignored
2018-10-25 13:01:11,388: WARNING - Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x75b75420>
2018-10-25 13:01:11,459: WARNING - Traceback (most recent call last):
2018-10-25 13:01:11,461: WARNING -   File "/usr/lib/python3.5/weakref.py", line 117, in remove
2018-10-25 13:01:11,464: WARNING - TypeError: 'NoneType' object is not callable
2018-10-25 13:01:11,466: WARNING - Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x75b75420>
2018-10-25 13:01:11,468: WARNING - Traceback (most recent call last):
2018-10-25 13:01:11,470: WARNING -   File "/usr/lib/python3.5/weakref.py", line 117, in remove
2018-10-25 13:01:11,472: WARNING - TypeError: 'NoneType' object is not callable
2018-10-25 13:01:22,620: WARNING - Created symlink /etc/systemd/system/multi-user.target.wants/funkwhale-server.service → /etc/systemd/system/funkwhale-server.service.
2018-10-25 13:01:28,946: WARNING - Created symlink /etc/systemd/system/multi-user.target.wants/funkwhale-worker.service → /etc/systemd/system/funkwhale-worker.service.
2018-10-25 13:01:32,863: WARNING - Created symlink /etc/systemd/system/multi-user.target.wants/funkwhale-beat.service → /etc/systemd/system/funkwhale-beat.service.
2018-10-25 13:01:39,656: SUCCESS - La configuration de SSOwat a été générée
2018-10-25 13:01:39,659: SUCCESS - Installation terminée

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.