Both options fail. Trying --recv-keys method (and chmod the folders to 750 and files to 640 as suggested in the installation instructions on the Diaspora Wiki gives:
diaspora@ubuntu-8gb-hel1-1:~/.gnupg$ gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
gpg: WARNING: unsafe permissions on homedir ‘/home/diaspora/.gnupg’
gpg: keyserver receive failed: Server indicated a failure
Trying the command curl requires sudo rights, which I try to avoid as per the installation instructions given in the Diaspora Wiki.
Is it really possible to follow the installation instructions without adding the diaspora user to the sudo group? I have managed tot get Diaspora* running using other tutorials which are using sudo. But I have never managed to get Diaspora* running using the official following the official tutorials.
You can do that as a non-root/non-sudo users - but you have to fix the permission errors first. 750 and 640 aren’t actually the right permissions. The .gnupg folder needs to be readable by you only, so as the diaspora user, run
chmod 600 ~/.gnupg/*
chmod 700 ~/.gnupg
After that, import the RVM keys from the new keyserver they recommend. The old keyserver is down, and RVM switched their recommendation three years ago, but it seems like your RVM version is really old. To import the RVM keys, run
Thanks for the help so far. It works. But I found out that there is something wrong with the image that the hosting company I use is using which is the root cause that I am unable to follow the official installation instructions.