Google cloud as server: only index file uploaded
-
December 19, 2019 at 9:43 pm #1068
[anonymous]
Dear Forum users,
I am new to Publii and set up a Google cloud storage bucket as server, which worked ok. But after synching the website, only a single file is placed into the bucket: “files.publii.json” which appears to be some kind of index file. Of course visiting the website does not work.
This seems to be a bug with Publii (version v.0.35.3 (build 12104) Beta)?
Any ideas?
-Chris
December 22, 2019 at 5:41 pm #1079
[anonymous]
Hi,
I am not sure, but it can be related to your bucket configuration. Did you followed our tutorial: https://getpublii.com/docs/make-static-website-google-cloud.html or did you make some custom configuration?
December 23, 2019 at 12:22 pm #1082
[anonymous]
Hi,
I pretty much followed the tutorial, just that I used a Multi-Regional bucket. But that can’t be the problem. To me it looks like a bug in the software.
December 23, 2019 at 7:40 pm #1083
[anonymous]
Could you go to Tools -> Log viewer and check connection-* files?
December 23, 2019 at 8:25 pm #1084
[anonymous]
Ok, I found these two errors below, other such files are empty.
Is this it? Object policies are disabled? I can’t really find the relevant part of the tutorial to set those… but then the current version of the Google cloud is a bit newer than the tutorial.
[{“path”:”feed.xml”,”type”:”file”}]
Founded 2 operations to do
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – -ERROR UPLOAD FILE – – –
feed.xml
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – – – – – – – – – – – – –
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – -ERROR UPLOAD FILE – – –
feed.xml
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – – – – – – – – – – – – –
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – -ERROR UPLOAD FILE – – –
feed.xml
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – – – – – – – – – – – – –
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – -ERROR UPLOAD FILE – – –
feed.xml
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – – – – – – – – – – – – –
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – -ERROR UPLOAD FILE – – –
feed.xml
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – – – – – – – – – – – – –
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – -ERROR UPLOAD FILE – – –
feed.xml
ApiError: Cannot use ACL API to set object policy when object policies are disabled.
– – – – – – – – – – – – – –
UPL HARD ERR …/Publii/sites/…/output/feed.xml -> feed.xml
-> files.publii.jsonDecember 23, 2019 at 8:36 pm #1085
[anonymous]
Ok, after changing the bucket to “fine-grained” permissions, I am one step further, it uploads something now.
But now the CSS assets are missing, with very visible effects…
Thanks for the help so far, btw.
December 23, 2019 at 9:34 pm #1086
[anonymous]
Please check if the CSS files are on your bucket. If yes, then I suppose that your domain is wrongly configured under server settings.
December 24, 2019 at 10:18 am #1087
[anonymous]
No, the ‘assets’ folder is missing entirely. I have ‘authors’ and ‘amp’ though.
December 24, 2019 at 10:28 am #1088
[anonymous]
Ok, deleting everything and re-synching did the trick. Seems to be complete now. Thanks. Case closed.