developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
18
results
Andrew Fletcher
•
Install the CKAN package
Begin by cleaning up your server environment. Do this by updating Ubuntu’s package index:
sudo apt updateNow you can install the packages that CKAN requires (including ‘git’, which will allow you to install CKAN extensions):
sudo apt install -y libpq5 redis-server nginx supervisorResponse
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
fontconfig-config...
Andrew Fletcher
•
If you're planning to create extensions, generating CKAN from source is the...
Andrew Fletcher
•
CKAN extensions - adding to your installation
Following the information...
Andrew Fletcher
•
Updating NPM packages using npm update and I'm seeing the following response
npm...
Andrew Fletcher
•
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
•
Setting up the admin password.
Process:
1. Edit jetty.xml
To begin you are going to edit the file “server/etc/jetty.xml”. However, if you aren't sure of the location of jetty.xml, run the command
find / -name jetty.xml -type fFor me, the output was
/opt/solr-8.11.1/server/etc/jetty.xmlEdit the file jetty.xml, by adding it before the Configure tag ends
<Callname="addBean">
<Arg>
<New class="org.eclipse.jetty.security.HashLoginService">
<Set...
Andrew Fletcher
•
Reviewing CKAN extensions and listing the extensions that have been created /...
Andrew Fletcher
•
Location of the base templates
cd...
Andrew Fletcher
•
In this article I'll walk through the steps I went through to install Solr on...
Andrew Fletcher
•
Looking to install Solr on your server? Not sure if it worth the...
Andrew Fletcher
•
Finding the issue with a server 500 error
The Nginx error logs are showing too much detail.
Nginx logs and test
There are no errors in the nginx log and sudo nginx -t looks fine
sudo nginx -tResponse
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Are the services running?
I'll start by doing a status check for
Nginx
PostgreSQL
jetty9
Supervisor
Nginx
sudo service nginx statusResponse
●...
Andrew Fletcher
•
Focusing on the ckan.ini file (/etc/ckan/default/ckan.ini). When I run the...
Andrew Fletcher
•
Following the instructions on CKAN DataStore with a little...
Andrew Fletcher
•
Working through a CKAN installation on Ubuntu 20.04
User sees a server 500...
Andrew Fletcher
•
Before you can run CKAN for the first time, you need to run db init to...