Une Goupelin Autiste utilise witches.town. Vous pouvez læ suivre et interagir si vous possédez un compte quelque part dans le "fediverse".

@ashkitten Failed dependencies from the looks of it. Installed them and hopefully it'll work this time?

@ashkitten spiderrobotpig@spiderrobotpig-Aspire-F5-573G:~$ sudo gem install bundler
Successfully installed bundler-1.14.6
Parsing documentation for bundler-1.14.6
Done installing documentation for bundler after 2 seconds
1 gem installed
spiderrobotpig@spiderrobotpig-Aspire-F5-573G:~$ bundle install --deployment --without development test
Could not locate Gemfile

Blep

@spiderrobotpig Are you using the version of ruby that you just built?

@ashkitten We think so?

We installed the ruby, then ran the code again

@spiderrobotpig Add `exec "$(rbenv init -)"` (without the backticks) to your .bashrc and `source .bashrc`

@ashkitten "Add `exec "$(rbenv init -)"` (without the backticks) to your .bashrc and `source .bashrc`"

this part you said. Thought we found .bashrc but we didn't

@ashkitten Our terminal is just kinda force closing now.

we may need to reinstall Ubuntu

@spiderrobotpig oh no i'm sorry >.<
uh, try switching to a TTY? ctrl+alt+f2

@ashkitten smoking cos annoyed.

Will try when we get back in

@ashkitten tty1 and tty2 are stuck in login loops :/

Will try editing bashrc outside terminal to see if that helps

@ashkitten Yeah, it was the ruby thing.

As soon as we removed that everything is back to normal

@ashkitten exec "$(rbenv init -)"

We put that at the end

@spiderrobotpig can you try executing that in the terminal?

@ashkitten ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]

That looks good, but the gem thing is still happening

@ashkitten Are we goofing something with docker? because the nginx thing at the beginning makes no sense to us and docker is equally as confusing and they weren't in the other tutorial

@spiderrobotpig Don't bother with docker if you have no experience with it :)

@ashkitten So, we dunno how important this is, but it says peer authentification failed when we try to log in as mastodon

@spiderrobotpig Peer authentication failed? when you do sudo su - mastodon?

@ashkitten no, when we try sudo -u postgres psql -U mastodon

when we try sudo su - mastodon, it says there's no password

@spiderrobotpig I'm really confused, and without access to the system I'm not sure how well I can help

@ashkitten How would we give you access to the system? It's a fresh install basically so there's not really even anything on it

@ashkitten Okay, now we're stuck cos the Ruby is the wrong version cos we need 2.4.1.

So we're going to try and get that fixed.

PROGRESS

@ashkitten Yah, but it's weird cos it's already installed?

So do we update the nginx.conf?

@spiderrobotpig If you've executed the rbenv init line and you've installed the ruby version and you're in the project directory, rbenv should pick up the version you want

Une Goupelin Autiste @spiderrobotpig

@ashkitten Maybe we need to install it again in that directory?

Gonna try that

@ashkitten found something we're going to figure it out

@ashkitten Not great tbh

Still giving us the wrong ruby version even though we've modified everything

@spiderrobotpig let me know when you get it up and running :)

@ashkitten Okay, last question we think?

What are we supposed to do with the email thing?

@spiderrobotpig Email thing... Set up an account somewhere (I used sendgrid.com) and copy the SMTP info from

@ashkitten Also, rake secret isn't working, and we dunno what to do for the bottom 3

# Service dependencies
REDIS_HOST=redis
REDIS_PORT=6379
DB_HOST=db
DB_USER=mastodon
DB_NAME=mastodon
DB_PASS=SHHHHHHHHH
DB_PORT=5432 (Dunno this?)

# Federation
LOCAL_DOMAIN=witches.academy
LOCAL_HTTPS=true

# Application secrets
# Generate each with the `rake secret` task (`docker-compose run --rm web rake $
PAPERCLIP_SECRET=
SECRET_KEY_BASE=
OTP_SECRET=

@spiderrobotpig DB_PASS should be blank. Use bundle exec rake secret instead.

@spiderrobotpig note: two separate instructions, not to be mixed

@ashkitten /etc/systemd/system/mastodon-web.service

doesn't exist?

WE ARE SO CLOSE DANG IT

@ashkitten We're getting a 503 occasionally is that good?

otherwise we goofed somewhere

@ashkitten Although it is linking when we add it now which is interesting