2 years ago
I ran the following command:ALTER SYSTEM SET shared_preload_libraries = 'timescaledb,pg_stat_statements';
and my deploy is crashing:
`PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-04-29 12:31:11.626 UTC [8] FATAL: could not access file "pgstatstatements,timescaledb": No such file or directory
2024-04-29 12:31:11.626 UTC [8] LOG: database system is shut down`
how can i fix?
59 Replies
2 years ago
did you have a backup?
2 years ago
is there important data on the database?
i found this user with same error: https://discord.com/channels/713503345364697088/1119792911819751566
2 years ago
yeah but the only difference is that they are on the Pro plan
2 years ago
I'll do my best to help you remove that config yourself, but I make no promises
2 years ago
going forward please upgrade to Pro as well, you should not be running a company's production database on a Hobby plan
2 years ago
while I could get the team involved if you upgraded to pro right now, there's no guarantee that they would be able to fix it faster than we could
2 years ago
what is the source image for your database?
2 years ago
railway has a few, please tell me your database's source
2 years ago
im trying to work out a plan of action, so id need to know that
i found this on project: https://github.com/railwayapp-templates/timescale-postgis-ssl/pkgs/container/timescale-postgis-ssl
2 years ago
what version
2 years ago
i take it this is a migrated database?
2 years ago
how much of the volume is used?
2 years ago
just disk space
2 years ago
if im able to work out a plan of action would you be down to let me do it?
2 years ago
know that i dont take any responsibility for data loss
2 years ago


2 years ago
i was able to recover a database with the same error you are facing, if you want to add me to the project i will get started
2 years ago
brodyover@gmail.com
2 years ago
you have a backup service?
2 years ago
gotcha
2 years ago
btw your backup service is using the database's public url, meaning you are paying extra egress when a database backup runs
2 years ago
i can change that if you'd like?
2 years ago
database is back up
2 years ago
backup service updated too
2 years ago
no problem!
2 years ago
non admins (me) cant delete stuff, so you can delete these two things

i'll migrate to pro now. i'll need to redeploy some service or additional configs??
2 years ago
after youve upgraded you will be asked what projects you want to move over to the pro workspace
2 years ago
no prob, and you as well!

