Skip to content
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

_User class does not appear completely. #5048

Closed
charvoa opened this issue Sep 11, 2018 · 4 comments
Closed

_User class does not appear completely. #5048

charvoa opened this issue Sep 11, 2018 · 4 comments

Comments

@charvoa
Copy link

charvoa commented Sep 11, 2018

Issue Description

I have set up two environment on Heroku : 1) Staging 2) Production
The database on production appears completly on the dashboard, I imported the Staging database from the Production database (with the use of mongorestore and mongodump)

On Prod, for example I can see the stripeAccountId, or the accountType, which are custom rows added directly from Parse.
On Staging, I cannot see those rows on dashboard, but they appear on my mongodb data from the shell.

Steps to reproduce

Import database locally using mondodump from prod env
Export database to staging env using mongostore.
Launch staging dashboard .

Expected Results

I want to see the same things between Prod and Staging, as I used the exact same DB.

Actual Outcome

Custom rows are not shown .

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : 3.0.0
    • Operating System: HEROKU (UNIX)
    • Hardware: HEROKU FREE VERSION
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): HEROKU
  • Database

    • MongoDB version: 3.6.6
    • Storage engine: mLab Sandbox
    • Hardware: mLab Sandbox
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): mLab
@flovilmart
Copy link
Contributor

I believe you didn’t import the _SCHEMA collection or at least the _User Schema found in this table.

@charvoa
Copy link
Author

charvoa commented Sep 11, 2018

@flovilmart Could you provide me a way of importing the schema ? Or maybe a link ? Thanks !

@flovilmart
Copy link
Contributor

There is a _SCHEMA collection in your database that holds all valid keys for all classes, you have to move it as well. Not sure what else I can add

@charvoa
Copy link
Author

charvoa commented Sep 11, 2018

Ok thank you very much !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants