Citiverse
  • @helpers

    Friendica Support
    2 4 1

    jesuisatirebitpickup@squeet.meJ
    3
    0

    @helpers

    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 forum.friendi.ca/help/admin/mi…:

    bin/console maintenance 1 "We are currently upgrading our system and will be back soon."

    As result I got the following error message:

    SSH hat geschrieben:

    PHP Fatal error: Uncaught Error: Class "Symfony\Component\EventDispatcher\EventDispatcher" not found in/src/Event/EventDispatcher.php:19
    Stack trace:
    /vendor/composer/ClassLoader.php(444): include()
    /vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile()
    [internal function]: Composer\Autoload\ClassLoader->loadClass()
    /vendor/level-2/dice/Dice.php(73): is_subclass_of()
    /vendor/level-2/dice/Dice.php(53): Dice\Dice->getRule()
    /vendor/level-2/dice/Dice.php(47): Dice\Dice->addRuleTo()
    /src/Core/DiceContainer.php(25): Dice\Dice->addRules()
    /bin/console.php(21): Friendica\Core\DiceContainer::fromBasePath()
    {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?

  • jesuisatirebitpickup@squeet.meJ
    3
    0

    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'.
  • jesuisatirebitpickup@squeet.meJ
    3
    0

    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 respective.domain. Versión de la BD es 1576/1586, la versión después de actualización es 1550/1550.


    👍

  • roland@f.haeder.netR
    1
    0

    @jesuisatirebitpickup Yes, you need to let composer reinstall vendor as new/updated packages might be used by newer code.

    I put all required commands into a deploy.sh script to just only execute that script, then I won't miss any commands to run.

    Mine is here BTW:
    f.haeder.net/deploy.sh


Citiverse è un progetto che si basa su NodeBB ed è federato! | Categorie federate | Chat | 📱 Installa web app o APK | 🧡 Donazioni | Privacy Policy

Il server utilizzato è quello di Webdock, in Danimarca. Se volete provarlo potete ottenere il 20% di sconto con questo link e noi riceveremo un aiuto sotto forma di credito da usare proprio per mantenere Citiverse.