rpi - Upgrade from 1.25.7 to 1.34.0, immich_postgres fails to start with latest postgres image

I'm running on a pi 5 with an external hdd (ext4). I am attempting to upgrade to 1.34.0 and see that in 1.33.0, the postgres image changed. I'm using the stock docker-compose yaml. With the updated redis to valkey, there are no issues. When I make the change to use the latest docker-compose file, the immich_postgres container fails to start with the following error:

Using HDD storage

PostgreSQL Database directory appears to contain a database; Skipping initialization

2025-06-02 15:59:05.863 GMT [1] LOG:  skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
2025-06-02 15:59:05.864 GMT [1] LOG:  skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 16 bytes failed


I saw a few other github issues around this, but none were current or really even in the immich repo.

I saw that the previous db image will be supported for a while and that's what I left in for now to keep the system up and running, but I'd like to get on the new image if possible to stay in lock step with the releases.

I am not sure if starting from a fresh instance and restoring the db would help fix this. It's something I could try (hoping I don't screw it up somehow and blow all my data away).

Any help would be appreciated!
Was this page helpful?