I have error when upgrade latest discourse

I have error when upgrade latest discourse:

Checking for extension updates                              notice

Your installation contains extensions that should be updated
with the ALTER EXTENSION command.  The file
    update_extensions.sql
when executed by psql by the database superuser will update
these extensions.


Upgrade Complete
----------------
Optimizer statistics are not transferred by pg_upgrade.
Once you start the new server, consider running:
    /usr/lib/postgresql/15/bin/vacuumdb --all --analyze-in-stages

Running this script will delete the old cluster's data files:
    ./delete_old_cluster.sh
-------------------------------------------------------------------------------------
UPGRADE OF POSTGRES COMPLETE

Old 13 database is stored at /shared/postgres_data_old

To complete the upgrade, rebuild again using:

./launcher rebuild app

I see no error, I just see next steps

2 Likes

I contitue to run, and it shows errors:

2025-02-13 16:30:53.012 UTC [43] LOG:  database system is shut down
110:M 13 Feb 2025 16:30:53.028 * DB saved on disk
110:M 13 Feb 2025 16:30:53.029 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'SKIP_EMBER_CLI_COMPILE=1 bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 1157 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"precompile", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'SKIP_EMBER_CLI_COMPILE=1 bundle exec rake themes:update assets:precompile'"]}
bootstrap failed with exit code 1
** 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.

I run doctor again, and it seems ok.
But I’m not sure about this issue.

1 Like

Can you scroll up and look for earlier error messages, and past them here?

2 Likes

My guess is that you’re out of me m memory? Have you tried to run the rebuild again?

How much ram and swap do you have (free -h)

1 Like

It runs ok, so I can not see them any more.

Thanks. I will pay attention to ram at next version updates.