SShortSingh.
Back to feed

Five Common Causes Behind Most Moodle 5.1 to 5.2 Upgrade Failures

0
·56 views

Developers upgrading Moodle from version 5.1 to 5.2 frequently encounter failures traced to five recurring technical issues. The most common problem is an incorrectly configured web server document root, as Moodle 5.1 and later require the server to point to the public/ subdirectory. Other frequent causes include missing r.php router configuration, an absent vendor/ directory requiring Composer to be run from the Moodle root, outdated plugins referencing deprecated Mustache class names, and stale caches that can be cleared via CLI or the admin panel. Experts recommend backing up code, moodledata, and the database before upgrading, and always testing on a staging copy of the site before applying changes to production.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

AWS Lambda Web Functions Reportedly Keep Billing Memory About 7 Minutes After Last Request

A blog post published on easel.sh reports that AWS Lambda Web Functions continue to bill for memory roughly seven minutes after the final request is handled. The author describes this idle-period memory charge as a cost issue for developers running web workloads on the service. The item was shared on Hacker News, where it received 13 points and 2 comments. The source text provided is limited to the link and metadata, so the full technical details, measurements, and any AWS response are not included in this summary.

0
ProgrammingDEV Community ·

Chrome's forced dark mode changed how it treats small logos in a recent update

Chrome's forced dark mode, which repaints light pages dark unless a site has its own dark theme, decides whether to invert an image based on its size. Images drawn at 64 CSS pixels or less in each dimension are considered icons and may be flipped, while larger images are left alone. The threshold replaced an earlier screen-proportion rule in Chrome 151, which was dropped because it scaled with screen size and pixel density. Smaller grey images are then sorted by how many shades of grey they contain, with a neural network deciding borderline cases. The author reverse-engineered the classifier in Python and found it matched Chrome's decisions on all 35 images tested.

0
ProgrammingDEV Community ·

Linux and Robot Framework treat Dublin winter time as daylight saving due to tz database quirk

Ireland keeps GMT in winter and an hour ahead in summer, as the UK does, but a legal quirk means Irish law defines summer time as standard and winter as a daylight-saving-style period. Since 2018, the tz database that most computers use encodes Dublin's winter as negative daylight saving time, causing tools like Robot Framework to report Dublin as an hour off. Some distributions, such as Rocky Linux and Red Hat, ship an alternative 'rearguard' version that avoids this, while Debian, Ubuntu, Fedora and others use the main version. Many languages inherit the flag, and Java behaves differently by converting the offset into ordinary summer time. Python's common UTC-offset snippet also gets Dublin wrong, and the author recommends using tm_gmtoff and tm_zone instead, with a fix proposed but not yet reviewed.

0
ProgrammingDEV Community ·

Linktree's October price rise: what a bio link really costs a small shop over three years

A local barber pays $9 a month for a Linktree page that has not changed since 2024, and Linktree raised its prices again in late October. The Starter tier rose from $6 to $7 a month and Pro from $12 to $14 on annual billing, while Premium held at $30. The author argues the cheapest plan that removes Linktree branding, or lets a shop sell from its link, is Pro at $14 a month, or $168 a year. The article also contends that link lists suit creators but not shops, since visitors need prices, opening hours, and a call button without extra taps. The author discloses that they build a competing tool.