Hängt bei der App-Neuerstellung

Ich bin dabei, zu einem neuen Droplet zu wechseln und folge dieser Anleitung:

Ich bin an dem Punkt angelangt, an dem ich neu erstellen muss, und es läuft eine Weile gut, bevor es hier endet:

110:M 21 Dez 2023 17:29:25.029 * Background saving started by pid 2933
2933:C 21 Dez 2023 17:29:25.583 * DB saved on disk
2933:C 21 Dez 2023 17:29:25.590 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB
110:M 21 Dez 2023 17:29:25.632 * Background saving terminated with success

Wenn ich ältere Beiträge zu diesem Problem betrachte, konzentrieren sich die meisten Vorschläge auf einen Neustart des VPS und das erneute Ausführen des Befehls. Ich habe dies getan und es hat das Problem nicht behoben. Ich habe den Neuaufbau nun dreimal durchgeführt mit folgenden Ergebnissen:

  1. Neustart ohne Rückkehr
  2. Etwa eine Stunde gewartet und Folgendes geschah schließlich:
110:M 21 Dez 2023 17:29:25.022 * 100 changes in 300 seconds. Saving...
110:M 21 Dez 2023 17:29:25.029 * Background saving started by pid 2933
2933:C 21 Dez 2023 17:29:25.583 * DB saved on disk
2933:C 21 Dez 2023 17:29:25.590 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB
110:M 21 Dez 2023 17:29:25.632 * Background saving terminated with success
^[[HKilled
error Command failed with exit code 137.
I, [2023-12-21T18:19:23.241028 #1]  INFO -- : yarn run v1.22.19
$ /var/www/discourse/app/assets/javascripts/node_modules/.bin/ember build
Building
Environment: development
WARNING: ember-test-selectors: You are using an unsupported ember-cli-babel version. data-test properties are not automatically stripped from your JS code.
building...
...[ConfigLoader]
...[Babel: discourse-widget-hbs > applyPatches]
...[Babel: ember-source > applyPatches]
...[ember.js]
...[Babel: discourse-common > applyPatches]
...[Babel: truth-helpers > applyPatches]
...[Babel: ember-tracked-storage-polyfill > applyPatches]
...[Babel: @ember/render-modifiers > applyPatches]
...[Babel: @ember/test-helpers > applyPatches]
...[Babel: @ember/test-waiters > applyPatches]
...[Babel: @embroider/util > applyPatches]
...[Babel: @glimmer/component > applyPatches]
...[Babel: dialog-holder > applyPatches]
...[Babel: ember-this-fallback > applyPatches]
...[Babel: ember-buffered-proxy > applyPatches]
...[Babel: ember-exam > applyPatches]
...[Babel: ember-functions-as-helper-polyfill > applyPatches]
...[Babel: ember-resize-observer-service > applyPatches]
...[Babel: float-kit > applyPatches]
...[Babel: select-kit > applyPatches]
...[@embroider/compat/app]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I, [2023-12-21T18:19:23.255055 #1]  INFO -- : Terminating async processes
I, [2023-12-21T18:19:23.255857 #1]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 41
2023-12-21 18:19:23.256 UTC [41] LOG:  received fast shutdown request
I, [2023-12-21T18:19:23.257064 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 110
110:signal-handler (1703182763) Received SIGTERM scheduling shutdown...
2023-12-21 18:19:23.265 UTC [41] LOG:  aborting any active transactions
110:M 21 Dez 2023 18:19:23.269 # User requested shutdown...
110:M 21 Dez 2023 18:19:23.270 * Saving the final RDB snapshot before exiting.
2023-12-21 18:19:23.284 UTC [41] LOG:  background worker "logical replication launcher" (PID 50) exited with exit code 1
2023-12-21 18:19:23.285 UTC [45] LOG:  shutting down
2023-12-21 18:19:23.375 UTC [41] LOG:  database system is shut down
110:M 21 Dez 2023 18:19:23.638 * DB saved on disk
110:M 21 Dez 2023 18:19:23.639 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 2840 exit 137>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
bootstrap failed with exit code 137
** 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.
75e3ba35e779508ddbe9e536babf134fb2f100a50e05c38c1f26555d76801c98
  1. Lief etwa eine Stunde lang, bevor ich eine “broken pipe”-Fehlermeldung erhielt und die Verbindung unterbrochen wurde.

Gibt es Hinweise, wie ich von hier aus weitermachen kann?
Dieses Droplet hat 2 GB RAM / 50 GB Speicherplatz und läuft unter Ubuntu 23.10 x64. Der rsync-Befehl schien wie erwartet zu funktionieren.
Danke!

Ich glaube, Fehler 137 bedeutet nicht genügend Speicher. Haben Sie genügend Swap eingerichtet?

Argh, das war es, ich hatte keinen Swap eingerichtet. Danke, jetzt ist alles in Ordnung.

2 „Gefällt mir“

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.