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
60
results
Andrew Fletcher
•
Following the instructions on CKAN DataStore with a little information.
Enable the plugin
In your CKAN config file (/etc/ckan/default/ckan.ini), update the datastore plugin
ckan.plugins = datastore
Set-up the database
The DataStore requires a separate PostgreSQL database to save the DataStore resources. List the existing databases:
sudo -u postgres psql -lResponse
List of databases
Name | Owner | Encoding |...
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...
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. At this point, the site should load but you'll get solr errors. Make the following solr updates:
Go the the directory
/etc/systemd/systemCheck if there is a directory jetty9.service.d. In my situation there was, but if it doesn't exist
sudo mkdir /etc/systemd/system/jetty9.service.dNow review or add a file solr.conf with
[Service]
ReadWritePaths=/var/lib/solrsudo nano /etc/solr/solr-jetty.xml and...
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
•
How do you rebuild node access permissions using CLI?
To rebuild permissions...
Andrew Fletcher
•
Attempting to update the database, irrespective whether I run update.php or...
Andrew Fletcher
•
Is Docker installed?
Check if your installation is ok and spin up Docker as well:
docker -D info
Using Docker
Now it's time to download and install docker images. Using the official images of MariaDB and Drupal. If you don’t specify the absolute URL to the image it will be searched and downloaded from Docker Hub. Tag 'latest' will be used by default.
docker pull mariadbNow it's Drupal turn. Again pull the latest version. If you specify the tag: 9.3.3 'drupal:9.3.3' it will download that...
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
•
It is really simple to switch users in Ubuntu or any other Linux distribution...
Andrew Fletcher
•
To add Erlang repository that also includes the public key for verifying signed...