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
69
results
Andrew Fletcher
•
Recently, after upgrading to Ubuntu 24.04, we encountered a significant challenge with our Apache Solr service—it refused to restart. This post documents the steps I took to diagnose and resolve the issues, providing a clear guide for anyone facing similar troubles.
Initial troubleshooting
The journey began with a simple command to check the status of our Solr service:
sudo service solr statusThe response indicated that the service had failed:
× solr.service - LSB: Controls Apache Solr as...
Andrew Fletcher
•
When Solr is displaying results on the site, first step is to log in the server...
Andrew Fletcher
•
On a server directory with over 100,000 PDF files, I needed to verify the...
Andrew Fletcher
•
Recently, I encountered an issue where my local Docker environment refused to...
Andrew Fletcher
•
Managing files on a server often includes tasks like clearing logs or resetting...
Andrew Fletcher
•
To review the content of files being generated in the /tmp directory on an Ubuntu server before Microsoft Defender removes them, you can use several approaches. Following is the approach we took.
Real-Time Monitoring
You can set up a script to monitor the /tmp directory and log the contents of new files. Use inotifywait to watch for new files and then copy them to another directory for review.
Install inotify-tools:
sudo apt-get install inotify-toolsCreate a monitoring...
Andrew Fletcher
•
The issue – I have a content type that includes an entity reference revisions...
Andrew Fletcher
•
A growing list of commands I've used and what they do in no specific order
sudo...
Andrew Fletcher
•
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
Andrew Fletcher
•
In many terminal text editors, you use find command as reference in Terminal...
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
•
In Twig, the {% extends %} tag is used to inherit and extend the contents of...
Andrew Fletcher
•
You can perform the following steps:
Check Apache Modules
Apache Struts 2 is...
Andrew Fletcher
•
In Drupal Twig templates, you can set a variable like paragraph_parent to the...
Andrew Fletcher
•
Docker containers list
To view a list of Docker containers that are currently...