Hey hello, #Introductions? #FirstToot ever. I picked vis.social as my first because it's purpose is like candy to me, but I have some pressing questions for @scott or maybe @hugo because I'm trying to install a Mastodon instance on my own server
Not going the Docker route cause I'm having redis problems in Docker during a NextCloud OCR module install; port already in use
I'm trying a stand alone Mastodon install but got hung up on a Ruby gems dependencies step
Help or redirects are appreciated
@hugo It was at this step:
# Use bundler to install the rest of the Ruby dependencies
`bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test`
of https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Production-guide.md#nodejs-and-ruby-dependencies that I had my first impasse with the 'idn' gem. One of the messages in the terminal was "ERROR: could not find idn library!" I tried a lot of ways to install that manually but all failed. I'm a Ruby noob, so their's that...
@WNYmathGuy my guess is that your are following an old tutorial. Since v1.5.0 that that
libicu-dev libidn11-dev are required: https://github.com/tootsuite/mastodon/releases/tag/v1.5.0
Just 'apt-get install libicu-dev libidn11-dev' as root and it should work.
@hugo #YouDaMan!
I had the `libicu-dev` already, but did _NOT_ have the `libidn11-dev` yet. As you predicted, after that library was in place, the `bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test
` command ran flawlessly.
I did get to those instructions directly from the joinmastodon.org "Install your own" [ Read the docs ] button. You think I should add a new issue on their git repo to update their documentation?
@WNYmathGuy Sure, that or you could just issue a pull request with adding the lib. Glad you managed to get it to work :)
@hugo
https://www.youtube.com/watch?v=jRhKGfjV7jg
The very next command failed. 😏
`yarn install --pure-lockfile` threw a "Usage: yarn [options]
yarn: error: no such option: --pure-lockfile" error message.
Gotta quit for today. Heading to UB to show off NextCloud to cool-nerd/techie friends.
@WNYmathGuy I don't use '--pure-lockfile' but I don't follow that tutorial. I just run 'yarn install' and it works on my setup.
@hugo I finally got back to trying to launch my instance. Turned out my Yarn problem was a Ubuntu problem. If you have cmdtest installed (I don't remember why I did) it contains a older version of Yarn in it and blocks any update install of the latest Yarn. Today I uninstalled `cmdtest` and `yarn` installed fine, then with the `mastodon` user the `yarn install --pure-lockfile` executed flawlessly.
My next hurdle is to get it to work with Apache on my Virtualmin managed Virtual Sub-Server.
@WNYmathGuy @hugo @scott
Hey! Welcome to the Fediverse.
I might try some IRC channels for mastodon installation support of I was you.
@phoe Oddly, I never got the hang of the way IRC worked. I dipped my toe into it about a decade or so ago and let that whither on the vine. Maybe I was doing it wrong?
@WNYmathGuy Simply join a channel of your choosing and ask around. Freenode channels are rather friendly in general.
@WNYmathGuy @hugo welcome! I've never installed 🐘 myself but the forums are a great place for help with that. discourse.joinmastodon.org
@WNYmathGuy @scott you have to create an account
@WNYmathGuy welcome 👋🏻
@WNYmathGuy @scott Hello, could you send more details of what gems are throwing errors?