Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Pixelfed
  3. Redis error when uploading pictures

Redis error when uploading pictures

Scheduled Pinned Locked Moved Pixelfed
2 Posts 2 Posters 549 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    urtzai
    wrote on last edited by
    #1

    I've got the following generic error message every time I upload photos to my server:

    Oops, something went wrong!
    An unexpected error occured.

    After selecting the image and click the post button the process gets stuck but if I return to the timeline I see the photo is loaded correctly. When I look into the laravel logs I find this:

    [2022-11-03 17:15:21] production.ERROR: Command 'ZPOPMIN' is not a registered Redis command. {"exception":"[object] (Predis\ClientException(code: 0): Command 'ZPOPMIN' is not a registered Redis command. at /var/www/pixelfed/vendor/predis/predis/src/Profile/RedisProfile.php:88)
    [stacktrace]
    #0 /var/www/pixelfed/vendor/predis/predis/src/Client.php(323): Predis\Profile\RedisProfile->createCommand()
    #1 /var/www/pixelfed/vendor/predis/predis/src/Client.php(314): Predis\Client->createCommand()
    #2 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(116): Predis\Client->__call()
    #3 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(220): Illuminate\Redis\Connections\Connection->command()
    #4 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php(277): Illuminate\Redis\Connections\Connection->__call()
    #5 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\Redis\RedisManager->__call()
    #6 /var/www/pixelfed/app/Services/ProfileStatusService.php(35): Illuminate\Support\Facades\Facade::__callStatic()
    #7 /var/www/pixelfed/app/Observers/StatusObserver.php(37): App\Services\ProfileStatusService::add()
    #8 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(528): App\Observers\StatusObserver->updated()
    #9 [internal function]: Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
    #10 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Database/DatabaseTransactionRecord.php(60): call_user_func()
    #11 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(60): Illuminate\Database\DatabaseTransactionRecord->executeCallbacks()
    #12 [internal function]: Illuminate\Support\HigherOrderCollectionProxy->Illuminate\Support\{closure}()
    #13 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(695): array_map()
    #14 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(61): Illuminate\Support\Collection->map()
    #15 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Database/DatabaseTransactionsManager.php(69): Illuminate\Support\HigherOrderCollectionProxy->__call()
    #16 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Support/Optional.php(132): Illuminate\Database\DatabaseTransactionsManager->commit()
    #17 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php(51): Illuminate\Support\Optional->__call()
    #18 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(442): Illuminate\Database\Connection->transaction()
    #19 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\Database\DatabaseManager->__call()
    #20 /var/www/pixelfed/app/Jobs/StatusPipeline/StatusReplyPipeline.php(76): Illuminate\Support\Facades\Facade::__callStatic()
    #21 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Jobs\StatusPipeline\StatusReplyPipeline->handle()
    #22 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
    #23 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
    #24 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
    #25 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\Container\BoundMethod::call()
    #26 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\Container\Container->call()
    #27 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
    #28 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
    #29 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
    #30 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow()
    #31 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}()
    #32 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
    #33 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then()
    #34 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
    #35 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call()
    #36 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(428): Illuminate\Queue\Jobs\Job->fire()
    #37 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(378): Illuminate\Queue\Worker->process()
    #38 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(172): Illuminate\Queue\Worker->runJob()
    #39 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(117): Illuminate\Queue\Worker->daemon()
    #40 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(101): Illuminate\Queue\Console\WorkCommand->runWorker()
    #41 /var/www/pixelfed/vendor/laravel/horizon/src/Console/WorkCommand.php(51): Illuminate\Queue\Console\WorkCommand->handle()
    #42 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Laravel\Horizon\Console\WorkCommand->handle()
    #43 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
    #44 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
    #45 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
    #46 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\Container\BoundMethod::call()
    #47 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Illuminate\Container\Container->call()
    #48 /var/www/pixelfed/vendor/symfony/console/Command/Command.php(298): Illuminate\Console\Command->execute()
    #49 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run()
    #50 /var/www/pixelfed/vendor/symfony/console/Application.php(1028): Illuminate\Console\Command->run()
    #51 /var/www/pixelfed/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand()
    #52 /var/www/pixelfed/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
    #53 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Console/Application.php(94): Symfony\Component\Console\Application->run()
    #54 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\Console\Application->run()
    #55 /var/www/pixelfed/artisan(37): Illuminate\Foundation\Console\Kernel->handle()
    #56 {main}

    Has somebody any clue of what could be causing? I already have the latest redis server and I'm pretty sure the ZPOPMIN command is in there.

    Thanks

    girishG 1 Reply Last reply
    0
    • U urtzai

      I've got the following generic error message every time I upload photos to my server:

      Oops, something went wrong!
      An unexpected error occured.

      After selecting the image and click the post button the process gets stuck but if I return to the timeline I see the photo is loaded correctly. When I look into the laravel logs I find this:

      [2022-11-03 17:15:21] production.ERROR: Command 'ZPOPMIN' is not a registered Redis command. {"exception":"[object] (Predis\ClientException(code: 0): Command 'ZPOPMIN' is not a registered Redis command. at /var/www/pixelfed/vendor/predis/predis/src/Profile/RedisProfile.php:88)
      [stacktrace]
      #0 /var/www/pixelfed/vendor/predis/predis/src/Client.php(323): Predis\Profile\RedisProfile->createCommand()
      #1 /var/www/pixelfed/vendor/predis/predis/src/Client.php(314): Predis\Client->createCommand()
      #2 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(116): Predis\Client->__call()
      #3 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(220): Illuminate\Redis\Connections\Connection->command()
      #4 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php(277): Illuminate\Redis\Connections\Connection->__call()
      #5 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\Redis\RedisManager->__call()
      #6 /var/www/pixelfed/app/Services/ProfileStatusService.php(35): Illuminate\Support\Facades\Facade::__callStatic()
      #7 /var/www/pixelfed/app/Observers/StatusObserver.php(37): App\Services\ProfileStatusService::add()
      #8 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(528): App\Observers\StatusObserver->updated()
      #9 [internal function]: Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
      #10 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Database/DatabaseTransactionRecord.php(60): call_user_func()
      #11 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(60): Illuminate\Database\DatabaseTransactionRecord->executeCallbacks()
      #12 [internal function]: Illuminate\Support\HigherOrderCollectionProxy->Illuminate\Support\{closure}()
      #13 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(695): array_map()
      #14 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(61): Illuminate\Support\Collection->map()
      #15 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Database/DatabaseTransactionsManager.php(69): Illuminate\Support\HigherOrderCollectionProxy->__call()
      #16 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Support/Optional.php(132): Illuminate\Database\DatabaseTransactionsManager->commit()
      #17 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php(51): Illuminate\Support\Optional->__call()
      #18 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(442): Illuminate\Database\Connection->transaction()
      #19 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\Database\DatabaseManager->__call()
      #20 /var/www/pixelfed/app/Jobs/StatusPipeline/StatusReplyPipeline.php(76): Illuminate\Support\Facades\Facade::__callStatic()
      #21 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Jobs\StatusPipeline\StatusReplyPipeline->handle()
      #22 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
      #23 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
      #24 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
      #25 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\Container\BoundMethod::call()
      #26 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\Container\Container->call()
      #27 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
      #28 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
      #29 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
      #30 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow()
      #31 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}()
      #32 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
      #33 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then()
      #34 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
      #35 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call()
      #36 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(428): Illuminate\Queue\Jobs\Job->fire()
      #37 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(378): Illuminate\Queue\Worker->process()
      #38 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(172): Illuminate\Queue\Worker->runJob()
      #39 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(117): Illuminate\Queue\Worker->daemon()
      #40 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(101): Illuminate\Queue\Console\WorkCommand->runWorker()
      #41 /var/www/pixelfed/vendor/laravel/horizon/src/Console/WorkCommand.php(51): Illuminate\Queue\Console\WorkCommand->handle()
      #42 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Laravel\Horizon\Console\WorkCommand->handle()
      #43 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
      #44 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
      #45 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
      #46 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\Container\BoundMethod::call()
      #47 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Illuminate\Container\Container->call()
      #48 /var/www/pixelfed/vendor/symfony/console/Command/Command.php(298): Illuminate\Console\Command->execute()
      #49 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run()
      #50 /var/www/pixelfed/vendor/symfony/console/Application.php(1028): Illuminate\Console\Command->run()
      #51 /var/www/pixelfed/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand()
      #52 /var/www/pixelfed/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
      #53 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Console/Application.php(94): Symfony\Component\Console\Application->run()
      #54 /var/www/pixelfed/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\Console\Application->run()
      #55 /var/www/pixelfed/artisan(37): Illuminate\Foundation\Console\Kernel->handle()
      #56 {main}

      Has somebody any clue of what could be causing? I already have the latest redis server and I'm pretty sure the ZPOPMIN command is in there.

      Thanks

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @urtzai said in Redis error when uploading pictures:

      Has somebody any clue of what could be causing? I already have the latest redis server and I'm pretty sure the ZPOPMIN command is in there.

      Just want to double check here. This is the Cloudron Forum for answering questions about the Pixelfed package. Did you deploy Pixelfed via Cloudron ? Since you said I already have "latest redis" server, this seems like you are not using Cloudron.

      See https://pixelfed.social/site/help on how to contact the upstream project.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search