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

Backup import script: "The field 'w' is not valid for an index specification." #12

Open
frdmn opened this issue Oct 30, 2020 · 2 comments
Assignees
Labels

Comments

@frdmn
Copy link
Owner

frdmn commented Oct 30, 2020

2020-10-30T08:58:35.516+0000	restoring indexes for collection rocketchat.rocketchat_apps from metadata
2020-10-30T08:58:35.572+0000	finished restoring rocketchat.rocketchat_export_operations (4 documents)
2020-10-30T08:58:35.574+0000	reading metadata for events.reminders from archive '/dump/202010300000.json'
2020-10-30T08:58:35.609+0000	restoring events.reminders from archive '/dump/202010300000.json'
2020-10-30T08:58:35.614+0000	finished restoring rocketchat.rocketchat_apps (3 documents)
2020-10-30T08:58:35.620+0000	reading metadata for rocketchat.rocketchat_livechat_department from archive '/dump/202010300000.json'
2020-10-30T08:58:35.623+0000	no indexes to restore
2020-10-30T08:58:35.624+0000	finished restoring events.reminders (2 documents)
2020-10-30T08:58:35.624+0000	restoring indexes for collection rocketchat.assets.chunks from metadata
2020-10-30T08:58:35.626+0000	Failed: rocketchat.assets.chunks: error creating indexes for rocketchat.assets.chunks: createIndex error: The field 'w' is not valid for an index specification. Specification: { name: "files_id_1_n_1", ns: "rocketchat.assets.chunks", w: 1, key: { files_id: 1, n: 1 } }
@frdmn frdmn self-assigned this Oct 30, 2020
@frdmn frdmn added the bug label Oct 30, 2020
@frdmn
Copy link
Owner Author

frdmn commented Oct 30, 2020

Do we actually need to import the indexes? 🤔

@frdmn
Copy link
Owner Author

frdmn commented Oct 30, 2020

@frdmn frdmn changed the title Import script: "The field 'w' is not valid for an index specification." Backup import script: "The field 'w' is not valid for an index specification." Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant