Reset my development environment, but it's stuck in read-only mode

I was running a dev environment in

~/src/discourse-1.6/

and switched over to

~/src/discourse

(Yes, I’m too stupid to actually use git, so this was my solution.)

I did

    RAILS_ENV=development
    export RAILS_ENV
    RAILS_ENV=development bundle exec rake db:drop db:create db:migrate

But now when I go to the site and try to log in I get “Login is disabled while the site is in read only mode”.

I saw something somewhere about nuking, blowing away, or resetting redis, but I can’t figure out how to go about that.

In the container, redis-cli flushall should do it, from memory.

3 Likes

Did the trick! That’s some memory you’ve got.

It’s my cross to bear.