-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Internal Server Error" when enabling 'pages' plugin #78
Comments
Some of the errors in your traceback are related to templates -- the latest CKAN version is 2.8.0, which comes with a new version of the base templates. See the change log:
Which templates are you using? If you're using the new templates, could you please try with the legacy ones by including the lines above in your |
@torfsen, thanks for your response. I was unaware of the new base templates. I have added the configuration settings
to my I still get an Internet Server Error when I try to load the home page of my site. Below are the logs from my container. I get similar error messages to the ones I was getting before. You can see at the top of the logs that the templates are now being loaded from the
Any other ideas? Thanks for your help! |
Thanks for the update, @astone123! I can reproduce the issue. You have triggered two different issues:
The second issue has already been noticed and fixed in CKAN core (see ckan/ckan#4257) but that fix hasn't been released, yet. The first issue is also caused by changes in CKAN core -- I've opened ckan/ckan#4310 to investigate that further. |
Thanks for your help, @torfsen! |
Whenever I add the
pages
plugin to my CKAN configuration file after following the install instructions in the Readme for this repository, I can't load my home page anymore. I get an internal server error.I am running my CKAN instance with docker-compose. I installed ckanext-pages with pip inside of the Python venv running in the CKAN docker container. Then I added
pages
to myckan.plugins
section of my configuration. This part of my configuration is below:CKAN runs fine if I remove the
pages
plugin from my configuration, but as soon as I add it back in, I can't load my home page anymore.These are the logs in my CKAN container when I access my home page:
Does anyone know what could be going wrong here? I am running the latest version of CKAN (as of the date of this post). Any help would be appreciated.
The text was updated successfully, but these errors were encountered: