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. Castopod
  3. Using Object Storage Seems To Break Site

Using Object Storage Seems To Break Site

Scheduled Pinned Locked Moved Solved Castopod
6 Posts 2 Posters 747 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.
  • 2 Offline
    2 Offline
    2TonWaffle
    wrote on last edited by
    #1

    Freshly installed castopod and have added the following into the env file

    media.fileManager="s3"
    media.s3.pathStyleEndpoint="true"
    media.s3.endpoint="https://rollforaudio.s3.us-west-004.backblazeb2.com"
    media.s3.bucket="rollforaudio"
    media.s3.key="XXXXXXXXXXXXXXX"
    media.s3.secret="XXXXXXXXXXXXXXXXX"
    media.s3.region="us-west-004"

    Now, the site is unreachable, giving me a localhost refused to connect.

    1 Reply Last reply
    1
    • 2 Offline
      2 Offline
      2TonWaffle
      wrote on last edited by
      #2

      Searching around and found that will have to add app.baseURL "...." in the .env file. Have done that and now the site comes up again. New problem though is that for podcast artwork, all the links are broken.

      jdaviescoatesJ 1 Reply Last reply
      1
      • 2 2TonWaffle

        Searching around and found that will have to add app.baseURL "...." in the .env file. Have done that and now the site comes up again. New problem though is that for podcast artwork, all the links are broken.

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #3

        @2TonWaffle said in Using Object Storage Seems To Break Site:

        have to add app.baseURL "...." in the .env file

        Could you share you currently working .env file? 🙂

        I use Cloudron with Gandi & Hetzner

        2 1 Reply Last reply
        0
        • jdaviescoatesJ jdaviescoates

          @2TonWaffle said in Using Object Storage Seems To Break Site:

          have to add app.baseURL "...." in the .env file

          Could you share you currently working .env file? 🙂

          2 Offline
          2 Offline
          2TonWaffle
          wrote on last edited by 2TonWaffle
          #4

          @jdaviescoates

          #https://code.castopod.org/adaures/castopod/-/blob/develop/env
          analytics.salt=XXXXXXXXX=
          logger.threshold = 4
          media.fileManager="s3"
          media.s3.pathStyleEndpoint="true"
          media.s3.endpoint="https://s3.us-west-004.backblazeb2.com"
          media.s3.bucket="rollforaudio"
          media.s3.key="XXXXXXXX"
          media.s3.secret="XXXXXXXXXX"
          media.s3.region="us-west-004"
          app.baseURL="https://rollforaudio.com"
          media.baseURL="https://rollforaudio.s3.us-west-004.backblaze2.com"

          Added the last line to see if it would fix but, it doesn't.

          1 Reply Last reply
          1
          • 2 Offline
            2 Offline
            2TonWaffle
            wrote on last edited by
            #5

            Found the issue in that it was a simple typo that was messing everything up.

            jdaviescoatesJ 1 Reply Last reply
            2
            • 2 2TonWaffle

              Found the issue in that it was a simple typo that was messing everything up.

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #6

              @2TonWaffle said in Using Object Storage Seems To Break Site:

              Found the issue in that it was a simple typo that was messing everything up.

              This is so often the case when configuring object storage! Either that or an https:// where it should or shouldn't be.

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              1
              • girishG girish marked this topic as a question on
              • girishG girish has marked this topic as solved on
              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