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
59
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
•
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...
Andrew Fletcher
•
A growing list of commands I've used and what they do in no specific order
sudo snap install bw
ps aux | grep java
whoami
ip addr show
uptime
sudo apt update && sudo apt upgrade -y
cat /etc/os-release
sudo apt-get install needrestart
sudo reboot
sudo needrestart
sudo ckan sysadmin add {name}
sudo ckan sysadmin list
sudo ckan user list
sudo ckan --config /etc/ckan/default/ckan.ini config validate
hstr
sudo nano /etc/ckan/default/ckan.ini
exit
Here's a breakdown of what each of these...
Andrew Fletcher
•
When attempting to install python libraries on my OSX
pip3 install pandas,...
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
•
The "Too many open files" error in Python typically occurs when your program has...
Andrew Fletcher
•
You can use the pip list --outdated command to view a list of installed Python packages that have newer versions available. This command will show you which packages are outdated and can be updated to the latest versions.
Here's how you can use it
pip list --outdatedThis command will display a list of installed packages along with their current version and the latest version available. If there is an update available for a package, it will be listed in the output.
To update a specific package,...
Andrew Fletcher
•
In an environment that is running
Ubuntu 20.02
Nginx
Solr
The default...
Andrew Fletcher
•
Snapshot of the error
File...
Andrew Fletcher
•
To begin, note that Lando is often used for web development and it may not be...
Andrew Fletcher
•
You can perform the following steps:
Check Apache Modules
Apache Struts 2 is...