If when we try to create a collection in Pandora FMS we get the following error “Unable to create the collection”, it can be due to several things:
- The directories do not exist: Several paths are used in the collections, so we must check if these paths exist.
/var/spool/pandora/data_in/collections /var/www/html/pandora_console/attachment/collection/
- Permission problems: The previous directories must have permissions so that they can be read and written by the Apache user.
- Check attachment directory in the console: In the menu Setup -> Setup -> General Setup we have the token “Attachment directory” where we have to check that the path is the correct one:
/var/www/html/pandora_console/attachment
(This last path may change depending on our installation).