Install Discourse on macOS for development

Hi,I am installing on m1 Monterey and need some help.

After bundle install is completed, when doing db create, I have the following error saying symbol not found in flat namespace '___aarch64_ldadd4_acq_rel':

bundle exec rake db:create
rake aborted!
LoadError: dlopen(/Users/$USERID/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/rbtrace-0.4.14/lib/rbtrace.bundle, 0x0009): symbol not found in flat namespace '___aarch64_ldadd4_acq_rel' - /Users/$USERID/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/rbtrace-0.4.14/lib/rbtrace.bundle
/Users/$USERID/discourse/config/environments/development.rb:80:in `block in <main>'
/Users/$USERID/discourse/config/environments/development.rb:3:in `<main>'
/Users/$USERID/discourse/config/environment.rb:7:in `<main>'
/Users/$USERID/.rbenv/versions/2.7.3/bin/bundle:25:in `load'
/Users/$USERID/.rbenv/versions/2.7.3/bin/bundle:25:in `<main>'
Tasks: TOP => db:create => db:load_config => environment
(See full trace by running task with --trace)

Thanks!

1 Like

When executing this:

I got this error:

MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error. ( Redis::CommandError )

Fix this by restarting Redis:

brew services restart redis

and youā€™ll be fine.

5 Likes

look good! :slight_smile: thank you very much

1 Like

My database creation failed:

connection to server on socket "/tmp/.s.PGSQL.5432" failed: fe_sendauth: no password supplied
Couldn't create 'discourse_development' database. Please check your configuration.

Do I need to provide the user and password for my PostGresql db?

2 Likes

itā€™s been a while so you probably got it working, but for anyone that has the same problem you have to have imagemagick and can use brew install imagemagick like described here

1 Like

A suggestion:

I think thereā€™s value adding this bit in the original guide, since it is a major dependency :thinking:

I was setting up Discourse on a fresh install of Big Sur. When I run bin/ember-cli, I realised that I havenā€™t installed node yet. From experience, I could figure out what to do. However I imagined a much younger me would not be able to figure it out immediately, and could be a source of unnecessary frustration(s) :pensive:

Something like this?:

Starting with Discourse 2.5+ EmberCLI is required in development and these additional steps will be required:

Open a separate terminal instance.

If you donā€™t have node, install it is by running:

brew install node

Navigate to your discourse folder (cd ~/discourse) and run:

bin/ember-cli

You should now be able to navigate to http://localhost:4200 to see your local Discourse installation.

4 Likes

2 posts were merged into an existing topic: Beginners Guide to Install Discourse on Ubuntu for Development

When I first followed these directions and ran bundle exec rake db:migrate I received the following error:

rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - /Users/daniel/workspace/discourse/app/assets/javascripts/node_modules/xss/dist/xss.min.js
/Users/daniel/workspace/discourse/lib/pretty_text.rb:612:in `block in ctx_load'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:611:in `each'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:611:in `ctx_load'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:108:in `create_es6_context'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:152:in `block in v8'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:150:in `synchronize'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:150:in `v8'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:304:in `block in escape_emoji'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:605:in `block in protect'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:604:in `synchronize'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:604:in `protect'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:303:in `escape_emoji'
/Users/daniel/workspace/discourse/app/models/emoji.rb:222:in `unicode_unescape'
/Users/daniel/workspace/discourse/app/models/topic.rb:458:in `fancy_title'
/Users/daniel/workspace/discourse/app/models/topic.rb:347:in `block in <class:Topic>'
/Users/daniel/workspace/discourse/app/models/category.rb:300:in `block in create_category_definition'
/Users/daniel/workspace/discourse/app/models/category.rb:295:in `create_category_definition'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:114:in `create_category'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:15:in `block (2 levels) in create'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:15:in `each'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:15:in `block in create'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:14:in `create'
(eval):6:in `block (2 levels) in run_file'
/Users/daniel/workspace/discourse/lib/tasks/db.rake:152:in `block (2 levels) in <main>'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:57:in `block in synchronize'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:53:in `synchronize'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:53:in `synchronize'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:38:in `synchronize'
/Users/daniel/workspace/discourse/lib/tasks/db.rake:132:in `block in <main>'
/Users/daniel/.rbenv/versions/2.7.3/bin/bundle:25:in `load'
/Users/daniel/.rbenv/versions/2.7.3/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

To resolve this issue I did have to run yarn install before the command.

1 Like

help
Your bundle is locked to webmock (3.16.0) from rubygems repository https://rubygems.org/ or installed locally, but that
version can no longer be found in that source. That means the author of webmock (3.16.0) has removed it. Youā€™ll need to
update your bundle to a version other than webmock (3.16.0) that hasnā€™t been removed in order to install.

edit: (seems to big a bigger problem here, my bundler says the ruby version is too old and then i update my ruby and it still says itā€™s old)

2 Likes

I have the same issue. Were you able to resolve this @astro?

