-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contabo Object Storage problem. #5018
Comments
Hi, Contabo seems to require path style requests. Closing in favour of #4455 |
I did succeed to make it work without "force path style" option, but the public Serving endpoint is different from the default endpoint as shown above (owncast allows to have a different endpoint & serving endpoint). So it may actually be a different issue? |
You can serve files from another endpoint using |
@fenarinarsa Can you tell me how your object storage is configured? I also use contabo object storage, but my data cannot be uploaded. |
So it means you can actually change the S3 storage for all the already imported videos if you transfer the files yourselves and force the base URL to the new storage? Because so far I only read that migration of S3 storage wasn't supported. |
I did this test with Owncast, not Peertube. I didn't migrate to S3 storage on peertube since the documentation states that migration between S3 storages is not supported. |
I'm not sure to understand: can you describe the feature you're missing to move to s3 on peertube? |
To be able to move all the already imported videos from one S3 storage to another. The documentation says that only the future videos will be imported on the new S3 storage but all the oldest will still be served from the old S3 storage. Basically it says that if you want to change the S3 service provider and stop paying the former one, you lose all the previously imported videos, if I understand well. From https://docs.joinpeertube.org/maintain/remote-storage "PeerTube stores object URLs in the database, so even if you change the object storage configuration it will serve previously uploaded videos using the old object storage endpoint while serving new uploads using the new object storage endpoint. File URLs migration in PeerTube is not provided yet." |
Thanks! I created an issue: #5654 |
Describe the current behavior
object storage does not work with contabo,
error[6/5/2022, 3:43:57 PM] Cannot move video https://fgage.com/videos/watch/f13c032d-bdc9-4b06-8bdc-65efdd715cd1 to object storage.
{
"err": {
"stack": "Error: getaddrinfo ENOTFOUND fgage.sin1.contabostorage.com\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)",
"message": "getaddrinfo ENOTFOUND fgage.sin1.contabostorage.com",
"errno": -3008,
"code": "ENOTFOUND",
"syscall": "getaddrinfo",
"hostname": "fgage.sin1.contabostorage.com",
"$metadata": {
"attempts": 1,
"totalRetryDelay": 0
}
},
"tags": [
"move-object-storage",
"f13c032d-bdc9-4b06-8bdc-65efdd715cd1",
"https://fgage.com/videos/watch/f13c032d-bdc9-4b06-8bdc-65efdd715cd1"
]
}
Steps to reproduce:
Describe the expected behavior
Additional information
contabo doesn't support virtual-hosted-style URLs,
base url should like this https://sin1.contabostorage.com/a808f6dce2514fba8eeb68596724ddd1:fgage
not fgage.sin1.contabostorage.com
below is my config on owncast instance apps and it runs fine.
owncast config docs https://owncast.online/docs/storage/contabo/
Contabo Object Storage is S3 compatible and a good choice if you have a lot of viewers and a small budget, because there are no data transfer fees. You only have to pay for the storage capacity, starting at $2.49/month for 250 GB. Outbound traffic is routed through Cloudflare CDN.
PeerTube instance:
Browser name, version and platforms on which you could reproduce the bug:
Link to browser console log if relevant:
Link to server log if relevant (
journalctl
or/var/www/peertube/storage/logs/
):The text was updated successfully, but these errors were encountered: