Skip to main content

How do you clear caches on Ubuntu?

At first, I attempted

echo 1 > /proc/sys/vm/drop_caches

Response

-bash: /proc/sys/vm/drop_caches: Permission denied

Adding 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.

 

CKAN templates base verses location of themed

Location of the base templates

cd /usr/lib/ckan/default/src/ckan/ckan/templates

Whereas as the location of the plugin that displays the new template

cd /usr/lib/ckan/default/src/ckanext-{project}/ckanext/{project}/templates

To alter the home main page, edit the 

flask_debugtoolbar module doesn't exist

Error when running ckan.ini init

from flask_debugtoolbar import DebugToolbarExtension
ModuleNotFoundError: No module named 'flask_debugtoolbar'

Activate your CKAN virtual environment, for example:

. /usr/lib/ckan/default/bin/activate

Then check your location is

cd /usr/lib/ckan/default/src

 

Version code 1 has already been used. Try another version code

Uploading a new version of an Android app to Google Play and I'm seeing this error

Version code 1 has already been used. Try another version code.

There are three areas to observe:

Version Code: {whole integer}
Version Name: {String}
Version Name Suffix: {Integer}

Currently, my settings are:

Updating dependencies in Composer

This article works through the steps to update dependencies in the composer.json file to the latest version.

Use composer outdated to suggest the latest versions.

composer outdated

Whereas, to return a complete list of packages where packages that need an update are coloured red, the up-to-date ones are coloured green

composer show -l

 

How To Install Apache Solr 8.11 on Ubuntu

In this article I'll walk through the steps I went through to install Solr on Ubuntu.

 

Step 1: Java

Check if Java is installed on your server:

java -version

Not there - then Java is the first step for you to set up for Solr.  JAVA SE 8 or Later is required to run Apache Solr 8.  Utilisation taking after order to check in the event that you have Java introduced as of now on your system.

How to handle a lost KeyStore password in Android?

If you have a situation where either you have forgotten a Keystore password or change of developers and the password wasn't sent across.... what to do?  However, your app lives on and needs to be updated!

 

Subscribe to