1 Like

Please share the output of ruby -v and which ruby on your terminal.

6 Likes

Oops, developer error on this one :man_facepalming:

I didnā€™t realize I was on a branch that was likely well behind the docker images. After switching to a current branch, Iā€™m good. Hope this helps you out @astro.

1 Like

If you ever encounter a postgresql error starting up your rails server like this
Library not loaded: /opt/homebrew/opt/postgresql/lib/libpq.5.dylib
or (no such file), ā€˜/usr/local/lib/libpq.5.dylibā€™

gem uninstall pg
bundle install
4 Likes

Following the steps up to bundle exec rake db:create results in this error:

bundle exec rake db:create

rake aborted!

LoadError: dlopen(/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86_64-darwin-22/2.7.0/mini_racer-0.6.1/mini_racer_extension.bundle, 0x0005): tried: ā€˜/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86_64-darwin-22/2.7.0/mini_racer-0.6.1/mini_racer_extension.bundleā€™ (not a mach-o file), ā€˜/System/Volumes/Preboot/Cryptexes/OS/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86_64-darwin-22/2.7.0/mini_racer-0.6.1/mini_racer_extension.bundleā€™ (no such file), ā€˜/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86_64-darwin-22/2.7.0/mini_racer-0.6.1/mini_racer_extension.bundleā€™ (not a mach-o file)

/Users/hex/Documents/forums/config/application.rb:69:in `<top (required)>ā€™

/Users/hex/Documents/forums/Rakefile:7:in `requireā€™

/Users/hex/Documents/forums/Rakefile:7:in `<top (required)>ā€™

/Users/hex/.rbenv/versions/2.7.3/bin/bundle:25:in `loadā€™

/Users/hex/.rbenv/versions/2.7.3/bin/bundle:25:in `ā€™

(See full trace by running task with --trace)

ā€“ System information ā€“
OS: MacOS 13.0.1
Processor: Intel
Ruby Version: 2.7.3p183

Attempted both the latest code in the main branch, and also the stable branch. The error is the same either way.

1 Like

Hello, @Hexadecimal! :blob_wave:

Please try re-installing mini_racer and see if you have the same problem.

From your discourse directory:

  1. gem uninstall mini_racer
  2. bundle install

If you still encounter the same problem, feel free to open up a topic with the output from running bundle exec rake db:create --trace.

5 Likes

Hi. Wondering if anyone is facing this issue when installing?
Iā€™m using MacOS Ventura 13.1.

$ bundle exec rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
OpenSSL::PKey::PKeyError: pkeys are immutable on OpenSSL 3.0
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push/vapid_key.rb:35:in `generate_key!'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push/vapid_key.rb:35:in `initialize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push.rb:53:in `new'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push.rb:53:in `generate_key'
/Users/kokoyo/discourse/config/initializers/100-push-notifications.rb:16:in `block in <main>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:445:in `instance_exec'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:445:in `block in make_lambda'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:686:in `catch'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:686:in `block in default_terminator'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:200:in `block in halting'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:595:in `block in invoke_before'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:595:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:595:in `invoke_before'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:106:in `run_callbacks'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/reloader.rb:88:in `prepare!'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application/finisher.rb:68:in `block in <module:Finisher>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:32:in `instance_exec'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:32:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:61:in `block in run_initializers'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:228:in `block in tsort_each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:431:in `each_strongly_connected_component_from'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:349:in `block in each_strongly_connected_component'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `call'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `each_strongly_connected_component'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:226:in `tsort_each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:205:in `tsort_each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:60:in `run_initializers'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application.rb:372:in `initialize!'
/Users/kokoyo/discourse/config/environment.rb:7:in `<main>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application.rb:348:in `require_environment!'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application.rb:511:in `block in run_tasks_blocks'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:243:in `block in invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:218:in `block in invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:243:in `block in invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:218:in `block in invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:83:in `block in run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:80:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/rake:25:in `load'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/rake:25:in `<top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:58:in `load'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:58:in `kernel_load'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:23:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:491:in `exec'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:34:in `dispatch'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:28:in `start'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/exe/bundle:45:in `block in <top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/exe/bundle:33:in `<top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/bundle:25:in `load'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate => db:load_config => environment
3 Likes

Looks like you are using an old version of web-push, it should be version 3.0.0

I ran into this same issue, and I fixed it by uninstalling and reinstalling version 3.1.3 from rbenv:

rbenv uninstall 3.1.3
rbenv install 3.1.3
rbenv rehash

And for extra measure, I deleted this directory and its contents discourse/vendor/bundle/ and ran bundle install again.

5 Likes

We donā€™t use this gem anymore, please update your bundle.

3 Likes

Hi team, do we need to install Sidekiq in our local MacOS?
because I can see the message below:
ā€œA check for updates has not been performed. Ensure Sidekiq is running.ā€
I assume I should be able to see an ā€˜upgradeā€™ button here, but only see the warning message instead.