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

Removing CONNECTOR Details issue #1181

Open
surenderaphro opened this issue Feb 19, 2024 · 1 comment
Open

Removing CONNECTOR Details issue #1181

surenderaphro opened this issue Feb 19, 2024 · 1 comment

Comments

@surenderaphro
Copy link

Hi,
I have installed Jasmine SMS with the docker-compose.yml file. It is installed successfully and I can send requests on http API. Some issues I am facing can you please help us to resolve them?

Remove Connector Details:-

If the server or Docker restarted it will remove added CONNECTOR details. I have to do everything again can you please tell me how can I save it permanently.

Rest API Not running:-
In this process, http APIs working but I am unable to run Rest APIs. If I need to install anything else for it please tell me I am using the below docker yml code for installation.

version: "3.10"

services:
redis:
image: redis:alpine
restart: unless-stopped
healthcheck:
test: redis-cli ping | grep PONG
deploy:
resources:
limits:
cpus: '0.2'
memory: 128M
security_opt:
- no-new-privileges:true

rabbit-mq:
image: rabbitmq:3.10-management-alpine
restart: unless-stopped
healthcheck:
test: rabbitmq-diagnostics -q ping
deploy:
resources:
limits:
cpus: '0.5'
memory: 525M
security_opt:
- no-new-privileges:true

jasmin:
image: jookies/jasmin:latest
restart: unless-stopped
ports:
- 2775:2775
- 8990:8990
- 1401:1401
depends_on:
redis:
condition: service_healthy
rabbit-mq:
condition: service_healthy
environment:
REDIS_CLIENT_HOST: redis
AMQP_BROKER_HOST: rabbit-mq
deploy:
resources:
limits:
cpus: '1'
memory: 256M
security_opt:
- no-new-privileges:true

https://docs.jasminsms.com/en/latest/installation/index.html

@kelvinwulve
Copy link

If you read the documentation it clearly states that the rest API service must be launched separately.
The RESTful APIs made available starting from v0.9rc16, it can be launched as a system service, so simply start it by typing:
sudo systemctl start jasmin-restapi
Secondly, according to the documentation if you want the jci engine to save your configuration you must run the "persist" command after you've created or updated your config to persist the config.
Reference:
https://docs.jasminsms.com/en/latest/management/jcli/index.html#persist

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