Cannot ./launcher rebuild app

Hi All i have the below error any idea on how to fix it ?

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 571 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.3.0/lib/pups/exec_command.rb:131:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
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.
45b3d2e2831f4e090fba5da5f4e3bcfb5cabdb6b8f694b7765676ac9b5b0f6d2
root@forum:/var/discourse#

As it says:

I recommend you post a couple of hundred lines from the end of your log file.

1 Like

what deos free -h return?

1 Like

It gives this :

root@forum:/var/discourse# free -h
              total        used        free      shared  buff/cache   available
Mem:          7.8Gi       1.7Gi       2.8Gi       1.0Gi       3.2Gi       4.8Gi
Swap:            0B          0B          0B
root@forum:/var/discourse#
1 Like

same as i was then, however i do now have 2GB of Swap just-in-case

1 Like

Hi there, like @Ed_S mentioned, could you send the last chunk of stuff from your log file? The error may be in there.