I tried to upgrade and it didn’t work through the Admin interface, so I tried the ol’ ./launcher rebuild app and that failed too
I get this message right before it fails. This happens after server reboot too. Any tips?
An error occurred while installing mini_racer (0.1.3), and Bundler cannot
continue.
Make sure that `gem install mini_racer -v '0.1.3'` succeeds before bundling.
I’m trying to rebuild 1.6.5 after the web-upgrade from 1.6.4 to it failed, and have the same issue:
An error occurred while installing mini_racer (0.1.3), and Bundler cannot continue.
Make sure that `gem install mini_racer -v '0.1.3'` succeeds before bundling.
Currently my site is down and I can’t find a way to get it running again.
I tried changing version in the app.yaml file to 1.6.4 as I saw suggested in another post but I see the same issue there. I’ve changed it back to stable for now.
When I did the app rebuild the first time, it pulled a new Docker container image down, so I wonder if that has something in it that’s causing this to break? Is there a way I can roll back to the old container?
Just out of curiosity, I started a fresh Ubuntu 14.04 virtual machine and installed Discourse, following the quick install guide. The only change I made to the app.yml after running the config tool was to choose the stable branch, and when I then bootstrap the container, I get the same errors as in my previous post - so it appears it’s not possible to install a stable series Discourse any longer?
I’m hesitant to move to tests-passed since we have plugins which track the stable series so may not work on the latest and greatest.
Editing launcher line 67 from
image=discourse/discourse:1.3.7
to
image=discourse/discourse:1.3.6
allows the container to bootstrap, so I’m going to try that now on my production box. I’m not sure if there is any negative implication with using the older container file, but it does point to the problem being in that area.
Update
Changing to container 1.3.6 got my production box back up and running with
current directory: /usr/local/lib/ruby/gems/2.3.0/gems/mini_racer-0.1.3/ext/mini_racer_extension
make “DESTDIR=” clean
current directory: /usr/local/lib/ruby/gems/2.3.0/gems/mini_racer-0.1.3/ext/mini_racer_extension
make “DESTDIR=”
compiling mini_racer_extension.cc
mini_racer_extension.cc:4:24: fatal error: include/v8.h: No such file or directory
compilation terminated.
Makefile:206: recipe for target ‘mini_racer_extension.o’ failed
make: *** [mini_racer_extension.o] Error 1
make failed, exit code 2
Gem files will remain installed in /usr/local/lib/ruby/gems/2.3.0/gems/mini_racer-0.1.3 for inspection.
Results logged to /usr/local/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0-static/mini_racer-0.1.3/gem_make.out