Skip to main content
111
results
Andrew Fletcher
An approach to generating a backup server is using a shell script.  A script can define directories to backup, and pass those directories as arguments to the tar utility, which creates an archive file. The archive file can then be moved or copied to another location.   Example Shell Script #!/bin/bash # # Backup script # # NAME: daily-backup.sh # PATH: /mnt/e/bin # DESC: Backup scripts, documents and configuration files to .tar # # What to backup # backup_files="/home...
Andrew Fletcher
Finding the issue with a server 500 error The Nginx error logs are showing too...
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 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
Creating a bash script Bash scripts are files containing code that tell your...
Andrew Fletcher
  JSON structure Outlining the structure of the elements common attributes:...
Andrew Fletcher
How do you generate a .pem file from an existing .ppk key? Is putty on your...
Andrew Fletcher
In this woalk through I am going to use GitHub.  However, the steps are...
Andrew Fletcher
The cache system in Drupal 9 delivers the API with the elements required for creation, storage and invalidation of cached data.  Drupal is structured so initially data is stored in the database.  Whereas, files are stored in the following directories: sites/default/files/css sites/default/files/js sites/default/files/phpFocusing on database storage, from a performance perspective the default cache is managed via the admin interface admin/config/development/performanceOn this page,...
Andrew Fletcher
Installing Varnish to increase the speed of the page load. Install varnish using...
Andrew Fletcher
In terminal I ran a regular command - compose update.  Something I've...
Andrew Fletcher
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
First off, this isn't the only method to achieve the outcome of emptying a...