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
47
results
Andrew Fletcher
•
When Solr is displaying results on the site, first step is to log in the server and check its status
● solr.service - LSB: Controls Apache Solr as a Service
Loaded: loaded (/etc/init.d/solr; generated)
Active: failed (Result: exit-code) since Wed 2024-04-17 23:22:52 UTC; 6h ago
Docs: man:systemd-sysv-generator(8)
Apr 17 23:22:50 {name} systemd[1]: Starting LSB: Controls Apache Solr as a Service...
Apr 17 23:22:51 {name} su[750]: (to solr) root on none
Apr 17 23:22:51 {name}...
Andrew Fletcher
•
Recently, I encountered an issue where my local Docker environment refused to...
Andrew Fletcher
•
Having updated Solr, re-indexing wasn't working. The error in the logs...
Andrew Fletcher
•
On an Ubuntu 20.02 system with Nginx, you can utilize the following commands to...
Andrew Fletcher
•
Cleaning out or clearing data in Solr can be done in a few different ways,...
Andrew Fletcher
•
In an environment that is running
Ubuntu 20.02
Nginx
Solr
The default Nginx conf is located /etc/nginx/sites-available/ and contains something similar to:
server {
listen 80;
listen [::]:80;
server_name uat.oursite.com;
return 301 http://uat.oursite.com$request_uri;
}
server {
listen 80;
listen [::]:80;
listen 443 ssl;
ssl_certificate /etc/ssl/certs/Bundle.crt;
ssl_certificate_key /etc/ssl/private/MultidomainWildcard.key;
# Security...
Andrew Fletcher
•
Finalising a deployment to Drupal 10 and reviewing the latest log...
Andrew Fletcher
•
Docker containers list
To view a list of Docker containers that are currently...
Andrew Fletcher
•
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code...
Andrew Fletcher
•
A summary of Node package commands
Short cut commands
npm install...
Andrew Fletcher
•
Updating NPM packages using npm update and I'm seeing the following response
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@fortawesome%2fpro-light-svg-icons - Not found
npm ERR! 404
npm ERR! 404 '@fortawesome/pro-light-svg-icons@^5.11.2' is not in this registry.
npm ERR! 404
@fortawesome:registry=https://npm.fontawesome.com/
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run...
Andrew Fletcher
•
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
•
Whilst attempting to download the latest config.zip file for Solr, I was greeted...
Andrew Fletcher
•
Setting up the admin password.
Process:
1. Edit jetty.xml
To begin you...
Andrew Fletcher
•
Build the PHP base image with apache-buster using the Dockerfile.base
Since JN...