Hi,
I’m in charge of running a Discourse forum for one organization I’m part of. It’s running on an Ubuntu 18.04 box on AWS. I’m somewhat familiar with Ubuntu, not really with Discourse.
I’ve tried upgrading to the latest version and get stuck. Here’s what I’ve tried:
# apply security updates
apt-get update
apt-get dist-upgrade
# update packages
apt-get update
apt-get upgrade
# update Docker
wget -qO- https://get.docker.com/ | sh
# try updating Discourse again
cd /var/discourse
./launcher rebuild app
Whenever I reach the following steps the update hangs:
I, [2023-09-28T21:24:31.330675 #1] INFO -- : > cd /var/www/discourse && gem install bundl
er --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lo
ck)
I, [2023-09-28T21:24:32.423727 #1] INFO -- : Successfully installed bundler-2.4.13
1 gem installed
I, [2023-09-28T21:24:32.424286 #1] INFO -- : > cd /var/www/discourse && find /var/www/dis
course ! -user discourse -exec chown discourse {} \+
I, [2023-09-28T21:26:48.768332 #1] INFO -- :
I, [2023-09-28T21:26:48.769200 #1] INFO -- : > cd /var/www/discourse && if [ "tests-passe
d" != "tests-passed" ]; then
rm -rf app/assets/javascripts/node_modules
fi
I, [2023-09-28T21:26:48.771875 #1] INFO -- :
I, [2023-09-28T21:26:48.772302 #1] INFO -- : > cd /var/www/discourse && su discourse -c '
yarn install --frozen-lockfile && yarn cache clean'
warning " > @glint/environment-ember-loose@1.1.0" has unmet peer dependency "@glimmer/comp
onent@^1.1.2".
warning " > @glint/environment-ember-template-imports@1.1.0" has unmet peer dependency "em
ber-template-imports@^3.0.0".
warning " > @mixer/parallel-prettier@2.0.3" has unmet peer dependency "prettier@^2.0.0".
htop
shows a few yarn.js
processes that seem stuck:
13727 ubuntu 20 0 911M 160M 29000 S 2.7 16.5 0:54.90 node /usr/share/yarn/bin/yarn.js install --frozen-lockfile
13747 ubuntu 20 0 911M 160M 29000 D 0.7 16.5 0:04.90 node /usr/share/yarn/bin/yarn.js install --frozen-lockfile
Anything I can try?
Thanks in advance.