Skip to main content


Hello !Friendica Support
is there a way to see if the upgrade after a switch from stable to development is running? Is there a way to manually start it from CLI to see if there is any errors?

#Friendica

What can I grep for to see information about this in the log and which log level do I need?
On some higher loglevel you get postupdate messages whenever a chunk of postupdate tasks is started by the worker and also when it is finished. But I don't remember what the actual messages look like.
Also, you may run the postupdates manually. Then you get those 'dots' printed to the terminal.
@Steffen K9 🐰 I was just told by Michael to never ever run the postupdate manually, so I am not sure if there is another way. I will grep for postupdate and see if there is anything besides this messages here.
Hmm. Ok. Maybe it's not a good idea when the dbstructure update wasn't successful.
I think you can find the log messages somewhere in the code.

Could be this...

Loggerr::notice('Execute post update.', ['version' => $version]);
Loggger::warning('Post update failed', ['version' => $version]);
Logger::notice('Post update executed.', ['version' => $version]);
@Steffen K9 🐰 which file is this from? or in which file is the update code?
The code for the update is located in multiple files. Those lines are from...
src/Core/Update.php
@Steffen K9 🐰 I wonder which files I can look for in the php error log.
@Steffen K9 🐰 also nothing for grep "post\ update" in the friendica log since last midnight.

@Steffen K9 🐰 also nothing for zgrep "post\ update" since I updated.

I will go to sleep now, will check tomorrow. Thanks for the tips.

@Steffen K9 🐰 that could be it, maybe when db update is finished it is ok...
⇧