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
87
results
Andrew Fletcher
•
Looking to install Solr on your server? Not sure if it worth the effort? Well, Apache Solr is the open-source, popular, super fast open source enterprise search platform from the Apache Lucene project. Written in Java, Solr is highly scalable, providing fault-tolerant distributed search and indexing.
Let's walk through the steps I went through to install Solr on Centos 7.
Step 1: Java
Check if Java is installed on your server:
java -versionNot there - then JAVA is the...
Andrew Fletcher
•
If you have a situation where either you have forgotten a Keystore password or...
Andrew Fletcher
•
An approach to generating a backup server is using a shell script. A...
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 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
•
What I'm seeing in Android Studio when attempting to run the...
Andrew Fletcher
•
Android Studio error
Installation did not succeed.
The application could not be...
Andrew Fletcher
•
Android Studio error
error: package android.support.v4.content does not...
Andrew Fletcher
•
Android Studio build errors
Build failed error: cannot find symbol if...