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
31
results
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
•
The following the CKAN source install docs from start to finish including solr....
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 initialise your database:
ckan -c /etc/ckan/default/ckan.ini db initIf this fails due to a permission issue, then the user and group assigned are incorrect. Or if you are a root user, you can use sudo
sudo ckan -c /etc/ckan/default/ckan.ini db initIf you forget this step you'll see a 500 server error:
503 Service Unavailable: This site is currently offline. The database is not initialised.
Cleaning your...
Andrew Fletcher
•
Have you tried adding custom synonyms to Solr on Drupal?
How did you go?
What do...
Andrew Fletcher
•
We are going to work through two methods of creating the SOLR cores.
Variables...
Andrew Fletcher
•
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB...
Andrew Fletcher
•
Adding basic security to your server, requires altering the security.json...
Andrew Fletcher
•
What am I setting out to achieve?
I want to meet the following requirements:
Boolean operators in the search. Tested against the following terms
abalone NOT salmon – 1159
abalone -salmon – 1159
abalone AND salmon – 478
abalone +salmon – 1195
abalone OR salmon – 2316
abalone || salmon – 2316
Phrases in quotations marks - this time to be tested against
"of this stimulates an interest in the sea and a love for the marine environment" – 1
of this stimulates an interest in the sea and a...
Andrew Fletcher
•
Having Drupal Solr Search APi running, I thought adding synonyms to the mix...
Andrew Fletcher
•
Like many devs at the moment, looking for log4j2 on your server... how to...
Andrew Fletcher
•
Adding Solr config zip (ie. solr_8.x_config.zip) to your remote...
Andrew Fletcher
•
Steps to get the Solr date range widget working.
Steps
Enable the Facets...