Hi there,
I have recently migrated a server image that has Docker Discourse installed on it
I can get everything up and running, but I need to re-issue the SSL cert
Since the old server had SSL configured, I’m following this guide’s suggestion and running
./launcher rebuild app
This then causes docker to pull and update a bunch of things. The current image is Discourse 2.6.0.beta3 - https://github.com/discourse/discourse version 29f7e0689f61c5d85960a88f741ac3abced12d3e
The first time I ran it, it gave me the Postgres Upgrade message, so I ran ./launcher rebuild app
again as instructed
Now it just keeps failing every time, I believe due to this error with an insufficient version of ruby installed
ERROR: Error installing bundler:
bundler-2.5.3 requires Ruby version >= 3.0.0. The current ruby version is 2.7.2.137.
Here is the full output
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock) failed with return #<Process::Status: pid 304 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"web", "cmd"=>["gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,\"\"); print $0 }' Gemfile.lock)", "find $home ! -user discourse -exec chown discourse {} \\+"]}
2ad07f29ace1b5396d9944fc4fc5a1ec712727280e8bb3df760367d08bfe6a25
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
I would have thought Docker would update the Ruby version as needed?
I have tried manually logging into the container and install RVM, and activated Ruby v3+ but I still continue to get the same error
I’m a bit lost at this stage, and wonder is the version installed just too old to be upgraded with ./launcher
?
Any advise would be greatly appreciated!