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

#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.
-
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.
@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.
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login