Giter Site home page Giter Site logo

Comments (18)

distler avatar distler commented on July 22, 2024

I assume you were following these instructions?

I'll have to explore what's changed at Heroku, recently.

from instiki.

maxwellmjohnson avatar maxwellmjohnson commented on July 22, 2024

Yes, everything seemed perfect up to the rake command.

from instiki.

distler avatar distler commented on July 22, 2024

Could you try applying the following patch

--- vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb.orig	2020-04-17 00:03:39.000000000 -0500
+++ vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb	2020-04-17 00:17:48.000000000 -0500
@@ -714,7 +714,8 @@

       # Set the client message level.
       def client_min_messages=(level)
-        execute("SET client_min_messages TO '#{level}'")
+        execute("SET client_min_messages TO '#{level.downcase}'") if level &&
+          ['debug5', 'debug4', 'debug3', 'debug2', 'debug1', 'log', 'notice', 'warning', 'error'].include?(level.downcase)
       end

       # Returns the sequence name for a table's primary key or some other specified key.

and then do a

git commit -a
git push heroku master
heroku config:set RAILS_ENV=production
heroku run rake db:migrate

from instiki.

maxwellmjohnson avatar maxwellmjohnson commented on July 22, 2024

Looks like a slightly different error:

Running rake db:migrate on ⬢ uchiki... up, run.2977 (Free) rake aborted! ActiveRecord::StatementInvalid: ArgumentError: cannot set encoding on non-encoding capable object: SHOW client_min_messages /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:227:in rescue in log'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:203:in log' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:507:in query'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:712:in client_min_messages' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:266:in set_standard_conforming_strings'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:979:in configure_connection' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:962:in connect'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:217:in initialize' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in new'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in postgresql_connection' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in new_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in checkout_new_connection' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in block (2 levels) in checkout'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in loop' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in block in checkout'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in checkout' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in retrieve_connection' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in retrieve_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in connection' /app/vendor/rails/activerecord/lib/active_record/migration.rb:440:in initialize'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:401:in new' /app/vendor/rails/activerecord/lib/active_record/migration.rb:401:in up'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:383:in migrate' /app/vendor/rails/railties/lib/tasks/databases.rake:112:in block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in load' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in kernel_load'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in run' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in exec'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in invoke_command'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in dispatch' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in dispatch'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in start' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in start'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/exe/bundle:30:in block in <top (required)>' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in with_friendly_errors'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/exe/bundle:22:in <top (required)>' /app/vendor/bundle/bin/bundle:104:in load'
/app/vendor/bundle/bin/bundle:104:in <main>' ArgumentError: cannot set encoding on non-encoding capable object /app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:511:in exec'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:511:in block in query' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:206:in block in log'
/app/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in block in ms' /app/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in ms'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:206:in log' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:507:in query'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:712:in client_min_messages' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:266:in set_standard_conforming_strings'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:979:in configure_connection' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:962:in connect'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:217:in initialize' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in new'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in postgresql_connection' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in new_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in checkout_new_connection' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in block (2 levels) in checkout'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in loop' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in block in checkout'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in checkout' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in retrieve_connection' /app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in retrieve_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in connection' /app/vendor/rails/activerecord/lib/active_record/migration.rb:440:in initialize'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:401:in new' /app/vendor/rails/activerecord/lib/active_record/migration.rb:401:in up'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:383:in migrate' /app/vendor/rails/railties/lib/tasks/databases.rake:112:in block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in load' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in kernel_load'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in run' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in exec'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in invoke_command'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in dispatch' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in dispatch'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in start' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in start'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/exe/bundle:30:in block in <top (required)>' /app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in with_friendly_errors'
/app/vendor/bundle/ruby/2.6.0/gems/bundler-1.17.3/exe/bundle:22:in <top (required)>' /app/vendor/bundle/bin/bundle:104:in load'
/app/vendor/bundle/bin/bundle:104:in <main>' Tasks: TOP => db:migrate (See full trace by running task with --trace)

