Forum d'entraide
#entraide Questions/réponses
Problème de mise en ligne avec Heroku
Bonjour après avoir suivi la documentation de Platoniq pour installer decidim et n'ayant aucune erreur dans l'installation, je decide d'utiliser Heroku pour déployer mon application. Le déploiement se passe sans problème et je me retrouve avec ce message sur ma page web:
500 Internal Server Error
If you are the administrator of this website, then please read this web application's log file and/or the web server's log file to find out what went wrong.
If you are the administrator of this website, then please read this web application's log file and/or the web server's log file to find out what went wrong.
En consultant le log je remarque cela:
2022-03-15T14:29:43.671950+00:00 app[web.1]: I, [2022-03-15T14:29:43.671880 #4] INFO -- : [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] Started GET "/" for 74.112.234.246 at 2022-03-15 14:29:43 +0000
2022-03-15T14:29:43.728079+00:00 app[web.1]: F, [2022-03-15T14:29:43.727992 #4] FATAL -- : [8f951e9f-e908-4f82-b496-cd8c8ee05bc5]
2022-03-15T14:29:43.728080+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "decidim_organizations" does not exist
2022-03-15T14:29:43.728081+00:00 app[web.1]: LINE 8: WHERE a.attrelid = '"decidim_organizations"'::regclass
2022-03-15T14:29:43.728089+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activesupport (6.0.4.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2022-03-15T14:29:43.728090+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activesupport (6.0.4.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2022-03-15T14:29:43.728090+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activesupport (6.0.4.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2022-03-15T14:29:43.728090+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activerecord (6.0.4.1) lib/active_record/connection_adapters/abstract_adapter.rb:727:in `block in log'
2022-03-15T14:29:43.728091+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activesupport (6.0.4.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2022-03-15T14:29:43.728091+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activerecord (6.0.4.1) lib/active_record/connection_adapters/abstract_adapter.rb:718:in `log'
2022-03-15T14:29:43.728091+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activerecord (6.0.4.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:63:in `query'
2022-03-15T14:29:43.731244+00:00 app[web.1]: /app/vendor/bundle/ruby/2.7.0/gems/puma-5.5.2/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
2022-03-15T14:29:43.732353+00:00 heroku[router]: at=info method=GET path="/" host=decidim-app-oneal.herokuapp.com request_id=8f951e9f-e908-4f82-b496-cd8c8ee05bc5 fwd="74.112.234.246" dyno=web.1 connect=0ms service=62ms status=500 bytes=420 protocol=https
2022-03-15T14:29:43.728079+00:00 app[web.1]: F, [2022-03-15T14:29:43.727992 #4] FATAL -- : [8f951e9f-e908-4f82-b496-cd8c8ee05bc5]
2022-03-15T14:29:43.728080+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "decidim_organizations" does not exist
2022-03-15T14:29:43.728081+00:00 app[web.1]: LINE 8: WHERE a.attrelid = '"decidim_organizations"'::regclass
2022-03-15T14:29:43.728089+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activesupport (6.0.4.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2022-03-15T14:29:43.728090+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activesupport (6.0.4.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2022-03-15T14:29:43.728090+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activesupport (6.0.4.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2022-03-15T14:29:43.728090+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activerecord (6.0.4.1) lib/active_record/connection_adapters/abstract_adapter.rb:727:in `block in log'
2022-03-15T14:29:43.728091+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activesupport (6.0.4.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2022-03-15T14:29:43.728091+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activerecord (6.0.4.1) lib/active_record/connection_adapters/abstract_adapter.rb:718:in `log'
2022-03-15T14:29:43.728091+00:00 app[web.1]: [8f951e9f-e908-4f82-b496-cd8c8ee05bc5] activerecord (6.0.4.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:63:in `query'
2022-03-15T14:29:43.731244+00:00 app[web.1]: /app/vendor/bundle/ruby/2.7.0/gems/puma-5.5.2/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
2022-03-15T14:29:43.732353+00:00 heroku[router]: at=info method=GET path="/" host=decidim-app-oneal.herokuapp.com request_id=8f951e9f-e908-4f82-b496-cd8c8ee05bc5 fwd="74.112.234.246" dyno=web.1 connect=0ms service=62ms status=500 bytes=420 protocol=https
Est-ce un problème de base de donnée? Il y a-t-il une solution plus simple pour la mise en ligne de Decidim? Merci.
Signaler un contenu inapproprié
Ce contenu est-il inapproprié ?
Détails du commentaire
Vous ne voyez qu'un seul commentaire
Voir tous les commentaires
hai..
Congratulations on successfully deploying your Decidim application on Heroku! It's great to hear that you didn't encounter any issues during the installation.
Regarding the message you see on your web page, without more details, it's hard to pinpoint exactly what it could be. https://ehallpass.pro/ ehall pass
Chargement des commentaires ...