mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.74k stars 507 forks source link

Changes to support Debian 12 bookworm and PostgreSQL 15 #909

Open Lightrider87 opened 10 months ago

Lightrider87 commented 10 months ago

Description

I've tried to install mediacms to a fresh debian VM and figured out that mediacms do not support PostgreSQL 15. In order to do so I had to update the install.sh and cms/settings.py.

With the Update of PostgreSQL 14 to 15 the public Schema is not writable by default and it is not recommended to make it writable. The following link discribes the changes that are necessary for django to work with PostgreSQL 15.

https://gist.github.com/axelbdt/74898d80ceee51b69a16b575345e8457

Steps

Pre-deploy Make Sure that PostgreSQL 15 will be installed.

Post-deploy

mgogoulos commented 10 months ago

Hi, thanks for the PR, while this is working for Debian 12, what will be the behavior for the rest if the supported OS on it, as Ubuntu 20/22?

TheFlipside commented 5 months ago

thank you so much, this issue stalled my project for days now and with your information i was able to solve it