# Upgrade funkwhale failed

**URL:** <https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028>\
**Category:** Support\
**Tags:** update, bug, french, english\
**Created:** [April 9, 2026, 6:36pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028 "2026-04-09T18:36:44Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjinh](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cjinh/32/4523_2.png) [@cjinh](https://forum.yunohost.org/u/cjinh)\
**Post date:** [April 9, 2026, 6:36pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/1 "2026-04-09T18:36:44Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 12.1.39  
**How are you able to access your server** : The webadmin  
SSH

### Describe your issue

Upgrade funkwhale from 1.4.1 to 2.0.1 failed

### Share relevant logs or error messages

2026-04-09 19:06:13,977: INFO - [##########+…] \> Upgrading Funkwhale…  
2026-04-09 19:06:13,980: DEBUG - + pushd /var/www/funkwhale  
2026-04-09 19:06:13,981: DEBUG - /var/www/funkwhale /var/cache/yunohost/app\_tmp\_work\_dirs/app\_ekknnsmj/scripts  
2026-04-09 19:06:13,982: DEBUG - + ynh\_hide\_warnings ynh\_exec\_as\_app /var/www/funkwhale/venv/bin/funkwhale-manage migrate  
2026-04-09 19:06:13,982: DEBUG - + ynh\_exec\_as\_app /var/www/funkwhale/venv/bin/funkwhale-manage migrate  
2026-04-09 19:06:13,983: DEBUG - + sudo -u funkwhale env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK\_ENABLE\_DOWNLOAD\_PROMPT=0 NPM\_CONFIG\_UPDATE\_NOTIFIER=false /var/www/funkwhale/venv/bin/funkwhale-manage migrate  
2026-04-09 19:06:14,714: DEBUG - 2026-04-09 19:06:14,713 funkwhale\_api.config INFO Loaded env file at /var/www/funkwhale/config/.env  
2026-04-09 19:06:14,715: DEBUG - 2026-04-09 19:06:14,714 funkwhale\_api.config INFO Running with the following plugins enabled: funkwhale\_api.contrib.scrobbler, funkwhale\_api.contrib.listenbrainz, funkwhale\_api.contrib.maloja  
2026-04-09 19:06:16,411: DEBUG - /usr/share/yunohost/helpers.v2.1.d/0-utils : ligne 76 : 2353703 Instruction non permise sudo -u “$app” env PATH=“$PATH” COREPACK\_ENABLE\_DOWNLOAD\_PROMPT=“0” NPM\_CONFIG\_UPDATE\_NOTIFIER=“false” “$@”  
2026-04-09 19:06:16,412: DEBUG - + ynh\_exit\_properly

---

<div class="post-metadata">

**Author:** ![Tho](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tho/32/3667_2.png) [@Tho](https://forum.yunohost.org/u/Tho)\
**Post date:** [April 9, 2026, 7:04pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/2 "2026-04-09T19:04:49Z")

</div>

How old is uour cpu? It may be because of this ([Making sure you're not a bot!](https://dev.funkwhale.audio/funkwhale/funkwhale/-/issues?show=eyJpaWQiOiIyNjYwIiwiZnVsbF9wYXRoIjoiZnVua3doYWxlL2Z1bmt3aGFsZSIsImlkIjo1NjA1fQ%3D%3D))

---

<div class="post-metadata">

**Author:** ![cjinh](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cjinh/32/4523_2.png) [@cjinh](https://forum.yunohost.org/u/cjinh)\
**Post date:** [April 9, 2026, 8:34pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/3 "2026-04-09T20:34:58Z")

</div>

It is AMD Athlon™ 64 X2 Dual Core Processor 3800+

First dual core gen an antiquity 🫡

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [April 9, 2026, 9:09pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/4 "2026-04-09T21:09:48Z")

</div>

I’m actively trying to solve this issue™

The problems identified so far are with `numpy` and `nmslib` both requiring AVX instruction set (aka `X86_V2` compatibility) which is not found on my antique Bonnell-era Atom.

Generally speaking current solution is to switch to another player (Navidrome, Swingmusic, you name it) or stay with Funkwhale 1.4.1

Short term solution is to keep your fingers crossed then modify `venv` with a bunch of shoddy libraries I’m brewing right now 🤷

---

<div class="post-metadata">

**Author:** ![cjinh](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cjinh/32/4523_2.png) [@cjinh](https://forum.yunohost.org/u/cjinh)\
**Post date:** [April 10, 2026, 11:46am UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/5 "2026-04-10T11:46:42Z")

</div>

argh I know the issue with avx

I’ll waiting for your fix and see next … Just let me know

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [April 10, 2026, 1:28pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/6 "2026-04-10T13:28:10Z")

</div>

The fix is here, with lacking quality so not for merging yet:

```auto
yunohost app upgrade funkwhale -u https://github.com/YunoHost-Apps/funkwhale_ynh/tree/avx-fix

```

This takes `numpy` library compiled for SSE3 and drops it into `venv` prior to running migrations.

Note that Funkwhale takes a while to migrate and a while to regain consciousness, even after successfull upgrade.

---

<div class="post-metadata">

**Author:** ![cjinh](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cjinh/32/4523_2.png) [@cjinh](https://forum.yunohost.org/u/cjinh)\
**Post date:** [April 18, 2026, 8:04am UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/7 "2026-04-18T08:04:18Z")

</div>

I give a try

I need to create empty file to begin the update process

> Attention : File or folder ‘/etc/fail2ban/jail.d/funkwhale.conf’ to be backed up does not exist  
> Erreur : Échec de la collecte des fichiers à sauvegarder pour funkwhale.

and

> Attention : File or folder ‘/etc/fail2ban/filter.d/funkwhale.conf’ to be backed up does not exist  
> Erreur : Échec de la collecte des fichiers à sauvegarder pour funkwhale.

and failed

> Attention : Failed to update sources : Échec du téléchargement de la ressource ‘api’ ( [Making sure you're not a bot!](http://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/artifacts/2.0.1/download?job=build_api) ) pour funkwhale : [Making sure you're not a bot!](https://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/artifacts/2.0.1/download?job=build_api:)  
> 2026-04-18 10:02:04 erreur 404 : Not Found.
> 
> Info : Reverting sources…  
> Erreur : L’allocation automatique des ressources (provisioning), la suppression d’accès à ces ressources (déprovisioning) ou la mise à jour des ressources pour funkwhale a échoué : Échec du téléchargement de la ressource ‘api’ ( [Making sure you're not a bot!](http://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/artifacts/2.0.1/download?job=build_api) ) pour funkwhale : [Making sure you're not a bot!](https://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/artifacts/2.0.1/download?job=build_api:)  
> 2026-04-18 10:02:04 erreur 404 : Not Found.

🫠

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [April 18, 2026, 10:21am UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/8 "2026-04-18T10:21:01Z")

</div>

Please try again, the upstream assets are gone hence a fix was pushed to `master` and said fix was missing from my branch.

---

<div class="post-metadata">

**Author:** ![cjinh](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cjinh/32/4523_2.png) [@cjinh](https://forum.yunohost.org/u/cjinh)\
**Post date:** [April 18, 2026, 10:48am UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/9 "2026-04-18T10:48:09Z")

</div>

Another error

back to Instruction non permise sudo -u “$app” env PATH=“$PATH”

> Info : Updating database…  
> Info : [+…] \> Stopping funkwhale’s systemd service…  
> Info : [#+…] \> Configuring the PostgreSQL database…  
> Attention : NOTICE: l’extension « unaccent » existe déjà, poursuite du traitement  
> Attention : NOTICE: l’extension « citext » existe déjà, poursuite du traitement  
> Info : [##++…] \> Upgrading source files…  
> Info : [####+…] \> Upgrading NGINX web server configuration…  
> Info : [#####++…] \> Assure correct permissions to /home/yunohost.app/funkwhale…  
> Info : [#######+…] \> Installing Python dependencies…  
> Info : [########++…] \> Updating configuration…  
> Info : [##########+…] \> Upgrading Funkwhale…  
> Erreur : Impossible de mettre à jour funkwhale : Une erreur s’est produite durant l’exécution du script de mise à jour de l’application  
> Info : L’opération ‘Mettre à jour l’application ‘funkwhale’’ a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en utilisant la commande ‘yunohost log share 20260418-104131-app\_upgrade-funkwhale’  
> Attention : Here’s an extract of the logs before the crash. It might help debugging the error:  
> Info : DEBUG - ++ grep -oP ‘**[A-Z0-9]+?[A-Z0-9\_]_?[A-Z0-9]_?**’ /var/www/funkwhale/config/.env  
> Info : DEBUG - + ynh\_store\_file\_checksum /var/www/funkwhale/config/.env  
> Info : INFO - [##########+…] \> Upgrading Funkwhale…  
> Info : DEBUG - + pushd /var/www/funkwhale  
> Info : DEBUG - /var/www/funkwhale /var/cache/yunohost/app\_tmp\_work\_dirs/app\_96l31svm/scripts  
> Info : DEBUG - + ynh\_hide\_warnings ynh\_exec\_as\_app /var/www/funkwhale/venv/bin/funkwhale-manage migrate  
> Info : DEBUG - + ynh\_exec\_as\_app /var/www/funkwhale/venv/bin/funkwhale-manage migrate  
> Info : DEBUG - + sudo -u funkwhale env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK\_ENABLE\_DOWNLOAD\_PROMPT=0 NPM\_CONFIG\_UPDATE\_NOTIFIER=false /var/www/funkwhale/venv/bin/funkwhale-manage migrate  
> Info : DEBUG - 2026-04-18 12:46:39,186 funkwhale\_api.config INFO Loaded env file at /var/www/funkwhale/config/.env  
> Info : DEBUG - 2026-04-18 12:46:39,186 funkwhale\_api.config INFO Running with the following plugins enabled: funkwhale\_api.contrib.scrobbler, funkwhale\_api.contrib.listenbrainz, funkwhale\_api.contrib.maloja  
> Info : DEBUG - /var/www/funkwhale/venv/lib/python3.11/site-packages/dj\_rest\_auth/registration/serializers.py:225: UserWarning: app\_settings.USERNAME\_REQUIRED is deprecated, use: app\_settings.SIGNUP\_FIELDS[‘username’][‘required’]  
> Info : DEBUG - required=allauth\_account\_settings.USERNAME\_REQUIRED,  
> Info : DEBUG - /var/www/funkwhale/venv/lib/python3.11/site-packages/dj\_rest\_auth/registration/serializers.py:227: UserWarning: app\_settings.EMAIL\_REQUIRED is deprecated, use: app\_settings.SIGNUP\_FIELDS[‘email’][‘required’]  
> Info : DEBUG - email = serializers.EmailField(required=allauth\_account\_settings.EMAIL\_REQUIRED)  
> Info : DEBUG - /var/www/funkwhale/venv/lib/python3.11/site-packages/dj\_rest\_auth/registration/serializers.py:285: UserWarning: app\_settings.EMAIL\_REQUIRED is deprecated, use: app\_settings.SIGNUP\_FIELDS[‘email’][‘required’]  
> Info : DEBUG - email = serializers.EmailField(required=allauth\_account\_settings.EMAIL\_REQUIRED)  
> Info : DEBUG - 2026-04-18 10:46:44,199 funkwhale\_api.typesense.utils INFO Typesense is not activated. You can enable it by setting the TYPESENSE\_API\_KEY env variable.  
> Info : DEBUG - 2026-04-18 10:46:44,199 funkwhale\_api.typesense.tasks INFO Typesense is not activated. You can enable it by setting the TYPESENSE\_API\_KEY env variable.  
> Info : DEBUG - /usr/share/yunohost/helpers.v2.1.d/0-utils : ligne 76 : 2829115 Instruction non permise sudo -u “$app” env PATH=“$PATH” COREPACK\_ENABLE\_DOWNLOAD\_PROMPT=“0” NPM\_CONFIG\_UPDATE\_NOTIFIER=“false” “$@”  
> Info : DEBUG - + ynh\_exit\_properly

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [April 18, 2026, 1:58pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/10 "2026-04-18T13:58:11Z")

</div>

Can you share full upgrade log? What are the `flags` if you type `cat /proc/cpuinfo`?

---

<div class="post-metadata">

**Author:** ![cjinh](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cjinh/32/4523_2.png) [@cjinh](https://forum.yunohost.org/u/cjinh)\
**Post date:** [April 18, 2026, 2:00pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/11 "2026-04-18T14:00:36Z")

</div>

[https://paste.yunohost.org/raw/napeyicihi](https://paste.yunohost.org/raw/napeyicihi)

> cat /proc/cpuinfo  
> cat /proc/cpuinfo  
> processor : 0  
> vendor\_id : AuthenticAMD  
> cpu family : 15  
> model : 75  
> model name : AMD Athlon™ 64 X2 Dual Core Processor 3800+  
> stepping : 2  
> microcode : 0x62  
> cpu MHz : 2009.223  
> cache size : 512 KB  
> physical id : 0  
> siblings : 2  
> core id : 0  
> cpu cores : 2  
> apicid : 0  
> initial apicid : 0  
> fpu : yes  
> fpu\_exception : yes  
> cpuid level : 1  
> wp : yes  
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr\_opt rdtscp lm 3dnowext 3dnow rep\_good nopl cpuid extd\_apicid pni cx16 lahf\_lm cmp\_legacy svm extapic cr8\_legacy 3dnowprefetch vmmcall  
> bugs : fxsave\_leak sysret\_ss\_attrs null\_seg swapgs\_fence amd\_e400 spectre\_v1 spectre\_v2  
> bogomips : 4018.44  
> TLB size : 1024 4K pages  
> clflush size : 64  
> cache\_alignment : 64  
> address sizes : 40 bits physical, 48 bits virtual  
> power management: ts fid vid ttp tm stc
> 
> processor : 1  
> vendor\_id : AuthenticAMD  
> cpu family : 15  
> model : 75  
> model name : AMD Athlon™ 64 X2 Dual Core Processor 3800+  
> stepping : 2  
> microcode : 0x62  
> cpu MHz : 2009.223  
> cache size : 512 KB  
> physical id : 0  
> siblings : 2  
> core id : 1  
> cpu cores : 2  
> apicid : 1  
> initial apicid : 1  
> fpu : yes  
> fpu\_exception : yes  
> cpuid level : 1  
> wp : yes  
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr\_opt rdtscp lm 3dnowext 3dnow rep\_good nopl cpuid extd\_apicid pni cx16 lahf\_lm cmp\_legacy svm extapic cr8\_legacy 3dnowprefetch vmmcall  
> bugs : fxsave\_leak sysret\_ss\_attrs null\_seg swapgs\_fence amd\_e400 spectre\_v1 spectre\_v2  
> bogomips : 4018.51  
> TLB size : 1024 4K pages  
> clflush size : 64  
> cache\_alignment : 64  
> address sizes : 40 bits physical, 48 bits virtual  
> power management: ts fid vid ttp tm stc

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [April 18, 2026, 3:54pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/12 "2026-04-18T15:54:01Z")

</div>

Makes sense, I’ve baked in sse3 requirement.

will get back to you

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [April 18, 2026, 8:53pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/13 "2026-04-18T20:53:40Z")

</div>

Ok, the new update package:

```auto
yunohost app upgrade funkwhale -u https://github.com/YunoHost-Apps/funkwhale_ynh/tree/athlon-fix

```

This time around optimized for Athlon64 (so your CPU 🤞 )

---

<div class="post-metadata">

**Author:** ![cjinh](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cjinh/32/4523_2.png) [@cjinh](https://forum.yunohost.org/u/cjinh)\
**Post date:** [April 19, 2026, 7:34am UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/14 "2026-04-19T07:34:06Z")

</div>

😭 not yet

```auto
2026-04-19 09:28:24,969: DEBUG - + sudo -u funkwhale env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 NPM_CONFIG_UPDATE_NOTIFIER=false /var/www/funkwhale/venv/bin/funkwhale-manage migrate
2026-04-19 09:28:25,606: DEBUG - 2026-04-19 09:28:25,605 funkwhale_api.config INFO Loaded env file at /var/www/funkwhale/config/.env
2026-04-19 09:28:25,606: DEBUG - 2026-04-19 09:28:25,606 funkwhale_api.config INFO Running with the following plugins enabled: funkwhale_api.contrib.scrobbler, funkwhale_api.contrib.listenbrainz, funkwhale_api.contrib.maloja
2026-04-19 09:28:27,143: DEBUG - /usr/share/yunohost/helpers.v2.1.d/0-utils : ligne 76 : 2880391 Instruction non permise sudo -u "$app" env PATH="$PATH" COREPACK_ENABLE_DOWNLOAD_PROMPT="0" NPM_CONFIG_UPDATE_NOTIFIER="false" "$@"

```

[https://paste.yunohost.org/raw/badicuneba](https://paste.yunohost.org/raw/badicuneba)

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [April 19, 2026, 10:01am UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/15 "2026-04-19T10:01:17Z")

</div>

I must admit I’m out of ideas when it comes to prepackaged solutions. I have no clue what instruction your CPU refuses and I have no easy way of remote debugging.

You can try building locally with `-march=native` but keep in mind that’s a multi-hour adventure on this grade of hardware

---

<div class="post-metadata">

**Author:** ![cjinh](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cjinh/32/4523_2.png) [@cjinh](https://forum.yunohost.org/u/cjinh)\
**Post date:** [April 19, 2026, 11:35am UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/16 "2026-04-19T11:35:08Z")

</div>

How can I try this ? Or help to debug ?

I give a try

> sudo yunohost app upgrade funkwhale -u [GitHub - YunoHost-Apps/funkwhale\_ynh at athlon-fix · GitHub](https://github.com/YunoHost-Apps/funkwhale_ynh/tree/athlon-fix) -march=native  
> [sudo] Mot de passe de user :  
> usage: yunohost {app} … [-h] [–output-as {json,plain,none}] [–debug] [–quiet] [–version] [–timeout ==SUPPRESS==]  
> yunohost: error: unrecognized arguments: -march=native  
> zsh: exit 2 sudo yunohost app upgrade funkwhale -u -march=native

Thanks you for the time you spend to help me

May be I can give a try to rebuild the venv manually like this ?

> <https://github.com/YunoHost-Apps/funkwhale_ynh/issues/114#issuecomment-667529738>
>
> Since migration to Buster, I cannot use Funkwhale anymore. On any web browser it… shows \`502 Bad Gateway - nginx\`, and on Android via Otter, it doesn’t say anything but I can’t play not downloaded tracks.
> 
> In my Yunohost webadmin, I see that none of my funkwhale services works...
> \`funkwhale-beat\` doesn’t work for a while (see https://github.com/YunoHost-Apps/funkwhale\_ynh/issues/111), but it didn’t affect my user experience, since all worked good. 
> 
> But now, \`funkwhale-server\` doesn’t work anymore too :
> 
> Journalctl 
> 
> \`\`\`
> \-- Logs begin at Thu 2020-07-30 11:32:45 CEST, end at Thu 2020-07-30 15:01:56 CEST. --
> jui 30 11:33:28 systemd\[1\]: Started Funkwhale (funkwhale) application server.
> \-- Subject: L'unité (unit) funkwhale-server.service a terminé son démarrage
> \-- Defined-By: systemd
> \-- Support: https://www.debian.org/support
> \-- 
> \-- L'unité (unit) funkwhale-server.service a terminé son démarrage, avec le résultat done.
> jui 30 11:33:30 funkwhale-server\[1435\]: Could not find platform independent libraries \<prefix\>
> jui 30 11:33:30 funkwhale-server\[1435\]: Could not find platform dependent libraries \<exec\_prefix\>
> jui 30 11:33:30 funkwhale-server\[1435\]: Consider setting $PYTHONHOME to \<prefix\>\[:\<exec\_prefix\>\]
> jui 30 11:33:30 funkwhale-server\[1435\]: Fatal Python error: Py\_Initialize: Unable to get the locale encoding
> jui 30 11:33:30 funkwhale-server\[1435\]: ImportError: No module named 'encodings'
> jui 30 11:33:30 funkwhale-server\[1435\]: Current thread 0x00007f1127ce9740 (most recent call first):
> jui 30 11:33:30 systemd\[1\]: funkwhale-server.service: Main process exited, code=killed, status=6/ABRT
> \-- Subject: Unit process exited
> \-- Defined-By: systemd
> \-- Support: https://www.debian.org/support
> \-- 
> \-- An ExecStart= process belonging to unit funkwhale-server.service has exited.
> \-- 
> \-- The process' exit code is 'killed' and its exit status is 6.
> jui 30 11:33:30 systemd\[1\]: funkwhale-server.service: Failed with result 'signal'.
> \-- Subject: Unit failed
> \-- Defined-By: systemd
> \-- Support: https://www.debian.org/support
> \-- 
> \-- The unit funkwhale-server.service has entered the 'failed' state with result 'signal'.
> \`\`\`
> 
> Nor \`funkwhale-worker\` : 
> 
> Journalctl 
> 
> \`\`\`
> \-- Logs begin at Thu 2020-07-30 11:32:45 CEST, end at Thu 2020-07-30 15:03:14 CEST. --
> jui 30 11:33:28 systemd\[1\]: Started Funkwhale (funkwhale) celery worker.
> \-- Subject: L'unité (unit) funkwhale-worker.service a terminé son démarrage
> \-- Defined-By: systemd
> \-- Support: https://www.debian.org/support
> \-- 
> \-- L'unité (unit) funkwhale-worker.service a terminé son démarrage, avec le résultat done.
> jui 30 11:33:30 funkwhale-worker\[1433\]: Could not find platform independent libraries \<prefix\>
> jui 30 11:33:30 funkwhale-worker\[1433\]: Could not find platform dependent libraries \<exec\_prefix\>
> jui 30 11:33:30 funkwhale-worker\[1433\]: Consider setting $PYTHONHOME to \<prefix\>\[:\<exec\_prefix\>\]
> jui 30 11:33:30 funkwhale-worker\[1433\]: Fatal Python error: Py\_Initialize: Unable to get the locale encoding
> jui 30 11:33:30 funkwhale-worker\[1433\]: ImportError: No module named 'encodings'
> jui 30 11:33:30 funkwhale-worker\[1433\]: Current thread 0x00007f328ffa9740 (most recent call first):
> jui 30 11:33:30 systemd\[1\]: funkwhale-worker.service: Main process exited, code=killed, status=6/ABRT
> \-- Subject: Unit process exited
> \-- Defined-By: systemd
> \-- Support: https://www.debian.org/support
> \-- 
> \-- An ExecStart= process belonging to unit funkwhale-worker.service has exited.
> \-- 
> \-- The process' exit code is 'killed' and its exit status is 6.
> jui 30 11:33:30 systemd\[1\]: funkwhale-worker.service: Failed with result 'signal'.
> \-- Subject: Unit failed
> \-- Defined-By: systemd
> \-- Support: https://www.debian.org/support
> \-- 
> \-- The unit funkwhale-worker.service has entered the 'failed' state with result 'signal'.
> \`\`\`
> 
> /var/log/funkwhale/worker.log
> 
> \`\`\`
> \[2020-07-28 10:23:25,764: INFO/ForkPoolWorker-1\] Task music.process\_upload\[211d0088-49a5-4b92-b55a-d23fbbc24ba6\] succeeded in 0.3301509249722585s: None
> \[2020-07-28 10:23:26,504: INFO/MainProcess\] Received task: music.process\_upload\[dc4c3724-8d7b-4510-99ab-3f59bc76a2b1\]  
> \[2020-07-28 10:23:26,828: INFO/ForkPoolWorker-1\] Task music.process\_upload\[dbd6e5a2-e959-4fbe-931d-618263093e45\] succeeded in 0.3229991199914366s: None
> \[2020-07-28 10:23:29,263: INFO/ForkPoolWorker-1\] Task music.process\_upload\[dc4c3724-8d7b-4510-99ab-3f59bc76a2b1\] succeeded in 1.322529370081611s: None
> \[2020-07-28 10:23:29,627: INFO/MainProcess\] Received task: music.process\_upload\[99160046-f8c6-4ae8-beaf-0baf9eda066f\]  
> \[2020-07-28 10:23:30,037: INFO/ForkPoolWorker-1\] Task music.process\_upload\[99160046-f8c6-4ae8-beaf-0baf9eda066f\] succeeded in 0.4051989340223372s: None
> \[2020-07-28 10:23:30,763: INFO/MainProcess\] Received task: music.process\_upload\[afabb99b-d89b-4497-bd3c-58ee846f3387\]  
> \[2020-07-28 10:23:31,043: INFO/ForkPoolWorker-1\] Task music.process\_upload\[afabb99b-d89b-4497-bd3c-58ee846f3387\] succeeded in 0.27827389899175614s: None
> \[2020-07-28 10:23:31,852: INFO/MainProcess\] Received task: music.process\_upload\[db910d83-d7e9-4240-bb9e-b1ca750b84af\]  
> \[2020-07-28 10:23:32,157: INFO/ForkPoolWorker-1\] Task music.process\_upload\[db910d83-d7e9-4240-bb9e-b1ca750b84af\] succeeded in 0.30211962398607284s: None
> \[2020-07-28 10:23:35,594: INFO/MainProcess\] Received task: music.process\_upload\[6960a683-b596-47b3-b786-d548fdd5e5f4\]  
> \[2020-07-28 10:23:35,764: INFO/ForkPoolWorker-1\] Task music.process\_upload\[6960a683-b596-47b3-b786-d548fdd5e5f4\] succeeded in 0.16806725098285824s: None
> \[2020-07-28 10:23:36,651: INFO/MainProcess\] Received task: music.process\_upload\[1228e270-c372-4120-9b0e-418e09cff1b1\]  
> \[2020-07-28 10:23:36,875: INFO/ForkPoolWorker-1\] Task music.process\_upload\[1228e270-c372-4120-9b0e-418e09cff1b1\] succeeded in 0.22214662202168256s: None
> \[2020-07-28 10:23:37,640: INFO/MainProcess\] Received task: music.process\_upload\[02297dc3-3c33-404e-868b-2457e0434a6b\]  
> \[2020-07-28 10:23:38,735: INFO/ForkPoolWorker-1\] Task music.process\_upload\[02297dc3-3c33-404e-868b-2457e0434a6b\] succeeded in 0.18574562401045114s: None
> \[2020-07-29 20:18:33,718: WARNING/MainProcess\] consumer: Connection to broker lost. Trying to re-establish the connection...
> Traceback (most recent call last):
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/celery/worker/consumer/consumer.py", line 318, in start
> blueprint.start(self)
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/celery/bootsteps.py", line 119, in start
> step.start(parent)
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/celery/worker/consumer/consumer.py", line 596, in start
> c.loop(\*c.loop\_args())
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/celery/worker/loops.py", line 91, in asynloop
> next(loop)
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/kombu/asynchronous/hub.py", line 362, in create\_loop
> cb(\*cbargs)
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/kombu/transport/redis.py", line 1052, in on\_readable
> self.cycle.on\_readable(fileno)
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/kombu/transport/redis.py", line 348, in on\_readable
> chan.handlers\[type\]()
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/kombu/transport/redis.py", line 679, in \_receive
> ret.append(self.\_receive\_one(c))
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/kombu/transport/redis.py", line 690, in \_receive\_one
> response = c.parse\_response()
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/redis/client.py", line 3453, in parse\_response
> response = self.\_execute(conn, conn.read\_response)
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/redis/client.py", line 3427, in \_execute
> return command(\*args, \*\*kwargs)
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/redis/connection.py", line 734, in read\_response
> response = self.\_parser.read\_response()
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/redis/connection.py", line 463, in read\_response
> self.read\_from\_socket()
> File "/var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages/redis/connection.py", line 422, in read\_from\_socket
> raise ConnectionError(SERVER\_CLOSED\_CONNECTION\_ERROR)
> redis.exceptions.ConnectionError: Connection closed by server.
> \[2020-07-29 20:18:39,217: INFO/MainProcess\] Connected to redis://127.0.0.1:6379/1
> \[2020-07-29 20:18:39,237: INFO/MainProcess\] mingle: searching for neighbors
> \[2020-07-29 20:18:40,269: INFO/MainProcess\] mingle: all alone
> \`\`\`
> 
> I would love to see this package work again, I use it a lot and with joy 😃

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [April 19, 2026, 4:30pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/17 "2026-04-19T16:30:04Z")

</div>

The `venv` was regenerated for this upgrade, the problem is upstream projects ship binaries compiled for a more demanding CPU.

What I did to track down the root cause was to install the upgrade allowing broken install, then run `python` under `gdb` to find the offending instruction and file - that’s how I narrowed it down to `numpy`.

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [May 19, 2026, 4:31pm UTC](https://forum.yunohost.org/t/upgrade-funkwhale-failed/42028/18 "2026-05-19T16:31:00Z")

</div>

Closed on May 19, 2026, 4:31pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
