cli icon indicating copy to clipboard operation
cli copied to clipboard

How to upgrade self-hosted project

Open hamanuha opened this issue 1 year ago • 6 comments

Improve documentation

Link

https://supabase.com/docs/guides/self-hosting/docker

Describe the problem

It's not quite clear how to update/upgrade the postgres image to the newest version when doing self-hosting with docker. Of course you can just change the used image in the compose file, but what has to be done apart from that? What about the migrations in the migrations/db/migrations folder. Shouldn't these be run on every start of the container? So that new migrations are run on the current database. It seems that the init scripts and migrations are only run on the first creation of the container if there is no data yet.

Describe the improvement

A guide that describes how to update/upgrade your self hosted Supabase postgres instance.

hamanuha avatar Mar 17 '24 11:03 hamanuha

I am also interested in this👍🏼

ejscheepers avatar Apr 01 '24 17:04 ejscheepers

also interested 👍

mschinis avatar Jul 28 '24 09:07 mschinis

Also interested

DDushkin avatar Aug 27 '24 13:08 DDushkin

Also interested!

k3vg3n avatar Sep 10 '24 15:09 k3vg3n

Also interested

shan-developer avatar Sep 21 '24 13:09 shan-developer

Coolify has an update button on its self hosted version. Something like this would be perfekt

benjaminschreck avatar Sep 24 '24 08:09 benjaminschreck

This kind of thing should be properly documented.

htetlynnhtun avatar Dec 06 '24 07:12 htetlynnhtun

I shared my own experience upgrading my self-hosted instance here https://github.com/supabase/supabase/issues/30834#issuecomment-2513954613 that works well if you don't have much data obviously.

vincentfretin avatar Dec 06 '24 08:12 vincentfretin

Also interested

3DPrinterArt avatar May 03 '25 10:05 3DPrinterArt