Like outlined in the Medium guide I used above, I followed the configuration exactly besides the number of small errors I outlined here and fixed within my configuration.
Everything installs correctly with the newest versions of IPFS. The ipfs --profile server initializes without issue.
The problem is a systemctl service that when I try to start, it gets stuck like what is outlined below.
All in all, I am just trying to get a semi-configurable public gateway working and I am wondering if there is a better guide or someone I can chat with to help steer me in the right direction. Also if there is a server configuration that works better, I am all ears to try that too.
After looking through a few Github issues, it does not seem there is a solution to the specific problem I am getting here, just some workarounds. I also reached out to the Medium articles writer to see if they had any recomendations.
Looking at the guide you’re following, it seems that it has an error in the systemd unit file. Remove the space from -- enable-gc. Once you edit the unit file you will have to run systemctl daemon-reload to load your changes into systemd, after that run systemctl start ipfs (or whatever your unit file is named).
I deployed with your guide and it took me 15 minutes. Thanks so much! Still going to try and figure out how to get it done on AWS. Such an awesome walkthrough, thanks a million!
I tried copy/pasting your command and it works, I was thinking that perhaps a weird character (an em-dash, nonbreaking space, something like that) had snuck in. From journalctl it would seem that it’s not recognizing the --enable-gc option, which is bizarre.
I’m wondering if there’s some control character in there that is not showing up in the copy-paste, otherwise I’m confused.