cockpit_GROUPS icon indicating copy to clipboard operation
cockpit_GROUPS copied to clipboard

Error whe trying to create group

Open fredrikkarlsson-pervanovo opened this issue 4 years ago • 2 comments

When I try to create a new group, I receive the following error from the backend:

error: "invalid document for insert: keys cannot contain ".": "finder.path""
file: "/var/www/html/lib/vendor/mongodb/mongodb/src/Operation/InsertOne.php"
line: 112

Some googling suggestes that the error might be connected with having a mongodb adapter that restricts the usage of "." in keys.

This used to work... Once.

Must be broken trough an update in either the db implementation or cockpit its self.

You can just remove all these attributes by clicking the trashcan symbol. This will re-enable you to create groups through the addon.

I gonna take a look at this failure when I find some time.

bassauer-storms-media avatar Oct 02 '20 12:10 bassauer-storms-media

PS. Perhaps you can escape the dot:

finder\.path

Not sure, but give it a try.

bassauer-storms-media avatar Oct 02 '20 13:10 bassauer-storms-media