!LfWevXYWdhwVFvDXRf:matrix.org

funkwhale-troubleshooting

448 Members
**DEPRECATED** New spot : #funkwhale-support:tchncs.de List of open issues: https://dev.funkwhale.audio/funkwhale/funkwhale/issues, you can also ask your questions on https://governance.funkwhale.audio/g/246YOJ1m/funkwhale-support97 Servers

Load older messages


SenderMessageTime
9 Nov 2022
@devilsdesigns:matrix.orgDemonWarrior *

hey quick question has anyone else had this error in docker. I get this error upon startup heres my log. Any idea on how to fix this

funkwhale | + python /app/manage.py collectstatic --noinput
funkwhale | 2022-11-09 03:02:49,605 funkwhale_api.config INFO     Running with the following plugins enabled: funkwhale_api.contrib.scrobbler, funkwhale_api.contrib.listenbrainz, funkwhale_api.contrib.maloja
funkwhale | 
funkwhale | 167 static files copied to '/app/staticfiles'.
funkwhale | + gunicorn config.asgi:application -w 1 -k uvicorn.workers.UvicornWorker -b 0.0.0.0:5000
funkwhale | [2022-11-09 03:02:51 +0000] [9] [INFO] Starting gunicorn 20.1.0
funkwhale | [2022-11-09 03:02:51 +0000] [9] [INFO] Listening at: http://0.0.0.0:5000 (9)
funkwhale | [2022-11-09 03:02:51 +0000] [9] [INFO] Using worker: uvicorn.workers.UvicornWorker
funkwhale | [2022-11-09 03:02:51 +0000] [11] [INFO] Booting worker with pid: 11
funkwhale | 2022-11-09 03:02:51,754 funkwhale_api.config INFO     Running with the following plugins enabled: funkwhale_api.contrib.scrobbler, funkwhale_api.contrib.listenbrainz, funkwhale_api.contrib.maloja
funkwhale | [2022-11-09 03:02:52 +0000] [11] [INFO] Started server process [11]
funkwhale | [2022-11-09 03:02:52 +0000] [11] [INFO] Waiting for application startup.
funkwhale | [2022-11-09 03:02:52 +0000] [11] [INFO] ASGI 'lifespan' protocol appears unsupported.
funkwhale | [2022-11-09 03:02:52 +0000] [11] [INFO] Application startup complete.
03:13:36
@gcrk:tchncs.degcrk (he/him) DemonWarrior: This room is deprecated, please use #funkwhale-support:matrix.org 10:51:49
@gcrk:tchncs.degcrk (he/him)How did you came here? Is there an outdated link somewhere?10:51:57
@gcrk:tchncs.degcrk (he/him)For the logs, what exactly do you want to fix there? Looks good, doesn't it?10:52:28
@sporiff:matrix.org@sporiff:matrix.org

If you mean this:

[INFO] ASGI 'lifespan' protocol appears unsupported.

This isn't an error, it's just an informational message that comes from one of the packages. It doesn't cause any problems.

11:38:04
@vuitton:matrix.tu-berlin.de@vuitton:matrix.tu-berlin.de left the room.11:58:21
@gcrk:tchncs.degcrk (he/him) Ciarán Ainsworth: Go and relax! :P 12:25:09
@sporiff:matrix.org@sporiff:matrix.org
In reply to @gcrk:tchncs.de
Ciarán Ainsworth: Go and relax! :P
Okay, mom
12:52:11
@PureTryOut:matrix.org@PureTryOut:matrix.org joined the room.15:29:19
@PureTryOut:matrix.org@PureTryOut:matrix.org

Hi, I'm trying to deploy Funkwhale for the first time in a Docker environment (not using the docs docker-compose.yml though). I'm now trying to run the migrations but common.0001_initial.py is failing

Operations to perform:
  Apply all migrations: account, admin, audio, auth, authtoken, common, contenttypes, dynamic_preferences, favorites, federation, history, moderation, music, playlists, radios, requests, sessions, sites, socialaccount, tags, users
Running migrations:
  Applying common.0001_initial...Traceback (most recent call last):
  File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