Just to be sure I patched correctly, here is my current snippet:

# Set the client message level. def client_min_messages=(level) execute("SET client_min_messages TO '#{level.downcase}'") if level && ['debug5', 'debug4', 'debug3', 'debug2', 'debug1', 'log', 'notice', 'warning', 'error'].include?(level.downcase) end

from instiki.

distler avatar distler commented on July 22, 2024

Hmm. This will require a bit more digging. :-(

from instiki.

distler avatar distler commented on July 22, 2024

The simplest solution is to specify the version of Ruby in your Gemfile

source "https://rubygems.org"
ruby "2.5.8"
...

That seems to work just fine. Ruby 2.6.x? Not so much. Apparently, this has something to do with the PostgreSQL adapter, but tracking down the incompatibility will take considerable effort.

P.S.: When you post stack-traces or other snippets of code, please wrap them in code blocks. Not doing so makes them much harder to read.

from instiki.

maxwellmjohnson avatar maxwellmjohnson commented on July 22, 2024

Having some new issues, maybe these are known, though? Created a fresh local respository for instiki and made a new heroku app. Made sure that the specified ruby version was in the Gemlock file. Following error on the rake db:migrate:

Running rake db:migrate --trace on ⬢ open-notebook... up, run.2552 (Free)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
ActiveRecord::AdapterNotSpecified: development database is not configured
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:62:in `establish_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:55:in `establish_connection'
/app/vendor/rails/railties/lib/initializer.rb:438:in `initialize_database'
/app/vendor/rails/railties/lib/initializer.rb:141:in `process'
/app/vendor/rails/railties/lib/initializer.rb:113:in `run'
/app/config/environment.rb:14:in `<top (required)>'
/app/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
/app/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `block in require'
/app/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'
/app/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
/app/vendor/rails/railties/lib/tasks/misc.rake:4:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/app/vendor/ruby-2.5.8/lib/ruby/2.5.0/monitor.rb:235:in `mon_synchronize'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/app/vendor/ruby-2.5.8/lib/ruby/2.5.0/monitor.rb:235:in `mon_synchronize'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/app/vendor/bundle/ruby/2.5.0/bin/rake:23:in `load'
/app/vendor/bundle/ruby/2.5.0/bin/rake:23:in `<top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
/app/vendor/bundle/bin/bundle:104:in `load'
/app/vendor/bundle/bin/bundle:104:in `<main>'
Tasks: TOP => db:migrate => environment

from instiki.

distler avatar distler commented on July 22, 2024

Maybe you need the --remote flag? As in

heroku run rake db:migrate --remote production

or

heroku run rake db:migrate --remote heroku

from instiki.

maxwellmjohnson avatar maxwellmjohnson commented on July 22, 2024

I tried both of those options and got an error, but the first error makes me think that maybe I am supposed to try more keywords as the argument for --remote? Not sure how that flag works, however.

The first one yields the error:

Error: remote production not found in git remotes

The second:

Maxs-MacBook:instiki work$ heroku run rake db:migrate --remote heroku
Running rake db:migrate on ⬢ open-notebook... up, run.6205 (Free)
rake aborted!
ActiveRecord::AdapterNotSpecified: development database is not configured
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:62:in `establish_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:55:in `establish_connection'
/app/vendor/rails/railties/lib/initializer.rb:438:in `initialize_database'
/app/vendor/rails/railties/lib/initializer.rb:141:in `process'
/app/vendor/rails/railties/lib/initializer.rb:113:in `run'
/app/config/environment.rb:14:in `<top (required)>'
/app/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
/app/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `block in require'
/app/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'
/app/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
/app/vendor/rails/railties/lib/tasks/misc.rake:4:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
/app/vendor/bundle/bin/bundle:104:in `load'
/app/vendor/bundle/bin/bundle:104:in `<main>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

from instiki.

distler avatar distler commented on July 22, 2024

I dunno.

What does

 heroku config:get RAILS_ENV -a MY_APP_NAME

say?

heroku pg:reset -a MY_APP_NAME

(if necessary) followed by

heroku run -a MY_APP_NAME rake db:migrate

works just fine for me.

from instiki.

maxwellmjohnson avatar maxwellmjohnson commented on July 22, 2024

This also looks like a version issue since I assume panic is an option that should be there?

rake aborted!
ActiveRecord::StatementInvalid: PG::Error: ERROR:  invalid value for parameter "client_min_messages": "panic"
HINT:  Available values: debug5, debug4, debug3, debug2, debug1, log, notice, warning, error.
: SET client_min_messages TO 'panic'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:227:in `rescue in log'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:203:in `log'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:520:in `execute'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:717:in `client_min_messages='
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:266:in `set_standard_conforming_strings'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:978:in `configure_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:961:in `connect'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:217:in `initialize'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `new'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `block (2 levels) in checkout'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `block in checkout'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:440:in `initialize'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:401:in `new'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:401:in `up'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:383:in `migrate'
/app/vendor/rails/railties/lib/tasks/databases.rake:112:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
/app/vendor/bundle/bin/bundle:104:in `load'
/app/vendor/bundle/bin/bundle:104:in `<main>'
PG::Error: ERROR:  invalid value for parameter "client_min_messages": "panic"
HINT:  Available values: debug5, debug4, debug3, debug2, debug1, log, notice, warning, error.
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:524:in `exec'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:524:in `block in execute'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:206:in `block in log'
/app/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `block in ms'
/app/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:206:in `log'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:520:in `execute'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:717:in `client_min_messages='
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:266:in `set_standard_conforming_strings'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:978:in `configure_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:961:in `connect'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:217:in `initialize'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `new'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `block (2 levels) in checkout'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `block in checkout'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:440:in `initialize'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:401:in `new'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:401:in `up'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:383:in `migrate'
/app/vendor/rails/railties/lib/tasks/databases.rake:112:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
/app/vendor/bundle/bin/bundle:104:in `load'
/app/vendor/bundle/bin/bundle:104:in `<main>'
Tasks: TOP => db:migrate

Edit: 'production' is now returned, I think I fixed that last issue by re-running the command to set the RAILS_ENV.

from instiki.

maxwellmjohnson avatar maxwellmjohnson commented on July 22, 2024

I re-added that patch from earlier with the postgresql adaptor, I think this is a new error. The command I ran was

heroku run rake db:migrate -a open-notebook --trace
Running rake db:migrate on ⬢ open-notebook... up, run.1738 (Free)
==  Beta1Schema: migrating ====================================================
-- create_table("pages", {:force=>true})
   -> 0.0111s
-- create_table("revisions", {:force=>true})
   -> 0.0115s
-- create_table("system", {:force=>true})
   -> 0.0155s
-- create_table("webs", {:force=>true})
   -> 0.0106s
-- create_table("wiki_references", {:force=>true})
   -> 0.0137s
==  Beta1Schema: migrated (0.0640s) ===========================================

rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::Error: ERROR:  current transaction is aborted, commands ignored until end of transaction block
: INSERT INTO schema_migrations (version) VALUES ('1')/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:227:in `rescue in log'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:203:in `log'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:520:in `execute'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:259:in `insert_sql'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:44:in `insert'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert_with_query_dirty'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:467:in `insert'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:550:in `record_version_state_after_migrating'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:492:in `block (2 levels) in migrate'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:565:in `block in ddl_transaction'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
/app/vendor/rails/activerecord/lib/active_record/transactions.rb:182:in `transaction'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:565:in `ddl_transaction'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:490:in `block in migrate'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:477:in `each'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:477:in `migrate'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:401:in `up'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:383:in `migrate'
/app/vendor/rails/railties/lib/tasks/databases.rake:112:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
/app/vendor/bundle/bin/bundle:104:in `load'
/app/vendor/bundle/bin/bundle:104:in `<main>'
ActiveRecord::StatementInvalid: PG::Error: ERROR:  current transaction is aborted, commands ignored until end of transaction block
: INSERT INTO schema_migrations (version) VALUES ('1')
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:227:in `rescue in log'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:203:in `log'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:520:in `execute'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:259:in `insert_sql'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:44:in `insert'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert_with_query_dirty'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:467:in `insert'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:550:in `record_version_state_after_migrating'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:492:in `block (2 levels) in migrate'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:565:in `block in ddl_transaction'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
/app/vendor/rails/activerecord/lib/active_record/transactions.rb:182:in `transaction'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:565:in `ddl_transaction'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:490:in `block in migrate'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:477:in `each'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:477:in `migrate'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:401:in `up'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:383:in `migrate'
/app/vendor/rails/railties/lib/tasks/databases.rake:112:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
/app/vendor/bundle/bin/bundle:104:in `load'
/app/vendor/bundle/bin/bundle:104:in `<main>'
PG::Error: ERROR:  current transaction is aborted, commands ignored until end of transaction block
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:524:in `exec'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:524:in `block in execute'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:206:in `block in log'
/app/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `block in ms'
/app/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:206:in `log'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:520:in `execute'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:259:in `insert_sql'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:44:in `insert'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert_with_query_dirty'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:467:in `insert'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:550:in `record_version_state_after_migrating'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:492:in `block (2 levels) in migrate'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:565:in `block in ddl_transaction'
/app/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
/app/vendor/rails/activerecord/lib/active_record/transactions.rb:182:in `transaction'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:565:in `ddl_transaction'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:490:in `block in migrate'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:477:in `each'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:477:in `migrate'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:401:in `up'
/app/vendor/rails/activerecord/lib/active_record/migration.rb:383:in `migrate'
/app/vendor/rails/railties/lib/tasks/databases.rake:112:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
/app/vendor/bundle/bin/bundle:104:in `load'
/app/vendor/bundle/bin/bundle:104:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

from instiki.

distler avatar distler commented on July 22, 2024

Something's just strange here.

'm not seeing any of those errors, when I install Instiki on Heroku. I've done it multiple times, and the result is always the same.

I first make sure I have the latest version , then proceed with the (re)installation

git pull
mv Gemfile Gemfile.orig
git mv Gemfile.heroku Gemfile
git mv Gemfile.lock.heroku Gemfile.lock
git commit -m "Setup for heroku"
git push heroku master
heroku pg:reset -a MY_APP_NAME
heroku config:set -a MY_APP_NAME RAILS_ENV=production
heroku run -a MY_APP_NAME rake db:migrate

I am baffled that you get a different result.

from instiki.

maxwellmjohnson avatar maxwellmjohnson commented on July 22, 2024

It's very confusing. I just did a fresh install of everything under a new app name using a different computer (and operating system). I got the same 'panic'-related error. Are there any settings in my heroku account that could be causing this? It's the only thing that seems to make sense at this point.

I also tried making the postgres adaptor change I get the same error as directly above..

from instiki.

distler avatar distler commented on July 22, 2024

Are there any settings in my heroku account that could be causing this?

I don't know. I just have a basic (free) personal account, that I use for testing purposes. I didn't customize it in any way.

Of the attempts to fix your problem, the only one which has been incorporated into the repository on Github is the Gemfile change (to fix the Ruby version). I'm gonna bet that even that was a mistake.

But since I am wrapping up making Instiki compatible with Ruby 2.7, I figure that I will wait till I'm happy with that and then pin the Ruby version to Ruby 2.7.1.

from instiki.

johannes-kleiner avatar johannes-kleiner commented on July 22, 2024

Just a note: I'm having similar issues as @maxwellmjohnson. Cheers!

from instiki.

distler avatar distler commented on July 22, 2024

Fixed in ee8e115.

from instiki.

distler avatar distler commented on July 22, 2024

And, in 66d3c9f, I've bumped the Heroku Ruby version back up to 2.7.1 (the latest).

from instiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.