HELP: Fresh install error -> No address associated with hostname

I’ve been following a blog post to get a single standalone marketplace up at my domain theasign [dot] com.

I’ve managed to get things working up to the last step, which is to get the app to load at my url. I get a 500 Internal Server Error.

I don’t need a subdomain but I’m confused as to if this is mandatory? I get the error below.

Would REALLY appreciate some help. I’m out of debugging ideas.

RuntimeError (No address associated with hostname):
app/utils/current_marketplace_resolver.rb:27:in sole_community_or' app/utils/current_marketplace_resolver.rb:5:in resolve_from_host’
lib/rack_middleware/marketplace_lookup.rb:13:in call' lib/rack_middleware/custom_cookie_renamer.rb:11:in call’
lib/rack_middleware/enforce_ssl.rb:23:in call' lib/rack_middleware/health_check.rb:12:in call’

I suspect it has something to do with these instructions. Are these necessary and how do you go about doing it? and what the hell is the “ident” field in the community model?

THANKS for your help.

Not sure if this is a help or not. We have an install of a version from about four years ago and we followed these instructions from Sharetribe to the letter and then restarted the server:

  • In your database, change the value of the domain column in the communities table to match the hostname of your domain. For example, if the URL for your marketplace is http://mymarketplace.myhosting.com, then the domain is mymarketplace.myhosting.com.

  • Change the value of the use_domain column to true (or 1) in the communities table.

Thanks Susan. I’m not sure of what the instructions are asking me to do. My best guess at following the instructions was to create a single record in the communities table with the stated parameters.

Login to MySQL

mysql -uroot -p

Select the production database

use sharetribe_production;

Update the communities.domain value

UPDATE communities SET domain=“example.com”;

Update the communities.use_domain boolean value

UPDATE communities SET use_domain=“1”;

Exit out of MySQL

exit

Reboot or restart server or web server