#630·upspin

upspin-ui GCP setup doesn't give allUsers read access to bucket

Author: alltomCreated Dec 3, 2019Updated Dec 4, 2019

I'm trying to follow https://upspin.io/doc/faq.md to allow a second account to use my personal upspin server, but getting stuck. Repro steps:

  1. Create a server on GCP with upspin-ui. Sign up as [email protected]. Reading/writing files works as expected.
  2. On a second computer, create a new user [email protected] with upspin-ui.
  3. Back on the first computer, copy ~/upspin/config.upspinserver to ~/upspin/deploy/myhostname/config
    1. (Should the initial setup have done this? upspin setupwriters seems to assume the config lives in a ~/upspin/deploy subdirectory… or maybe this is my problem?)
  4. Run upspin setupwriters -domain myhostname [email protected] [email protected]
    1. If I upspin get the Group/Writers file, I see that both users are now in it.
  5. Back on the second computer, choose the option to specify the servers.
  6. Enter "myhostname:443" in both Directory Server and Store Server fields.
  7. Click "Continue".

After a short delay, an error appears in the bottom of the dialog with a message like:

error communicating with "myhostname:443": store/remote("myhostname:443").Get: fetching https://storage.googleapis.com/mybucket/Upspin:notexist: 403 Forbidden"

Did I miss a step?