Edit: Nevermind I guess... it seems somehow the s3_storage addon got spontaneously turned off without me touching it?!
!Friendica Admins Whelp, I've got a weird awkward problem on my server...
I can't access the storage settings in Friendica... even the console app is erroring:
root@web:/var/www# bin/console storage -v
Executable: /var/www/bin/console.php
Arguments: array (
0 => 'storage',
)
Options: array (
'v' => 1,
)
Command: storage
[Error] Backend S3 was not found
[Backtrace]:
\#0 /var/www/src/Core/Storage/Repository/StorageManager.php(117): Friendica\Core\Storage\Repository\StorageManager->getByName()
\#1 /var/www/src/Core/Storage/Repository/StorageManager.php(92): Friendica\Core\Storage\Repository\StorageManager->getWritableStorageByName()
\#2 [internal function]: Friendica\Core\Storage\Repository\StorageManager->__construct()
\#3 /var/www/vendor/level-2/dice/Dice.php(132): ReflectionMethod->invokeArgs()
\#4 /var/www/vendor/level-2/dice/Dice.php(96): Dice\Dice->Dice\{closure}()
\#5 /var/www/vendor/level-2/dice/Dice.php(247): Dice\Dice->create()
\#6 /var/www/vendor/level-2/dice/Dice.php(132): Dice\Dice->Dice\{closure}()
\#7 /var/www/vendor/level-2/dice/Dice.php(96): Dice\Dice->Dice\{closure}()
\#8 /var/www/src/Core/Console.php(174): Dice\Dice->create()
\#9 /var/www/src/Core/Console.php(145): Friendica\Core\Console->getSubConsole()
\#10 /var/www/vendor/asika/simple-console/src/Console.php(108): Friendica\Core\Console->doExecute()
\#11 /var/www/bin/console.php(33): Asika\SimpleConsole\Console->execute()
\#12 {main}If I try and open the admin storage page, it fails to load and puts this error in the log:
2025-05-02T20:31:32Z app [ERROR]: Uncaught Exception Friendica\Core\Storage\Exception\InvalidClassStorageException: "Backend S3 was not found" at /var/www/src/Core/Storage/Repository/StorageManager.php line 207 {"exception":"Friendica\\Core\\Storage\\Exception\\InvalidClassStorageException: Backend S3 was not found in /var/www/src/Core/Storage/Repository/StorageManager.php:207\nStack trace:\n#0 /var/www/src/Core/Storage/Repository/StorageManager.php(117): Friendica\\Core\\Storage\\Repository\\StorageManager->getByName()\n#1 /var/www/src/Core/Storage/Repository/StorageManager.php(92): Friendica\\Core\\Storage\\Repository\\StorageManager->getWritableStorageByName()\n#2 [internal function]: Friendica\\Core\\Storage\\Repository\\StorageManager->__construct()\n#3 /var/www/vendor/level-2/dice/Dice.php(132): ReflectionMethod->invokeArgs()\n#4 /var/www/vendor/level-2/dice/Dice.php(145): Dice\\Dice->Dice\\{closure}()\n#5 /var/www/vendor/level-2/dice/Dice.php(96): Dice\\Dice->Dice\\{closure}()\n#6 /var/www/src/DI.php(513): Dice\\Dice->create()\n#7 /var/www/src/Module/Admin/Storage.php(84): Friendica\\DI::storage()\n#8 /var/www/src/BaseModule.php(236): Friendica\\Module\\Admin\\Storage->content()\n#9 /var/www/src/App.php(668): Friendica\\BaseModule->run()\n#10 /var/www/index.php(32): Friendica\\App->runFrontend()\n#11 {main}"} - {"file":null,"line":null,"function":null,"request-id":"68152ba4301c6","stack":"ErrorHandler::handleException (114), ErrorHandler::Friendica\\Core\\Logger\\Handler\\{closure}","uid":"98cec6","process_id":3921334}Anyone have any suggestions on how to fix this and get the storage back?
Friendica Admins reshared this.

Ⓜ3️⃣3️⃣ 🌌
in reply to Shiri Bailem • • •that's a pain when software gets in an inconsistant state and locks you out like that.
Disclaimer: high risks and it is probably bad advice, but... in the database, there is a settings table with a storage column. Here it is set to "Filesystem", I guess yours is set to "s3" or something.
You may do complete backups (complete database dump including everything, filesystem, configuration), and try tinkering with that setting at least to get the cli console working and repair your setup from there.
Ⓜ3️⃣3️⃣ 🌌
in reply to Shiri Bailem • • •Anyway, that's all good 🙂
Shiri Bailem
in reply to Ⓜ3️⃣3️⃣ 🌌 • •@Ⓜ3️⃣3️⃣ 🌌 hate when an edit doesn't get forwarded, I suggested that in the github a while back that there should be some controls for forcing a refetch...
But yeah, storage was set to S3, and it wasn't possible to change it because that menu wouldn't load.
I think there needs to be a graceful fail state for this situation.
Friendica Admins reshared this.