^^^ The above post just stopped working for me, and now my forum is hosed.
I, [2017-11-30T06:18:58.231418 #13] INFO -- : > cd /var/www/discourse && sudo -E -u discourse bundle exec rake db:migrate
I, [2017-11-30T06:19:15.940308 #13] INFO -- : `/root` is not writable.
Bundler will use `/tmp/bundler/home/discourse' as your home directory temporarily.
Not sure why
/root is not writeable, especially since my user is
root… I’m going to try to chmod 700 it first. Otherwise I need to remove some of these custom commands I guess.
These are the commands that stopped working, it seems, from this comment:
- exec: cd $home && sudo -E -u discourse bundle exec rake db:migrate
- exec: cd $home && rm -fr tmp/cache
- exec: cd $home && sudo -E -u discourse bundle exec rake assets:precompile
Confirmed. Remove those three commands above and we’re back in business. Hopefully the plugins I was installing are still working. They seem to be.