this post was submitted on 18 Aug 2024
9 points (100.0% liked)

PieFed Meta

320 readers
1 users here now

Discuss PieFed project direction, provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics.

Wiki

founded 9 months ago
MODERATORS
 

I set up an instance of pyfed at https://eventhorizondataflow.pagekite.me/ but as far as I can tell it doesn't seem to be federating. Subscribing to communities works initially, but no new content comes through. However, I can manually add new remote posts (and added a quick hack to rebackfill a community to keep up to date).

I also tried posting from my instance to c/playground here but they don't seem to be coming through.

I'm not seeing too much in the logs or in the activity page (under Admins). For posting to c/playground for example, I can see the CREATE activity to piefed.social - that is simply marked as a green success.

Looking for ideas on how to debug this further.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 2 months ago* (last edited 2 months ago)

Sounds like you don't have celery running. In production celery is intended to be run as a background service but for debugging you can run it in the foreground from the command line like this

change to the piefed directory, then:

source venv/bin/activate
export FLASK_APP=pyfedi.py
celery -A celery_worker.celery worker --loglevel=INFO

Then whenever federation occurs you'll see things happen in the console.

For further help please try the Matrix channel at #piefed-general:matrix.org