Users in the Support category are reporting that Discourse upgrades hang, typically at the rake multisite:migrate step. user1 and others note that rolling back results in a 502 Bad Gateway error, often requiring an SSH rebuild via ./launcher rebuild app to resolve the issue 1, 10, 14, 15. Silvanus encountered a specific permission error: Failed to create the container ID file: open cids/app_bootstrap.cid: permission denied3. zogstrip suggested checking folder permissions, but the root cause was identified as Silvanus running commands without root privileges 4, 7. After correcting this by using sudo or logging in as root, Silvanus confirmed the upgrade completed successfully 6, 9. The issue appears to affect version v1.7.0.beta7+1 10, with some users noting that attempting the upgrade via the web browser first can cause the hang, while switching to the console and restarting the rebuild process resolves it 17.
Bundle complete! 99 Gemfile dependencies, 177 gems now installed.
Gems in the group development were not installed.
Bundled gems are installed into ./vendor/bundle.
$ bundle exec rake multisite:migrate
if you can rollback the update will error 502 Bad Gateway
I also tried upgrading today, halted at rake multisite:migrate line and currently logged in for rebuild…
Nggh. There’s a lot of problems:
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 10 app
app
cd /pups && git pull && /pups/bin/pups --stdin
/usr/bin/docker: Failed to create the container ID file: open cids/app_bootstrap.cid: permission denied.
See '/usr/bin/docker run --help'.
cat: cids/app_bootstrap.cid: No such file or directory
"docker rm" requires at least 1 argument(s).
See 'docker rm --help'.
Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...]
Remove one or more containers
rm: cannot remove ‘cids/app_bootstrap.cid’: No such file or directory
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one