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

Error when trying to start mainflux-docker.sh #124

Closed
FractalWire opened this issue Nov 5, 2017 · 2 comments
Closed

Error when trying to start mainflux-docker.sh #124

FractalWire opened this issue Nov 5, 2017 · 2 comments

Comments

@FractalWire
Copy link

Hello,

I tried to start the mainflux-docker.sh script, unfortunately, I get some error with NATS and Cassandra :

Starting nats      ... error
Starting cassandra ... error

ERROR: for nats  Cannot start service nats: failed to create endpoint mainflux-nats on network bridge: failed to add the host (vethfbbd79a) <=> sandbox (vethfad9c8f) pair interfaces: operation not supported

ERROR: for cassandra  Cannot start service cassandra: failed to create endpoint mainflux-cassandra on network bridge: failed to add the host (vetha22aa05) <=> sandbox (vethd88054d) pair interfaces: operation not supported
ERROR: No containers to start
Aborting due to errexit on line 78. Exit code: 1

I'm using archlinux if that matter
docker version 17.10.0-ce
docker-compose version 1.17.0

@drasko
Copy link
Contributor

drasko commented Nov 7, 2017

Strange... Looks like you can not even start NATS and C* in the Docker.

Can you try running docker-compose just giving it this file: https://github.com/mainflux/mainflux/blob/master/bin/docker/docker-compose.infrastructure.yml

Otherwise fallback o manual installation: https://github.com/mainflux/mainflux/blob/master/bin/mainflux-install.sh

@FractalWire
Copy link
Author

Well,
No error here. And the docker script worked as well.

My guess is, one of the dependency needed a reboot (docker-compose maybe) to work properly. I should have checked that, sorry.

mteodor pushed a commit to mteodor/mainflux that referenced this issue Jun 9, 2021
)

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
arvindh123 pushed a commit to arvindh123/magistrala that referenced this issue Dec 17, 2023
* feat(invitation): Add new function for sending invitations

This commit adds a new function for sending invitations in the invitation management and authorization code. The function allows users to send invitations to other users, providing necessary details such as email address and invitation message. This feature enhances the overall functionality of the application.

The code changes include the addition of the "sendInvitation" function in the invitation module, along with necessary validation checks and error handling. Additionally, test cases have been added to cover different scenarios and ensure the proper functioning of the feature.

This commit improves the invitation management and authorization functionality by enabling users to send invitations to others.

Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>

* test(invitations): Add test cases for invitation functions

Add new test cases to cover different scenarios and expected behavior in the invitation functions. These test cases ensure proper error handling and validate the functionality of the code related to invitations.

Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>

* feat: test with token

Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>

* feat(invitations): update ListInvitations function

This commit updates the ListInvitations function in the invitations service. The changes include updating the page parameters to use InvitedByOrUserID instead of separate InvitedBy and UserID fields. This ensures that invitations are retrieved correctly based on the user ID.

Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>

* feat(invitations): Add rename to checkAdmin

An existing function has been renamed to "checkAdmin".

Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>

* Refactor RetrieveAll method signature

Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>

---------

Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
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