I’m attempting to move from 2.2.2 to 3.0, but running into issues when running update.php. There’s no pretty formatting, and it is unable to find pg_trgm
:
As far as I can tell, I’m running an appropriate version of PostgreSQL (14) with pg_trgm
installed:
farm=# \dx
List of installed extensions
Name | Version | Schema | Description
---------+---------+------------+-------------------------------------------------------------------
pg_trgm | 1.6 | public | text similarity measurement and index searching based on trigrams
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
postgis | 3.2.0 | public | PostGIS geometry and geography spatial types and functions
(3 rows)
The docker-compose.yml I’m using is this:
version: '3'
services:
db:
image: postgres:14
volumes:
- '.db:/var/lib/postgresql/data'
ports:
- '5432'
extra_hosts:
- 'host.docker.internal:host-gateway'
environment:
POSTGRES_USER: farm
POSTGRES_PASSWORD: farm
POSTGRES_DB: farm
restart: always
www:
depends_on:
- db
image: farmos/farmos:3.0.1
volumes:
- './farmos/www:/opt/drupal/web/sites'
ports:
- '80:80'
restart: always
Am I missing something obvious?