cannot restart my database please help

I cant restart my database.. says "Plugin Stopped Plugin was stopped due to exeeding usage limits. Click the button below to start the plugin again!" and when clicking to restart the plugin "Error starting plugin. Problem processing request"
68 Replies
Percy
Percy2y ago
Project ID: 2087cf6c-e961-4d84-9695-a5fbf6706848
drewlonious
drewloniousOP2y ago
2087cf6c-e961-4d84-9695-a5fbf6706848
Brody
Brody2y ago
have you upgraded to the dev plan yet?
drewlonious
drewloniousOP2y ago
yes indeed
Brody
Brody2y ago
discord does not show you as having the dev account role
drewlonious
drewloniousOP2y ago
drewlonious
drewloniousOP2y ago
this is correct?
Brody
Brody2y ago
yep okay i will flag this thread for team review
drewlonious
drewloniousOP2y ago
thank you. my data should still be there correct? I dont mind paying to restart
Percy
Percy2y ago
Flagging this thread. A team member will be with you shortly.
Brody
Brody2y ago
correct upgrade to dev plan is all that is needed, there seems to just be a little hiccup, the team will get you sorted when they have time, dont worry
drewlonious
drewloniousOP2y ago
ty
Ray
Ray2y ago
Heya, we're aware of this issue. I'll update you when this is fixed 🙂
drewlonious
drewloniousOP2y ago
hi rc! any updates?
Brody
Brody2y ago
I'll update you when this is fixed
drewlonious
drewloniousOP2y ago
Hello @Brody and @rc is there any update on this? Wonder if theres a priority on this, kind of urgent, thank you
Brody
Brody2y ago
sorry it's been awhile, I have brought this back up to the team
drewlonious
drewloniousOP2y ago
how long could this take? in a rush to update content, already upgraded to the developer plan
Brody
Brody2y ago
I'm sorry I don't know, you can always make a new database in the mean time
drewlonious
drewloniousOP2y ago
i have alot of data in the database
Brody
Brody2y ago
ah gotcha, well my answer stands, unfortunately I don't know when the team can get to this. going forward please make sure to keep daily backups of your database
drewlonious
drewloniousOP2y ago
I've been waiting a few days and it's been said to be an easy fix would love some support with this
Brody
Brody2y ago
support is coming, but please be patient
drewlonious
drewloniousOP2y ago
i see. also my database and servers keep crashing why is this?
Brody
Brody2y ago
I will let the team look into that
drewlonious
drewloniousOP2y ago
railway doesnt scale? and charge for extra usage?
Brody
Brody2y ago
are you talking about the teams plan?
drewlonious
drewloniousOP2y ago
developer
Brody
Brody2y ago
railway only has vertical scaling at the moment, and you pay for any usage above 5$
drewlonious
drewloniousOP2y ago
yeah but it seems to just crash for exceeding limits
Brody
Brody2y ago
you are exceeding what limits?
drewlonious
drewloniousOP2y ago
Brody
Brody2y ago
?
drewlonious
drewloniousOP2y ago
Brody
Brody2y ago
what limits please
drewlonious
drewloniousOP2y ago
it doesnt say
Brody
Brody2y ago
you would have too look at the metrics yourself
drewlonious
drewloniousOP2y ago
you can't see anything
Brody
Brody2y ago
but anyway, let's just leave this thread for now, please wait until a team member can come assist
drewlonious
drewloniousOP2y ago
it's all locked since the plugin stopped is there a way i can dump my databsae into a new one?
Brody
Brody2y ago
not when it has stopped, going forward please do daily backups i will however tag you in this - @Angelo
angelo
angelo2y ago
Cheers- @drewlonious, I am going to open up the runbook to get ya unblocked. jumping on the box Okay- unlocked, now restarting Okay you are back @drewlonious Sorry this took so long
Brody
Brody2y ago
@drewlonious can you confirm that your database is back online with the data available?
drewlonious
drewloniousOP2y ago
@Brody we;re back online! thank you! Could you tell what the issue was so i could avoid it in the future?
Brody
Brody2y ago
it wasnt your fault nothing you did but to avoid total disruptions going forward, do daily database backups
drewlonious
drewloniousOP2y ago
copy also have another question, my database and my server seems to crash very often i'm using strapi, is this a common occurance with it?
Brody
Brody2y ago
i have a hunch explain to me the problem?
drewlonious
drewloniousOP2y ago
mainly the server crashes and fails to restart yarn run v1.22.19 $ strapi start [2023-05-12 04:15:41.821] debug: ⛔️ Server wasn't able to start properly. [2023-05-12 04:15:41.823] error: connect ECONNREFUSED 35.227.154.77:7899 Error: connect ECONNREFUSED 35.227.154.77:7899 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. yarn run v1.22.19
Yarn
Yarn
Fast, reliable, and secure dependency management.
Brody
Brody2y ago
is this on railway or locally?
drewlonious
drewloniousOP2y ago
on railway
Brody
Brody2y ago
do you have a repo for your strapi
drewlonious
drewloniousOP2y ago
indeed
Brody
Brody2y ago
please send
drewlonious
drewloniousOP2y ago
it's private, do you have an email or i can copy paste a specific file
Brody
Brody2y ago
send your database.js
drewlonious
drewloniousOP2y ago
const { parse } = require("pg-connection-string"); module.exports = ({ env }) => { const { host, port, database, user, password } = parse(env("DATABASE_URL")); return { connection: { client: "postgres", connection: { host, port, database, user, password }, debug: false, } }; };
Brody
Brody2y ago
now thats odd never seen someone do it like that show me a screenshot of your service variables please?
drewlonious
drewloniousOP2y ago
i could be doing it wrong haha, what's the typical?
Brody
Brody2y ago
we will do whats typical, but first i need that screenshot
drewlonious
drewloniousOP2y ago
service varialbes as in database env variables?
Brody
Brody2y ago
as in the service variables
drewlonious
drewloniousOP2y ago
which file would that be?
Brody
Brody2y ago
the service variables, in railway
drewlonious
drewloniousOP2y ago
drewlonious
drewloniousOP2y ago
safe to share keys here? private thread?
Brody
Brody2y ago
i dont need whats under the hidden text this should be a drop in replacement for your entire database.js file https://github.com/railwayapp-templates/strapi/blob/main/config/database.js and read this commit message https://github.com/railwayapp-templates/strapi/commit/e923d3d79b3f7a818ef90efd36fcde7974da04ae
drewlonious
drewloniousOP2y ago
ah i see pushing up to see if anything breaks, on sec pls seems to be working, will ask back if any issues occurs
Brody
Brody2y ago
sounds good!
Want results from more Discord servers?
Add your server