Hello all!
Thanks for the new update!
Since I tested it, I’ve an issue with my funkwhale-worker.service
, see logs below:
[2023-12-14 08:42:22,977: INFO/MainProcess] Connected to redis://127.0.0.1:6379/1
[2023-12-14 08:42:22,989: INFO/MainProcess] mingle: searching for neighbors
[1568530]: [2023-12-14 08:42:23,014: CRITICAL/MainProcess] Unrecoverable error: ContentDisallowed('Refusing to deserialize untrusted content of type pickle (application/x-python-serialize)')
[1568530]: Traceback (most recent call last):
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/celery/worker/worker.py", line 203, in start
[1568530]: self.blueprint.start(self)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/celery/bootsteps.py", line 116, in start
[1568530]: step.start(parent)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/celery/bootsteps.py", line 365, in start
[1568530]: return self.obj.start()
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/celery/worker/consumer/consumer.py", line 332, in start
[1568530]: blueprint.start(self)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/celery/bootsteps.py", line 116, in start
[1568530]: step.start(parent)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/celery/worker/consumer/mingle.py", line 37, in start
[1568530]: self.sync(c)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/celery/worker/consumer/mingle.py", line 41, in
sync
[1568530]: replies = self.send_hello(c)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/celery/worker/consumer/mingle.py", line 54, in
send_hello
[1568530]: replies = inspect.hello(c.hostname, our_revoked._data) or {}
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/celery/app/control.py", line 389, in hello
[1568530]: return self._request('hello', from_node=from_node, revoked=revoked)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/celery/app/control.py", line 106, in _request
[1568530]: return self._prepare(self.app.control.broadcast(
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/celery/app/control.py", line 741, in broadcast
[1568530]: return self.mailbox(conn)._broadcast(
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/pidbox.py", line 344, in _broadcast
[1568530]: return self._collect(reply_ticket, limit=limit,
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/pidbox.py", line 386, in _collect
[1568530]: self.connection.drain_events(timeout=timeout)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/connection.py", line 316, in drain_event
s
[1568530]: return self.transport.drain_events(self.connection, **kwargs)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/transport/virtual/base.py", line 971, in
drain_events
[1568530]: get(self._deliver, timeout=timeout)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/transport/redis.py", line 584, in get
[1568530]: ret = self.handle_event(fileno, event)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/transport/redis.py", line 566, in handle
_event
[1568530]: return self.on_readable(fileno), self
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/transport/redis.py", line 562, in on_rea
dable
[1568530]: chan.handlers[type]()
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/transport/redis.py", line 967, in _brpop
_read
[1568530]: self.connection._deliver(loads(bytes_to_str(item)), dest)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/transport/virtual/base.py", line 991, in
_deliver
[1568530]: callback(message)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/transport/virtual/base.py", line 624, in
_callback
[1568530]: return callback(message)
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/messaging.py", line 620, in _receive_cal
lback
[1568530]: decoded = None if on_m else message.decode()
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/message.py", line 194, in decode
[1568530]: self._decoded_cache = self._decode()
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/message.py", line 198, in _decode
[1568530]: return loads(self.body, self.content_type,
[1568530]: File "/var/www/funkwhale/venv/lib/python3.9/site-packages/kombu/serialization.py", line 242, in loads
[1568530]: raise self._for_untrusted_content(content_type, 'untrusted')
[1568530]: kombu.exceptions.ContentDisallowed: Refusing to deserialize untrusted content of type pickle (application/
x-python-serialize)
systemd[1]: funkwhale-worker.service: Succeeded.
systemd[1]: funkwhale-worker.service: Consumed 7.638s CPU time.
I’ve updated nginx file, did I had to update something more?
(Yunhost - Debian 11 server).
Thanks!