-
-
Notifications
You must be signed in to change notification settings - Fork 14
Invalid payload. Collection \"logs\" doesn't exist. #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @BorisKamp.
|
Hey! Thanks for the reply. Can you clarify this:
please? Thanks |
Sorry, I didn't see the screenshot of |
Do you use folders or sub-models to organize you models in Directus ? This may be an issue with the snapshot restore process of Directus. Sometimes it tries to create the sub-model before the parent and it can lead to this error. |
See here:
|
@EdouardDem I do recall months ago we went from the model name I removed the Maybe that helps you track the cause? |
@EdouardDem any idea? |
Maybe you have a remaining |
Hey there, I have the same issue. I had a collection named "adress," which I deleted due to a typo. After that, I tried to sync my staging and production environments, but I encountered the same issue as you. I connected directly to my Directus instance's database and found that there were still references to the deleted "adress" table in two Directus tables: directus_fields and directus_relations. I deleted these references to the non-existent table, and after that, my migration worked perfectly. |
I do not have entries to the old collection |
I do not find any results when doing this @EdouardDem |
Hey!
I pulled my config locally, I then pushed to master, which builds my docker production image, I then run
docker compose exec -u root directus npx directus-sync diff
which works, this is the output:I then run
docker compose exec -u root directus npx directus-sync push
which errors out:logs
is definitely there, here is a screenshot of my production db table calledlogs
:In
directus_collections
you can also see it:Why am I getting this error? Is there anything else I can do to debug further?
The text was updated successfully, but these errors were encountered: