From 95781c218eb12b0aa0924117f88b40279d7c7091 Mon Sep 17 00:00:00 2001 From: Ayush Newatia Date: Fri, 8 Nov 2024 12:47:49 +0000 Subject: [PATCH] Simplify error trace --- .../src/_docs/installation/upgrade.md | 24 +++---------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/bridgetown-website/src/_docs/installation/upgrade.md b/bridgetown-website/src/_docs/installation/upgrade.md index 80ae1ddb8..40421568b 100644 --- a/bridgetown-website/src/_docs/installation/upgrade.md +++ b/bridgetown-website/src/_docs/installation/upgrade.md @@ -57,29 +57,11 @@ class RodaApp < Roda end ``` -Additionally, you may hit this issue with the server and the error will look something like this: +Additionally, you may also hit the following error: ``` -➜ docs git:(konnorrogers/major-overhaul) ✗ bin/bridgetown start -[Bridgetown] Starting: Bridgetown v2.0.0.beta2 (codename "(TBD!)") -[Bridgetown] -[Bridgetown] Booting Puma at: http://0.0.0.0:4000 -[Bridgetown] -/Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/3.3.0/bundled_gems.rb:74:in `set_encoding': Interrupt - from /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/3.3.0/bundled_gems.rb:74:in `require' - [...] - from /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-core-2.0.0.beta2/bin/bridgetown:30:in `' - from bin/bridgetown:27:in `load' - from bin/bridgetown:27:in `
' -[Bridgetown] Stopping auxiliary processes... -[Bridgetown] Exception raised: Errno::ENOENT -[Bridgetown] No such file or directory @ rb_sysopen - /Users/konnor/projects/oss/doxxing-time-layouts/rhino-editor/docs/tmp/pids/aux.pid -[Bridgetown] 1: /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-foundation-2.0.0.beta2/lib/bridgetown/foundation/packages/pid_tracker.rb:15:in `readlines' -[Bridgetown] 2: /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-foundation-2.0.0.beta2/lib/bridgetown/foundation/packages/pid_tracker.rb:15:in `read_pidfile' -[Bridgetown] 3: /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-core-2.0.0.beta2/lib/bridgetown-core/utils/aux.rb:51:in `kill_processes' -[Bridgetown] 4: /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-core-2.0.0.beta2/lib/bridgetown-core/commands/start.rb:104:in `block (2 levels) in start' -[Bridgetown] 5: /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-core-2.0.0.beta2/lib/bridgetown-core/commands/start.rb:11:in `ensure in start' -[Bridgetown] Backtrace: Use the --trace option for complete information. +Exception raised: Errno::ENOENT +No such file or directory @ rb_sysopen - /tmp/pids/aux.pid ``` In which case, refer to the above fix for configuring your Roda server.