Skip to main content


@Friendica Support

Site offline with 500 Internal Server Error after update from 2024.12 to 2026.01.

Hi there,
after succesfully updating the site several several times lately, trying to get it to run friendica stable the last update just got stuck.
Calling the site gives 500 error message.
In a first attempt to trouble shoot the situation I did the follwoing.
I stopped the cron job by quoting out the respective crontab -e line.
Than I tried to set the site into maintanence mode by using the description as detailed in https://forum.friendi.ca/help/admin/migrate:
bin/console maintenance 1 "We are currently upgrading our system and will be back soon."

As result I got the following error message:

SSH wrote:

PHP Fatal error: Uncaught Error: Class "Symfony\Component\EventDispatcher\EventDispatcher" not found in/src/Event/EventDispatcher.php:19
Stack trace:
#0 /vendor/composer/ClassLoader.php(444): include()
#1 /vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile()
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#3 /vendor/level-2/dice/Dice.php(73): is_subclass_of()
#4 /vendor/level-2/dice/Dice.php(53): Dice\Dice->getRule()
#5 /vendor/level-2/dice/Dice.php(47): Dice\Dice->addRuleTo()
#6 /src/Core/DiceContainer.php(25): Dice\Dice->addRules()
#7 /bin/console.php(21): Friendica\Core\DiceContainer::fromBasePath()
#8 {main}
thrown in /src/Event/EventDispatcher.php on line 19


As update procedure I used the standard procedure:
git fetch
git checkout
Your branch is behind 'origin/stable' by 2025 commits, and can be fast-forwarded.
git pull
cd addon
git fetch
git checkout
Your branch is behind 'origin/stable' by 226 commits, and can be fast-forwarded.
git pull

Any idea what I can do to solve this?
#1 #2 #4 #3 #5 #6 #7 #8
Just rechecked the structure with the following result:
git checkout
Your branch is up to date with 'origin/stable'.
/addon$ git checkout
Your branch is up to date with 'origin/stable'.
Update solved:
Just ran the command, as described in the 2026.01 release description:
bin/composer.phar run install:prod

Apparently that did the job:
Este es Friendica, version 2026.01 ejecutándose en ubicación https://respective.domain. Versión de la BD es 1576/1586, la versión después de actualización es 1550/1550.

👍