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é ?
10 commentaires
Le processus s'est bien passé grâce à votre partage.
Discover cuphead adventure games that will give you great space and enjoyable leisure time.
Heroku is a platform for deploying web applications. If you are experiencing problems with uploading your application, you should check your logs for errors, ensure that you have properly configured your application, and make sure that your dependencies are up to date. Additionally, you may need to contact Heroku support for further assistance.
Oui, le message d'erreur indique qu'il y a un problème avec la base de données. Plus précisément, il indique que la table "decidim_organizations" n'existe pas, ce qui signifie foodle que le schéma de la base de données n'a pas été correctement initialisé ou migré.
Vérifiez que votre application est correctement configurée dans Heroku. Pizza Tower Assurez-vous que les variables d'environnement, les clés d'API et les fichiers de configuration sont correctement configurés pour votre application.
Thanks for sharing the information its amazing. https://www.upsers.app/
Comme suggéré dans le message d'erreur, consultez les fichiers de logs de votre application sur Heroku. Ils peuvent fournir des informations détaillées sur l'erreur spécifique qui s'est produite.https://www.mymilestonecard.biz/
The error notice suggests looking at the Heroku log file for your application. They may be able to give more particular details about the error that occurred. https://amandatheadventurer.io/
I thought I would find several playlists of metal. But I'm gonna try some anyway :)
https://www.ehallpass.website/
Thank you for sharing in this article I can a lot and could also be a reference I hope to read the next your article update https://paybyplatema.site/
That is what I was looking for, what information, present here at this site!
https://www.crediblebh.life/
Ajoutez votre commentaire
Pour ajouter votre commentaire identifiez-vous avec votre compte ou créez un compte.
Chargement des commentaires ...