Skip to main content


Why is there many of those tasks in the queue?
31656996 	wall-new: 5177364: https://en.relay.friendi.ca/inbox: 179: https://en.relay.friendi.ca/inbox 	2020-12-15 17:39:26 	30
31656997 	wall-new: 5177364: https://de.relay.friendi.ca/inbox: 179: https://de.relay.friendi.ca/inbox 	2020-12-15 17:39:26 	30
31657414 	wall-new: 5177502: https://en.relay.friendi.ca/inbox: 179: https://en.relay.friendi.ca/inbox 	2020-12-15 17:45:38 	30
31657415 	wall-new: 5177502: https://de.relay.friendi.ca/inbox: 179: https://de.relay.friendi.ca/inbox 	2020-12-15 17:45:38 	30

!Friendica Support @utzer #Friendica

Friendica Support reshared this.

Are you on rc branch? There was a bug for one day. The relay queue items were malformed. You can run a console command to correct them.
Have a look here how to do that...
https://github.com/friendica/friendica/pull/9661

@Steffen K9 🐰 blind me... found the command, executed it, now I need to wait for some time?

Command:
sudo -u www-data ./bin/console fixapdeliveryworkertaskparameters -v

Maybe you need to run the command several times until the results at the end only show 0 as value.

@Steffen K9 🐰 no change yet, server is idle. not mysql processes running, but queue still the same.

Do theses jobs matter at all, I mean after some days they will be purged anyway, right?

This entry was edited (4 years ago)
Well, they are just public items queued for delivery to the relay. It's save to drop them. No damage is to be expected.
@Steffen K9 🐰 and after some time they should be dropped by Friendica I assume. So I'll just give it some time to see 0 queue again.
How do they looks now? The URL (.../inbox) should only exist one time in the parameter field of the queued item.
See your post. πŸ˜€ The code block shows the relay URL twice per item/line. The second one at the end is wrong. The conversion command should remove that second URL at the end of each line.

@Steffen K9 🐰 ah ok, no that didn't change.

31656996 	wall-new: 5177364: https://en.relay.friendi.ca/inbox: 179: https://en.relay.friendi.ca/inbox 	2020-12-15 17:39:26 	30
31656997 	wall-new: 5177364: https://de.relay.friendi.ca/inbox: 179: https://de.relay.friendi.ca/inbox 	2020-12-15 17:39:26 	30
31657414 	wall-new: 5177502: https://en.relay.friendi.ca/inbox: 179: https://en.relay.friendi.ca/inbox 	2020-12-15 17:45:38 	30
31657415 	wall-new: 5177502: https://de.relay.friendi.ca/inbox: 179: https://de.relay.friendi.ca/inbox 	2020-12-15 17:45:38 	30

Or am I misunderstanding it?

I checked the PR discussion again. Looks like some relay queue items cannot be repaired automatically.

Quote from GitHub:

If you don't have too many of these, once you applied the patch I just committed, please edit these task manually to remove the duplicate inbox URL in the parameter field.


KO: ["wall-new",101523015,"https:\/\/relay.libranet.de\/inbox",3822,"https:\/\/relay.libranet.de\/inbox"]
OK: ["wall-new",101523015,"https:\/\/relay.libranet.de\/inbox",3822]

I guess you need to correct those queue items manually. Or you can just drop them from the workerqueue table.

@Steffen K9 🐰 hmm both is too much for my mysql skills. I have not GUI access to the database, didn't manage to setup phpmyadmin last time I tried. πŸ™

@Hypolite Petovan will this tasks in queue vanish at some point without me doing anything?

Arguments: array (
  0 => 'fixapdeliveryworkertaskparameters',
)
Options: array (
  'v' => 1,
)
Command: fixapdeliveryworkertaskparameters
Class: Friendica\Console\FixAPDeliveryWorkerTaskParameters
Arguments: array (
)
Options: array (
  'v' => 1,
)
Examined: 0
Processed: 0
Errored: 0
Looks good. The malformed queue items are successfully converted now.
@Steffen K9 🐰 aha. But there was no change in the queue and the tree lines always showed 0 when I ran the command.
You need to edit manually the parameter field of these rows to remove the duplicate inbox URL. @Steffen K9 🐰 remember it's the one case that the script doesn't cover that I made you do manually as well.
Yes. Thanks. I just remembered. πŸ˜€
⇧