Issues trying to do supabase start, supabase pull and other commands locally
I've been unable to do supabase start or supabase pull of my project, failing with docker issues. The core issue seems to stem from this:
This is the acutal error I get WARNING: invalid configuration parameter name "supautils.extension_custom_scripts_path", removing it
DETAIL: "supautils" is now a reserved prefix.
psql: error: /docker-entrypoint-initdb.d/init-scripts/99-roles.sql: No such file or directory
[directory] container is not ready: unhealthy
The crash report id is c0a5e6cc8e61429989ec501b82c01786
I've not foudn the way to modify "supautils.extension_custom_scripts_path" or similar in the remote instance.
Something similar is happening to us with PG 17.
.001 s; distance=5 kB, estimate=5 kB; lsn=0/1AFA858, redo lsn=0/1AFA858
2025-07-23 09:34:33.937 UTC [35] LOG: database system is ready to accept connections
2025-07-23 09:34:33.940 UTC [48] LOG: pg_cron scheduler started
done
server started
ALTER ROLE
psql: error: /docker-entrypoint-initdb.d/init-scripts/99-roles.sql: No such file or directory
Stopping containers..
Me too, I started getting the error today. After a local db reset from a remote dump.
WARNING: invalid configuration parameter name "supautils.extension_custom_scripts_path", removing it
DETAIL: "supautils" is now a reserved prefix.
Temporary fix I have gotten so far.
find out the name of your container for postgres using
docker ps
Then connect to it. (mine was supabase_db_ekko)
docker exec -it supabase_db_ekko sh
You will now have a terminal inside the postgres container. take a look at the config.
cat /etc/postgresql-custom/supautils.conf
You will see the problematic line supautils.extension_custom_scripts_path = '/etc/postgresql-custom/extension-custom-scripts' That is what we wanna delete.
I counted mine to be on line 10, so i deleted it using "sed" . since theres no nano or vim in the container, you can find your own way to edit the file to delete that line.
sed -i '10d' /etc/postgresql-custom/supautils.conf
That command deleted line 10 from the file. I then reset my local supabase db
supabase db reset
Error is gone for now, it will return if I run supabase stop.
Error is gone for now, it will return if I run supabase stop.
Thanks for this work around. I didn't want to wipe my local data with a reset, so I used this instead which works:
supabase stop
supabase start
The config files are mounted outside the container, so they survive container restarts and probably even updates.
Hi all, We’re going to close this one due to inactivity. Please feel free to reopen if you’re still having issues here or open a new issue.