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.
  • 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
                • O Offline
                  O Offline
                  onlybro
                  wrote on last edited by
                  #33

                  as per the developer this seems to be a issue with configuration

                  https://pasteboard.co/Kj1NAaR.jpg

                  @girish @nebulon

                  Please assist with this it has been months and months now haven’t beeen able to get messaging working on pixelfed yet

                  girishG 1 Reply Last reply
                  0
                  • O onlybro

                    as per the developer this seems to be a issue with configuration

                    https://pasteboard.co/Kj1NAaR.jpg

                    @girish @nebulon

                    Please assist with this it has been months and months now haven’t beeen able to get messaging working on pixelfed yet

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

                    @onlybro Is the situation any better with the 1.6.1 package?

                    1 Reply Last reply
                    0
                    • O Offline
                      O Offline
                      owlgeek
                      wrote on last edited by
                      #35

                      Hi, I've the same problem with a docker installation of Pixelfed v0.11.1.
                      Someone have news?

                      1 Reply Last reply
                      0
                      • archosA Offline
                        archosA Offline
                        archos
                        wrote on last edited by
                        #36

                        Hi, I have the same problem, private messages won't open. Attached is a screenshot.pixelfed_message.png

                        1 Reply Last reply
                        0
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by
                          #37

                          This happens on my instance as well 😞

                          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