moot

Open full view…

muut does not generate index in S3 Static Website Hosting

avicenna
Mon, 05 Dec 2016 08:46:09 GMT

I followed the instruction to create Static Web Hosting through S3 here http://learn.muut.com/developer/s3-bucket and I got stuck in this stage quoted below. > Save the policy, and then in the Static Website Hosting section of your bucket’s Properties, select Enable website hosting and enter your community name in the “Index Document” field (this will only be possible after the static indexes have been generated on your bucket at lease once). Then Save the setting and if you then visit your bucket’s publicly accessible URL (eg. YOURBUCKETNAME.s3-website-us-east-1.amazonaws.com) you will see the index of your forum’s static content. I entered my forum name _zeniusclub_ in "Index Document" . I tried to access the bucket url here: http://club.zenius.net.s3-website-us-east-1.amazonaws.com/ , I get this error > 404 Not Found > Code: NoSuchKey > Message: The specified key does not exist. > Key: zeniusclub > RequestId: 35AEF660D7CB4FCC > HostId: Vzll++RzcpDomBjvgeuiLQxeti1Heytid+wcASZXwfHPe9q9xx0s25PUxCMd2rdo56tuBo ze1UQ= I check the contents of my bucket and I see that muut already written most of the forum content such as in this url https://s3.amazonaws.com/club.zenius.net/i/zeniusclub

Monika
Mon, 05 Dec 2016 08:49:29 GMT

Hmm... I'm pretty sure it should be generating that index. I'll pass this onto our S3 guy and see what he has to contribute.

Monika
Wed, 07 Dec 2016 00:33:49 GMT

Alright, looks like there might have been an issue with index generation for some communities. Should be back up now. You may have to delete the contents of the bucket and let it refresh/repopulate the content before the index is there.

avicenna
Tue, 13 Dec 2016 05:59:15 GMT

about 5 days ago I deleted all the contents of the bucket but until today I still can't find the index file here http://club.zenius.net.s3-website-us-east-1.amazonaws.com/

Monika
Wed, 14 Dec 2016 01:07:20 GMT

Thanks for the heads up. We'll look into this.

avicenna
Tue, 24 Jan 2017 09:32:32 GMT

has there been any progress on resolving this problem?

Monika
Tue, 24 Jan 2017 17:59:04 GMT

Thanks for the ping. Asking the server team to see what's up. :)

Thiago Santos de Moraes
Sat, 18 Feb 2017 05:55:18 GMT

Any news?

Monika
Mon, 20 Feb 2017 08:08:30 GMT

So, word is that if you want to regenerate the contents you need to update the bucket name. That means delete the bucket name setting and re-add it. If you delete the setting and then set it again Muut thinks it has to sync it from scratch and delivers all the static content.

avicenna
Fri, 21 Jul 2017 10:11:24 GMT

I'm sorry. But, I've already deleted all my content on my s3 bucket then deleted the S3 bucket name in the muut setting and re-added it again. Up til now, my S3 bucket is still empty and Muut haven't synced it again.

Monika
Fri, 21 Jul 2017 20:32:33 GMT

I'll look into this for you

Thiago Santos de Moraes
Tue, 25 Jul 2017 18:58:53 GMT

News about this problem?

Monika
Wed, 26 Jul 2017 02:21:34 GMT

Courtney was unavailable for a couple days. Pressuring him to take a look today. We should have some clarity soon. Thanks for your patience

Monika
Wed, 26 Jul 2017 22:20:55 GMT

OK, It should be working now. There was an invalid UTF character that was causing it to silently fail. And we have protections from spamming aws so after a number of failures we stop trying for a while. We fixed it so the invalid characters are handled correctly, and regenerated your forum onto your bucket. You should be good to go

avicenna
Thu, 27 Jul 2017 03:08:37 GMT

Thank you, I can see that all the forum contents are there on my s3 bucket. I need a further clarification about the documentation http://learn.muut.com/developer/s3-bucket The documentation says: `Then Save the setting and if you then visit your bucket’s publicly accessible URL (eg. YOURBUCKETNAME.s3-website-us-east-1.amazonaws.com) you will see the index of your forum’s static content.` If I access my bucket here http://club.zenius.net.s3-website-us-east-1.amazonaws.com/ , I get 404 Not Found but, If I access my bucket with this url http://club.zenius.net.s3-website-us-east-1.amazonaws.com/i/ , I get the index of my forum. The difference is, I append `/i/` path

Monika
Thu, 27 Jul 2017 23:20:31 GMT

Hmmm It looks like our documentation is wrong, or rather has a typo. We've actually never had the root bucketname so it would load content. It is always prefixed it with '/i/' so that we don't conflict with any existing content and the muut client uses that as an identifier so it can look for the forumname (when embedding you can point to your s3 bucket) :)

avicenna
Fri, 28 Jul 2017 02:38:57 GMT

Ah, so there is always a prefix '/i/' before the forum name. Thank you for the clarification.