psycopg2.errors.UndefinedFile: could not open extension control file "/usr/share/postgresql14/extension/unaccent.control": No such file or directory


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "./manage.py", line 27, in <module>
    execute_from_command_line(sys.argv)
  File "/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/venv/lib/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/venv/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/venv/lib/python3.8/site-packages/django/core/management/base.py", line 89, in wrapped
    res = handle_func(*args, **kwargs)
  File "/venv/lib/python3.8/site-packages/django/core/management/commands/migrate.py", line 244, in handle
    post_migrate_state = executor.migrate(
  File "/venv/lib/python3.8/site-packages/django/db/migrations/executor.py", line 117, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/venv/lib/python3.8/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/venv/lib/python3.8/site-packages/django/db/migrations/executor.py", line 227, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/venv/lib/python3.8/site-packages/django/db/migrations/migration.py", line 126, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/app/funkwhale_api/common/migrations/0001_initial.py", line 15, in database_forwards
    return super().database_forwards(app_label, schema_editor, from_state, to_state)
  File "/venv/lib/python3.8/site-packages/django/contrib/postgres/operations.py", line 25, in database_forwards
    schema_editor.execute(
  File "/venv/lib/python3.8/site-packages/django/db/backends/base/schema.py", line 145, in execute
    cursor.execute(sql, params)
  File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 66, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/venv/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
django.db.utils.OperationalError: could not open extension control file "/usr/share/postgresql14/extension/unaccent.control": No such file or directory

Probably because postgreSQL is not installed in this container, which makes sense. Any way to work around this?

15:31:00
@PureTryOut:matrix.org@PureTryOut:matrix.orgOh I just saw the message saying this room is deprecated? As for how I came here, the room alias is listed on https://funkwhale.audio/en_GB/community. The Matrix alias should probably be removed from this room and attached to the new room instead 15:32:05
@gcrk:tchncs.degcrk (he/him)
In reply to @PureTryOut:matrix.org
Oh I just saw the message saying this room is deprecated? As for how I came here, the room alias is listed on https://funkwhale.audio/en_GB/community.
The Matrix alias should probably be removed from this room and attached to the new room instead
We can't but we can change the link there. thanks for the pointer
15:43:12
@PureTryOut:matrix.org@PureTryOut:matrix.orgYou can't remove the alias here? Why not?15:43:49
@PureTryOut:matrix.org@PureTryOut:matrix.orgoh nvm I see why15:43:59
@PureTryOut:matrix.org@PureTryOut:matrix.orgroom version 1, state reset fun15:44:07
@PureTryOut:matrix.org@PureTryOut:matrix.org@Eliot:matrix.org should be able to upgrade the room and remove it that way I suppose, but state resets make things hard. Well I'll just leave this room then and move over to the other one 👋15:45:08
@PureTryOut:matrix.org@PureTryOut:matrix.org left the room.15:45:13
@devilsdesigns:matrix.orgDemonWarrior
In reply to @gcrk:tchncs.de
How did you came here? Is there an outdated link somewhere?
I got this link from your docs on your GitHub wiki. There's a lot of outdated docs for docker tbh. But when I run that docker container no webui loads. I can't load the local port and 127.0.0.1:5000 on my browser
15:49:30
@devilsdesigns:matrix.orgDemonWarriorI also tried adding the port to allow it in my firewall15:49:57
@gcrk:tchncs.degcrk (he/him)
In reply to @devilsdesigns:matrix.org
I got this link from your docs on your GitHub wiki. There's a lot of outdated docs for docker tbh. But when I run that docker container no webui loads. I can't load the local port and 127.0.0.1:5000 on my browser
We are not on github
16:08:08
@gcrk:tchncs.degcrk (he/him)You are probably running the all in one container, which is not maintained by us and we stopped supporting it 16:08:42
@devilsdesigns:matrix.orgDemonWarriorNo I'm using funkwhale/funkwhale docker that's one of the pornoems with your docs its very outdated 17:09:13
@devilsdesigns:matrix.orgDemonWarrior* No I'm using funkwhale/funkwhale docker that's one of the problems with your docs its very outdated 17:09:24
@devilsdesigns:matrix.orgDemonWarriorIt's ok I'm just going to use navidrome tbh support and docs are better17:10:03
@gcrk:tchncs.degcrk (he/him)We just did a major refactoring of the docs, its a bit hidden for now until the next release. But I am still wondering where you are referring to a github wiki? Anyways, you are free to use what fits best, enjoy navidrome! :)18:19:21
@devilsdesigns:matrix.orgDemonWarriorhttps://docs.funkwhale.audio/18:37:58
@devilsdesigns:matrix.orgDemonWarriorthats where i followed on the install18:38:06
@devilsdesigns:matrix.orgDemonWarriorand thank you. Ill check it out on the new release when there is more up to date documentation. Still want to give it a try just has too many unknown errors right now and not enough documentation to diagnose18:38:50
@gcrk:tchncs.degcrk (he/him)Just click in the bottom left corner on the version picker and select develop for the new and shiny docs18:40:13
@devilsdesigns:matrix.orgDemonWarriorAaah that would help thank you18:45:26

Show newer messages


Back to Room ListRoom Version: