t
n
are you using Prisma Cloud?
don't know why you're message looks so weird, but this is an issue about your authentication token (CLI authenticates against Prisma Cloud or against Prisma Server)
t
i am deploying it to now
it worked really well but from one day to another i was not able to deploy changes to the prisma server …
to the production server i can deploy and to the local too
n
did you change the management api secret?
t
nope
i even deleted the prisma databases and the server
created new management api key
n
uh
t
and deployed the new one
still same issue
n
what's the shape of ~/.prisma/config.yml?Please don't share any values, just the shape.
t
😉 the backend serve says this now java.lang.RuntimeException: ProjectHelper: Could not resolve project with id: visual-knight@test
he should create new one after deleted everything right?
n
I don't understand your question
t
prisma server sorry
n
sounds like your fiddling around with stuff and things got inconsistent somehow
t
but after everything was deleted?
should be a greenfield
i can do it again 😄
n
depends on how you deleted everything, how you're persisting stuff etc
"deleting everything" can mean a lot of different things
t
its a docker now deplyoment which i delete so the prisma server should be deleted
n
Ok then
t
and databases are just 2 prisma and the deployed one
or do i miss something?
n
what I can say is that the original error is likely caused by a syntax error in your config file or some other issue related to your authentication token
t
prisma deploy just talks to the prisma server with the management secret right?
Copy code
managementApiSecret: PRISMA_MANAGEMENT_API_SECRET
port: 4466
databases:
    default:
        connector: mysql
        port: 3306
        host: SQL_HOST
        user: SQL_USER
        password: SQL_PASSWORD
        migrations: true
        database: prisma
        schema: private
i have the same setup for prod and test stage
where was the place where i have to put the management secret inside the configs?
just to be sure
hmm there is no entry in the table CloudSecret after deployment…i think there should one entry with the management secret right?