jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.04k stars 558 forks source link

Removing CONNECTOR Details issue #1181

Open surenderaphro opened 9 months ago

surenderaphro commented 9 months ago

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:

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

kelvinwulve commented 5 months ago

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