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
55
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
•
Supervisor running as root error when running the command
sudo service...
Andrew Fletcher
•
Supervisor running as root error when running the command
sudo service...
Andrew Fletcher
•
Listen in on the ports being used on your server. To do so, run the command
netstat -a | grep tcpIf netstat is not install, then you'll be prompted to run the install script
sudo apt install net-toolsResponse
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
net-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 196 kB of archives.
After this operation, 864 kB of...
Andrew Fletcher
•
Error with Nginx
When running an Nginx test, the following response was being...
Andrew Fletcher
•
The following the CKAN source install docs from start to finish including solr....
Andrew Fletcher
•
Goal: Restrict content access through username and password entry.
1: Apache...
Andrew Fletcher
•
Working through a CKAN installation on Ubuntu 20.04
User sees a server 500...
Andrew Fletcher
•
Working on a decoupled React / Drupal 9 site.
Aim: Adjust the output of curated content for the Work Resources page. So the icon is displayed with a path. Enabling React developers to select whether to use the image or icon.
Tools
Drupal
9.4
React
Currently, the JSON output
{
"id": "content_reference",
"title": "Forms",
"summary": null,
"columns": "3",
"cta": {
"text": "View all",
"href": "https://www.google.com/"
},
"content": [
...
Andrew Fletcher
•
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
It is really simple to switch users in Ubuntu or any other Linux distribution...
Andrew Fletcher
•
A recent attempt to run an update composer (regular activity for many of...