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
21
results
Andrew Fletcher
•
The error message "Attempting to re-run cron while it is already running" in Drupal typically indicates that another instance of the cron job is still running when the system tries to start a new one. Cron is a process that performs various tasks for Drupal, such as indexing content, checking for updates, and performing other scheduled tasks.
Some potential causes and solutions for this issue
Long-Running Cron Jobs
If a cron job takes longer to complete than the interval between cron runs, it...
Andrew Fletcher
•
In Vim, following is an outline of the vi(m) functions you can utilise whilst in...
Andrew Fletcher
•
A summary of Node package commands
Short cut commands
npm install...
Andrew Fletcher
•
Install the CKAN package
Begin by cleaning up your server environment....
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 on the CKAN site
Use the CKAN create command to create an empty extension:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activateThen check your location is
cd /usr/lib/ckan/default/srcSo you can execute the create command
ckan -c /etc/ckan/default/ckan.ini create -t ckanext ckanext-example_theme
Error – dev-requirements.txt
However, when running this command the response...
Andrew Fletcher
•
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
•
Reviewing CKAN extensions and listing the extensions that have been created /...
Andrew Fletcher
•
Location of the base templates
cd...
Andrew Fletcher
•
An approach to generating a backup server is using a shell script. A...
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...