Port 3000 & 5000 timeout for clean error-free install

After a clean installation following instructions at official github
I can only get ERR_CONNECTION_TIMED_OUT when loading https://mydomain.com:3000 or :5000

My server is an IONOS (1&1) ubuntu virtual machine. I have multiple .com domains pointing to that server and I want to install sharetribe on just one of them, so I did the installation within the root folder of that specific doman and not on the virtual machine home directory ~ (I wonder if this was my mistake)

These are the exact installation steps I had to follow, including comments where I had to adapt anything for it to work:

1st step is: I login with root user (using putty) and navigate to the root http folder of my domain:
cd …
cd /var/www/vhosts/mydomain.com/

then the installation steps w/ comments on my adaptations

sudo apt-get install software-properties-common
sudo apt-add-repository -y ppa:rael-gc/rvm
sudo apt-get update
sudo apt-get install rvm
sudo usermod -a -G rvm $USER
echo ‘source “/etc/profile.d/rvm.sh”’ >> ~/.bashrc
sudo reboot
rvm user gemsets
rvm install ruby-2.6.5
gem install bundler
apt install npm
npm install -g n
n 10.15.3
sudo apt-get install sphinxsearch
sudo apt install imagemagick
git clone git://github.com/sharetribe/sharetribe.git

rvm install ruby-2.7.5 // I have to do this to avoid a warning when cd into sharetribe folder
rvm use ruby-2.6.5 // but I get back to use version 2.6.5 as recommended

cd sharetribe
git checkout latest
gem install bundler:1.17.3
apt-get install libmysqlclient-dev
gem install mysql2 -v ‘0.4.10’ --source ‘https://rubygems.org/
bundle install
npm install
cp config/database.example.yml config/database.yml

// I now edit config/database.yml and include usr/pwd of my root user on all databases listed

cp config/config.example.yml config/config.yml
bundle exec rake db:create db:structure:load
bundle exec rake ts:index
bundle exec rake ts:start
apt install ruby-foreman

sudo apt-get install rubygems // see next comment
gem install foreman // next line was gving me a /usr/bin/ruby: bad interpreter: no such file or directory, so I had to install it this way to fix the issue - don’t know why, just googled

foreman start -f Procfile.static
bundle exec rake jobs:work

After this step, my console will be outputing this message fore ever, every few seconds:

DEBUG Delayed::Backend::ActiveRecord::Job Load (0.9ms)
SELECT delayed_jobs.* FROM delayed_jobs WHERE ((run_at <= ‘2022-02-16 05:48:37.731539’ AND (locked_at IS NULL OR locked_at < ‘2022-02-16 05:45:37.731558’) OR locked_by = ‘host:bold-mendeleev pid:36436’) AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 5
DEBUG ↳ /root/.rvm/gems/ruby-2.6.5/bin/rake:23

I’m wondering if I should have instaled sharetribe on the home folder ~ instead of on the .com domain root folder, but then I don’t know how I’d point my domain URL to the installation of sharetribe.

Thanks for your support!

Hi @pre!

I’m not sure what’s going on exactly but in case that helps, we’ve just updated Go to Ruby 2.7.5 a couple of days ago. If you’re working from the latest master branch, you should probably use that version, too.

The Readme file was outdated and still mentioned 2.6.5, which was indeed wrong and confusing. It has just been updated.

Maybe that will help and if not, hopefully, someone else who has experienced such situation will be able to share their solution :slight_smile:

Thanks @thomasmalbaux I’ll check if using 2.7.5 solves the issue but I don’t hold high hopes : /
I’ll let you know in any case