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
36
results
Andrew Fletcher
•
The error message "Attempting to re-run cron while it is already running" in Drupal typically indicates that another instance of the cron job is still running when the system tries to start a new one. Cron is a process that performs various tasks for Drupal, such as indexing content, checking for updates, and performing other scheduled tasks.
Some potential causes and solutions for this issue
Long-Running Cron Jobs
If a cron job takes longer to complete than the interval between cron runs, it...
Andrew Fletcher
•
Resources - changing Drush
Type
Version
Drush (current)
11.6.0
Drush...
Andrew Fletcher
•
Attempting to run a composer update command, you know the one used...
Andrew Fletcher
•
Using Composer to Manage Projects and if required their dependencies
In this...
Andrew Fletcher
•
Installing PHP on OSX and it installed PHP 8.2.x. However, for my...
Andrew Fletcher
•
Looking at composer I first wanted to check the current version, which is actioned by running the following command
composer -VThe response I was seeing
Composer version 2.1.5 2021-07-23 10:35:47
How to update to the latest version of Composer?
Going to the Composer site, today the latest version is 2.5.1. To update my version to this I need to run
composer self-updateHowever, if you have the following response
[Composer\Downloader\FilesystemException]
Filesystem...
Andrew Fletcher
•
Regular commands for brew
Brew update
This updates Homebrew itself....
Andrew Fletcher
•
Build the PHP base image with apache-buster using the Dockerfile.base
Since JN...
Andrew Fletcher
•
This article works through the steps to update dependencies in the...
Andrew Fletcher
•
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
•
While working with lando, I had the following error
ERROR: for safs_appserver_1 UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=300)
ERROR: for safs_database_1 UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=300)
ERROR: for appserver UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=300)
ERROR: for database UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read...
Andrew Fletcher
•
In terminal I ran a regular command - compose update. Something I've...
Andrew Fletcher
•
Let say in composer.json you have
"drupal/core-recommended": "^9.2" You're...
Andrew Fletcher
•
Running composer on a server... when running the command composer update, screen...
Andrew Fletcher
•
Have you tried to run a composer update script that...