![]() ![]() home/hhyyrylainen/.gem/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_handling.rb:309:in `connection_pool': ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished)įrom /home/hhyyrylainen/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/rails_multisite-4.0.1/lib/rails_multisite/connection_management/rails_61_compat.rb:8:in `current'įrom /home/hhyyrylainen/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/rails_multisite-4.0.1/lib/rails_multisite/connection_management.rb:115:in `current_db_hostnames'įrom /home/hhyyrylainen/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/rails_multisite-4.0.1/lib/rails_multisite/connection_management.rb:111:in `current_hostname'įrom /home/hhyyrylainen/Projects/discourse/lib/discourse.rb:232:in `handle_job_exception'įrom /home/hhyyrylainen/Projects/discourse/lib/scheduler/defer.rb:114:in `rescue in do_work'įrom /home/hhyyrylainen/Projects/discourse/lib/scheduler/defer.rb:113:in `do_work'įrom /home/hhyyrylainen/Projects/discourse/lib/scheduler/defer.rb:85:in `block (2 levels) in start_thread'įrom /home/hhyyrylainen/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/rails_multisite-4.0.1/lib/rails_multisite/connection_management.rb:79:in `with_connection'įrom /home/hhyyrylainen/Projects/discourse/lib/scheduler/defer.rb:96:in `do_work' # terminated with exception (report_on_exception is true): (removal in Discourse 3.0)Īt /home/hhyyrylainen/Projects/discourse/lib/site_setting_extension.rb:199:in `public_send` Please use `SiteSetting.personal_message_enabled_groups` instead. Git config -global neverĪfter that I ran into an error like this when running db:migrate: At /home/hhyyrylainen/Projects/discourse/lib/site_setting_extension.rb:199:in `public_send`ĭeprecation notice: `SiteSetting.enable_personal_messages` has been deprecated. I don’t know what’s the proper way to do this, but you can temporarily allow the unsafe transport: git config -global always The error happens when trying to install the sprockets gem and ends with the message: transport 'file' not allowed I ran into an issue trying to run bundle install as Fedora now has by default disabled file transport. You should now be able to see the Discourse setup page at For further setup, see the existing official install guides. ![]() Run the application bundle exec rails server Test installation by running the tests bundle exec rake autospec RAILS_ENV=test bundle exec rake db:create db:migrate Install Discourse dependencies bundle installĬreate the required databases and load the schema bundle exec rake db:create db:migrate Install Ruby dependencies gem update -systemĬlone Discourse code git clone ~/discourse Git clone "$(rbenv root)"/plugins/ruby-build Printf 'eval "$(rbenv init -no-rehash)"\n' > ~/.bashrc Printf 'export PATH="$HOME/.rbenv/bin:$PATH"\n' > ~/.bashrc Installing rbenv, ruby-build, and ruby git clone ~/.rbenvĬd ~/.rbenv
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |