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. Direct messages no longer work

Direct messages no longer work

Scheduled Pinned Locked Moved Pixelfed
37 Posts 6 Posters 5.0k Views 6 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.
  • O Offline
    O Offline
    onlybro
    wrote on last edited by onlybro
    #13

    @girish

    On to your consideration https://pixelfed.social works fine with its desired features but pixelfed instance installed through cloudron lacks features like direct messaging and gif post preview , post color filters any idea why ?

    girishG 1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #14

      Since you mentioned that the versions are the same, then I can only think of this being a difference in configuration of the app then. I don't know how pixelfed.social is configured. Usually we try to stick with defaults from a packaging perspective.

      1 Reply Last reply
      0
      • O onlybro

        @girish

        On to your consideration https://pixelfed.social works fine with its desired features but pixelfed instance installed through cloudron lacks features like direct messaging and gif post preview , post color filters any idea why ?

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

        @onlybro I setup an instance for our company at https://pixelfed.cloudron.io/ to test things out. gif animation does work for me but after applying any effect it loses the animation.

        I can also see the filters:

        65949a19-60b8-4d06-926d-1b2a22d82039-image.png

        I can see the DM screen but there is some app error when I try to see the messages:

        d14a12d2-7c22-417e-9752-a2b36dd7297f-image.png

        Overall, most of the bugs are just app bugs, please do report them upstream: https://github.com/pixelfed/pixelfed . I think you reported some already. Note that we don't develop the app itself, we only packaged it.

        O 1 Reply Last reply
        2
        • girishG girish

          @onlybro I setup an instance for our company at https://pixelfed.cloudron.io/ to test things out. gif animation does work for me but after applying any effect it loses the animation.

          I can also see the filters:

          65949a19-60b8-4d06-926d-1b2a22d82039-image.png

          I can see the DM screen but there is some app error when I try to see the messages:

          d14a12d2-7c22-417e-9752-a2b36dd7297f-image.png

          Overall, most of the bugs are just app bugs, please do report them upstream: https://github.com/pixelfed/pixelfed . I think you reported some already. Note that we don't develop the app itself, we only packaged it.

          O Offline
          O Offline
          onlybro
          wrote on last edited by
          #16

          @girish

          Following is the screenshot originally from pixelfed developer

          alt text

          The developer claims pixelfed.social is the very same package from the original distribution itself.

          Why isn’t direct message working is a question

          girishG 1 Reply Last reply
          0
          • O onlybro

            @girish

            Following is the screenshot originally from pixelfed developer

            alt text

            The developer claims pixelfed.social is the very same package from the original distribution itself.

            Why isn’t direct message working is a question

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

            @onlybro I see, that is good information (that he is using the same code as what is public). I have to investigate what the issue is then.

            O 1 Reply Last reply
            1
            • girishG girish

              @onlybro I see, that is good information (that he is using the same code as what is public). I have to investigate what the issue is then.

              O Offline
              O Offline
              onlybro
              wrote on last edited by
              #18

              @girish

              Perhaps you can try looking at the previous version of pixelfed package and the latest cause I remember a year before direct message was working fine on cloudron

              girishG 1 Reply Last reply
              0
              • O onlybro

                @girish

                Perhaps you can try looking at the previous version of pixelfed package and the latest cause I remember a year before direct message was working fine on cloudron

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

                @onlybro Yes, I will try to debug this a bit later this week.

                O 2 Replies Last reply
                1
                • girishG girish

                  @onlybro Yes, I will try to debug this a bit later this week.

                  O Offline
                  O Offline
                  onlybro
                  wrote on last edited by
                  #20

                  @girish

                  That’s nice since it’s an essential feature - Direct Messaging

                  1 Reply Last reply
                  0
                  • girishG girish

                    @onlybro Yes, I will try to debug this a bit later this week.

                    O Offline
                    O Offline
                    onlybro
                    wrote on last edited by onlybro
                    #21

                    @girish

                    Like counts of image post are also not visible you can try my site like counts don’t work on iPhone behavior that can be produced is

                    Here’s my site https://spacemag.xyz

                    I have to like the post to see the count if someone else had liked it I cannot view it and even then if I like it and view most of the time I can only see my name on it it’s very rare I see the total profiles of those who had liked.

                    This moreover seems to be a conflict with ui or java from cloudron I guess ? It all works fine at pixelfed.social though, which is a raw installation of pixelfed.

                    I’m not certain but all i can say is there is something that’s not right

                    girishG 1 Reply Last reply
                    0
                    • O onlybro

                      @girish

                      Like counts of image post are also not visible you can try my site like counts don’t work on iPhone behavior that can be produced is

                      Here’s my site https://spacemag.xyz

                      I have to like the post to see the count if someone else had liked it I cannot view it and even then if I like it and view most of the time I can only see my name on it it’s very rare I see the total profiles of those who had liked.

                      This moreover seems to be a conflict with ui or java from cloudron I guess ? It all works fine at pixelfed.social though, which is a raw installation of pixelfed.

                      I’m not certain but all i can say is there is something that’s not right

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

                      @onlybro It seems there is also a staging branch - https://github.com/pixelfed/pixelfed/commits/staging . Let me check if it helps if I update to that branch

                      1 Reply Last reply
                      0
                      • girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #23

                        Latest dev seems to throw an exception with direct messages.

                        17:25:36 - [2021-05-11 00:25:36] production.ERROR: Trying to get property 'private_key' of non-object {"userId":1,"exception":"[object] (ErrorException(code: 0): Trying to get property 'private_key' of non-object at /app/code/app/Util/ActivityPub/HttpSignature.php:40)
                        17:25:36 - [stacktrace]
                        17:25:36 - #0 /app/code/app/Util/ActivityPub/HttpSignature.php(40): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
                        17:25:36 - #1 /app/code/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(420): App\\Util\\ActivityPub\\HttpSignature::App\\Util\\ActivityPub\\{closure}()
                        17:25:36 - #2 /app/code/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(418): Illuminate\\Cache\\Repository->rememberForever()
                        17:25:36 - #3 /app/code/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\\Cache\\CacheManager->__call()
                        17:25:36 - #4 /app/code/app/Util/ActivityPub/HttpSignature.php(41): Illuminate\\Support\\Facades\\Facade::__callStatic()
                        17:25:36 - #5 /app/code/app/Services/ActivityPubFetchService.php(20): App\\Util\\ActivityPub\\HttpSignature::instanceActorSign()
                        17:25:36 - #6 /app/code/app/Util/ActivityPub/Helpers.php(230): App\\Services\\ActivityPubFetchService::get()
                        17:25:36 - #7 /app/code/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(385): App\\Util\\ActivityPub\\Helpers::App\\Util\\ActivityPub\\{closure}()
                        17:25:36 - #8 /app/code/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(418): Illuminate\\Cache\\Repository->remember()
                        17:25:36 - #9 /app/code/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\\Cache\\CacheManager->__call()
                        17:25:36 - #10 /app/code/app/Util/ActivityPub/Helpers.php(237): Illuminate\\Support\\Facades\\Facade::__callStatic()
                        17:25:36 - #11 /app/code/app/Util/ActivityPub/Helpers.php(242): App\\Util\\ActivityPub\\Helpers::fetchFromUrl()
                        17:25:36 - #12 /app/code/app/Util/ActivityPub/Helpers.php(474): App\\Util\\ActivityPub\\Helpers::fetchProfileFromUrl()
                        17:25:36 - #13 /app/code/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(385): App\\Util\\ActivityPub\\Helpers::App\\Util\\ActivityPub\\{closure}()
                        17:25:36 - #14 /app/code/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(418): Illuminate\\Cache\\Repository->remember()
                        17:25:36 - #15 /app/code/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\\Cache\\CacheManager->__call()
                        17:25:36 - #16 /app/code/app/Util/ActivityPub/Helpers.php(536): Illuminate\\Support\\Facades\\Facade::__callStatic()
                        17:25:36 - #17 /app/code/app/Util/ActivityPub/Helpers.php(542): App\\Util\\ActivityPub\\Helpers::profileFirstOrNew()
                        17:25:36 - #18 /app/code/app/Services/WebfingerService.php(40): App\\Util\\ActivityPub\\Helpers::profileFetch()
                        17:25:36 - #19 /app/code/app/Services/WebfingerService.php(20): App\\Services\\WebfingerService->run()
                        17:25:36 - #20 /app/code/app/Http/Controllers/DirectMessageController.php(608): App\\Services\\WebfingerService::lookup()
                        17:25:36 - #21 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\DirectMessageController->composeLookup()
                        17:25:36 - #22 /app/code/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction()
                        17:25:36 - #23 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Route.php(254): Illuminate\\Routing\\ControllerDispatcher->dispatch()
                        17:25:36 - #24 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Route.php(197): Illuminate\\Routing\\Route->runController()
                        17:25:36 - #25 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(695): Illuminate\\Routing\\Route->run()
                        17:25:36 - #26 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
                        17:25:36 - #27 /app/code/app/Http/Middleware/AccountInterstitial.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #28 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\AccountInterstitial->handle()
                        17:25:36 - #29 /app/code/app/Http/Middleware/Localization.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #30 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\Localization->handle()
                        17:25:36 - #31 /app/code/app/Http/Middleware/TwoFactorAuth.php(33): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #32 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\TwoFactorAuth->handle()
                        17:25:36 - #33 /app/code/app/Http/Middleware/EmailVerificationCheck.php(34): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #34 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\EmailVerificationCheck->handle()
                        17:25:36 - #35 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #36 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
                        17:25:36 - #37 /app/code/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #38 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Auth\\Middleware\\Authenticate->handle()
                        17:25:36 - #39 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #40 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
                        17:25:36 - #41 /app/code/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #42 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
                        17:25:36 - #43 /app/code/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #44 /app/code/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
                        17:25:36 - #45 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle()
                        17:25:36 - #46 /app/code/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #47 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
                        17:25:36 - #48 /app/code/app/Http/Middleware/FrameGuard.php(18): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #49 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\FrameGuard->handle()
                        17:25:36 - #50 /app/code/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #51 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
                        17:25:36 - #52 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #53 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(697): Illuminate\\Pipeline\\Pipeline->then()
                        17:25:36 - #54 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(672): Illuminate\\Routing\\Router->runRouteWithinStack()
                        17:25:36 - #55 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(636): Illuminate\\Routing\\Router->runRoute()
                        17:25:36 - #56 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\\Routing\\Router->dispatchToRoute()
                        17:25:36 - #57 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(166): Illuminate\\Routing\\Router->dispatch()
                        17:25:36 - #58 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
                        17:25:36 - #59 /app/code/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #60 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle()
                        17:25:36 - #61 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #62 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
                        17:25:36 - #63 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
                        17:25:36 - #64 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #65 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
                        17:25:36 - #66 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
                        17:25:36 - #67 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #68 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
                        17:25:36 - #69 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #70 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
                        17:25:36 - #71 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
                        17:25:36 - #72 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(141): Illuminate\\Pipeline\\Pipeline->then()
                        17:25:36 - #73 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
                        17:25:36 - #74 /app/code/public/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle()
                        17:25:36 - #75 {main}
                        17:25:36 - "} 
                        
                        1 Reply Last reply
                        0
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #24

                          Actually, direct messages don't work for me in https://pixelfed.social/account/direct anymore either. It just keeps spinning.

                          5f4efd2a-18f9-4c3d-9613-4e03e82ebfbd-image.png

                          1 Reply Last reply
                          0
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #25

                            Reported here - https://github.com/pixelfed/pixelfed/issues/2752 . @onlybro I will stop debugging since I don't think I can do anything to fix this without having a stable release where DM is known to work. You will have to reach out to the upstream author.

                            O 3 Replies Last reply
                            0
                            • girishG girish

                              Reported here - https://github.com/pixelfed/pixelfed/issues/2752 . @onlybro I will stop debugging since I don't think I can do anything to fix this without having a stable release where DM is known to work. You will have to reach out to the upstream author.

                              O Offline
                              O Offline
                              onlybro
                              wrote on last edited by onlybro
                              #26

                              @girish

                              Reporting from GitHub

                              “
                              I was able to reproduce the direct message issue within a docker container, and I think I know why it is happening.

                              Line

                              https://github.com/pixelfed/pixelfed/blob/4ad3de3b885b8d21a53ca9cc8a4a83e2a1d4a459/app/Http/Controllers/AccountController.php#L129-L132

                              in the account controller, the following SQL query is generated:

                              [2021-05-10 21:41:58] local.DEBUG: array (
                              0 =>
                              array (
                              'query' => 'select * from profiles where id != ? and profiles.id = ? and profiles.deleted_at is null limit 1',
                              'bindings' =>
                              array (
                              0 => 297440899045134336,
                              1 => '297465207490482176',
                              ),
                              'time' => 37.91,
                              ),
                              )

                              As you can see, the id in the URL gets treated as string and that's why the query does not return any results.
                              “

                              1 Reply Last reply
                              0
                              • girishG girish

                                Reported here - https://github.com/pixelfed/pixelfed/issues/2752 . @onlybro I will stop debugging since I don't think I can do anything to fix this without having a stable release where DM is known to work. You will have to reach out to the upstream author.

                                O Offline
                                O Offline
                                onlybro
                                wrote on last edited by
                                #27

                                @girish

                                Direct messages does work to me when I login to pixelfed.social site without any issues.

                                1 Reply Last reply
                                0
                                • girishG girish

                                  Reported here - https://github.com/pixelfed/pixelfed/issues/2752 . @onlybro I will stop debugging since I don't think I can do anything to fix this without having a stable release where DM is known to work. You will have to reach out to the upstream author.

                                  O Offline
                                  O Offline
                                  onlybro
                                  wrote on last edited by
                                  #28

                                  @girish

                                  Reporting from GitHub

                                  “

                                  I was able to reproduce the direct message issue within a docker container, and I think I know why it is happening.

                                  In these lines in the account controller, the following SQL query is generated:

                                  [2021-05-10 21:41:58] local.DEBUG: array (
                                  0 =>
                                  array (
                                  'query' => 'select * from profiles where id != ? and profiles.id = ? and profiles.deleted_at is null limit 1',
                                  'bindings' =>
                                  array (
                                  0 => 297440899045134336,
                                  1 => '297465207490482176',
                                  ),
                                  'time' => 37.91,
                                  ),
                                  )
                                  As you can see, the id in the URL gets treated as string and that's why the query does not return any results.
                                  I made a preliminary patch on this branch with int casts wherever necessary and it resolves the issue locally, but there must be some sort of underlying issue that needs to be investigated to tell why this stopped working
                                  “

                                  O 1 Reply Last reply
                                  0
                                  • O onlybro

                                    @girish

                                    Reporting from GitHub

                                    “

                                    I was able to reproduce the direct message issue within a docker container, and I think I know why it is happening.

                                    In these lines in the account controller, the following SQL query is generated:

                                    [2021-05-10 21:41:58] local.DEBUG: array (
                                    0 =>
                                    array (
                                    'query' => 'select * from profiles where id != ? and profiles.id = ? and profiles.deleted_at is null limit 1',
                                    'bindings' =>
                                    array (
                                    0 => 297440899045134336,
                                    1 => '297465207490482176',
                                    ),
                                    'time' => 37.91,
                                    ),
                                    )
                                    As you can see, the id in the URL gets treated as string and that's why the query does not return any results.
                                    I made a preliminary patch on this branch with int casts wherever necessary and it resolves the issue locally, but there must be some sort of underlying issue that needs to be investigated to tell why this stopped working
                                    “

                                    O Offline
                                    O Offline
                                    onlybro
                                    wrote on last edited by
                                    #29

                                    @girish

                                    Following is the GitHub link

                                    https://github.com/pixelfed/pixelfed/issues/2729#issuecomment-837986008

                                    girishG 1 Reply Last reply
                                    1
                                    • O onlybro

                                      @girish

                                      Following is the GitHub link

                                      https://github.com/pixelfed/pixelfed/issues/2729#issuecomment-837986008

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

                                      @onlybro let's continue there. I have replied on GitHub.

                                      O 2 Replies Last reply
                                      1
                                      • girishG girish

                                        @onlybro let's continue there. I have replied on GitHub.

                                        O Offline
                                        O Offline
                                        onlybro
                                        wrote on last edited by onlybro
                                        #31

                                        @girish

                                        Could you please update the pixelfed app to latest Daniel has updated to version 0.11.0 when I check for updates on dashboard it doesn’t do anything it still shows 0.10.0 as the latest

                                        https://github.com/pixelfed/pixelfed

                                        1 Reply Last reply
                                        0
                                        • girishG girish

                                          @onlybro let's continue there. I have replied on GitHub.

                                          O Offline
                                          O Offline
                                          onlybro
                                          wrote on last edited by onlybro
                                          #32

                                          @girish

                                          Please take a look

                                          https://github.com/pixelfed/pixelfed/issues/2752#

                                          And the following

                                          https://github.com/pixelfed/pixelfed/commit/2d0a253e071280c692b14516a6aac8d6c33c44d5

                                          Daniel informed that he is using MySQL however the issue of sending messsges yet persists it’s still there not able to send messages yet

                                          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