Skip to main content
62
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
Supervisor running as root error when running the command sudo service...
Andrew Fletcher
Supervisor running as root error when running the command sudo service supervisor statusResponse error 892 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.Check the supervisord.conf file in the directory cd /etc/supervisor/The file contents for me was ; supervisor config file [unix_http_server] file=/var/run/supervisor.sock ; (the...
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....
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
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
Working in Drupal 9.x, I was loading images via the Media module.  Below 1...
Andrew Fletcher
It is really simple to switch users in Ubuntu or any other Linux distribution...