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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved 419 - PAGE EXPIRED Error on freshly installed Pixelfed App

    Pixelfed
    2
    4
    31
    Loading More Posts
    • 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.
    • C
      CrazyxxGuitar last edited by

      Hi everyone, I'm new to this and I couldn't find anything about this error in the Cloudron forum. If there's another thread which solves this problem, I'm happy to get that link.

      I just installed the pixelfed app with Cloudron on my VPS. I'm able to get on the startpage, but when I try to register, the next page shows "419 PAGE EXPIRED".

      My instance is running on a subdomain (something like pixelfed.domain.com ), the main domain is currently in use for a mastodon instance.

      The documentation of Pixelfed (https://docs.pixelfed.org/running-pixelfed/troubleshooting/) says to "Make sure you have SESSION_DOMAIN, APP_URL and APP_DOMAIN set in your .env." Which domain do I have to put in here when having it installed on Cloudron? Cloudron puts into the .env file ${CLOUDRON_APP_ORIGIN}.

      I hope someone has a solution for this.

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @CrazyxxGuitar last edited by

        @CrazyxxGuitar This issue is similar to https://github.com/pixelfed/pixelfed/issues/2192 and maybe https://github.com/pixelfed/support/issues/106

        You don't need to change APP_DOMAIN or SESSION_DOMAIN manually on Cloudron. The package will fix them up accordingly. Have you tried a different browser and/or clearing the browser cache already ?

        C 1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          I tried this on a fresh instance and this work for me with no changes to env.prodiction . Just install, register new account, click on confirmation email and I can login (tried relogin as well)

          This is what I have:

          APP_URL=${CLOUDRON_APP_ORIGIN}
          APP_DOMAIN=${CLOUDRON_APP_DOMAIN}
          ADMIN_DOMAIN=${CLOUDRON_APP_DOMAIN}
          SESSION_DOMAIN=${CLOUDRON_APP_DOMAIN}
          
          1 Reply Last reply Reply Quote 0
          • C
            CrazyxxGuitar @girish last edited by

            @girish That's the solution for me, somehow the cookies were making trouble. After deleting the cookies (I did delete my browser cache before, but that's not enough) now everything is working fine! Maybe because I had a test with pixelfed on the main domain and the browser had stored some old cookies. Thanks for your reply!

            1 Reply Last reply Reply Quote 2
            • Topic has been marked as a question  nebulon nebulon 
            • Topic has been marked as solved  nebulon nebulon 
            • First post
              Last post
            Powered by NodeBB