The user kdmilelr45 encountered an upgrade failure in the Discourse admin console, receiving an error related to asset precompilation and a port conflict on 443. The error bind: address already in use suggests another service, like Apache or Nginx, is occupying the port. pfaffman identifies the issue as likely stemming from a problematic theme and recommends removing themes, upgrading, and re-adding them to isolate the cause. The user confirms Discourse is running but the upgrade fails due to the admin console error, and the port conflict is due to Docker’s proxy. kdmilelr45 confirms the container is active. The issue appears to be a combination of a port conflict and a theme-related error during the upgrade process.
when I used the admin console I got this message before it was working fine.
Upgrades via the web UI are disabled until you run the latest image.
To do so log in to your server using SSH and run:
cd /var/discourse
git pull
./launcher rebuild app
and when I followed the simple instructions I got this error message
FAILED
Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle exec rake them es:update assets:precompile’ failed with return #<Process::Status: pid 518 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn’
exec failed with the params {“cd”=>“$home”, “hook”=>“assets_precompile”, “cmd”=> [“su discourse -c ‘bundle exec rake themes:update assets:precompile’”]}
e3eb2969bd230aeaf5a9405901e7059aa898c61b41eec2156960a6bd2e08dd33
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
when I perform the ./discourse-doctor it starts rebuilding and I still have the same issue with the admin upgrade console
root@geeksove:/var/discourse# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8bf07ae47872 local_discourse/app “/sbin/boot” 7 weeks ago Up 2 hours 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp app
I think that you have a theme component that is the issue. You need to remove it, upgrade, and then add back the themes until you find the problem. Or, so I think.