Using Object Storage Seems To Break Site
-
wrote on May 28, 2024, 1:37 PM last edited by
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.
-
wrote on May 28, 2024, 2:00 PM last edited by
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.
-
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.
wrote on May 28, 2024, 2:22 PM last edited by@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?
-
@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?
wrote on May 28, 2024, 2:27 PM last edited by 2TonWaffle May 28, 2024, 2:27 PM#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.
-
wrote on May 28, 2024, 6:12 PM last edited by
Found the issue in that it was a simple typo that was messing everything up.
-
Found the issue in that it was a simple typo that was messing everything up.
wrote on May 28, 2024, 7:43 PM last edited by@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.
-
-