Skip to main content
78
results
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout command locally.  On my local environment I ran the following command git checkout {branch-name}However, the response was error: pathspec '{branch-name}' did not match any file(s) known to git  Solution The issue while the new branch is known in the repo, it's not known in my local environment.  To make the new branch known you need to run the fetch command git fetch --allResponse remote: Enumerating...
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
I'm in an environment where the default branch is staging and I'm attempting to...
Andrew Fletcher
How do you remove a file from git? Use the command (rm) to remove files from...
Andrew Fletcher
Moving a Git repo due to a change of agencies   Steps to change the...
Andrew Fletcher
At first, I attempted echo 1 > /proc/sys/vm/drop_cachesResponse -bash: /proc/sys/vm/drop_caches: Permission deniedAdding sudo in front of the command was met with the same result.  What about if I execute the shell as root sudo sh -c 'echo 1 > /proc/sys/vm/drop_caches'Success.  Caches cleared.   Different types of clearing cache   Clear PageCache only sudo sh -c 'echo 1 > /proc/sys/vm/drop_caches'Clear dentries and inodes sudo sh -c 'echo 2 >...
Andrew Fletcher
Error when running ckan.ini init from flask_debugtoolbar import...
Andrew Fletcher
My goal was to install a requirements.txt file using pip.  First,...
Andrew Fletcher
In this article I'll walk through the steps I went through to install Solr on...
Andrew Fletcher
Looking to install Solr on your server?  Not sure if it worth the...
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
This article works through the steps to update dependencies in package.json...
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...