Open primeKal opened 3 years ago
Hi ever found a soultion, facing the same issue thx
Try to use Ubuntu 20.04 LTS 64 bit Linux. Install python 3.8.x version and set default python version. Install pip pip 20.0.2 version and set default python version. Install Python: https://gist.github.com/UbuntuEvangelist/fe805176e61d927d11b139166bdbfd6d After install python 3.8.x version follow:
apt install python3-pip cd nano ~/.bashrc
alias python=python3 alias pip=pip3
alias python=python3 alias pip=pip3 source ~/.bashrc sudo apt update sudo apt upgrade -y python --version pip --version pip install txredisapi apt-get install python3-venv apt install redis rabbitmq-server -y pip install gunicorn pip install pip apt install pipx pipx install twisted --force pipx ensurepath
curl -s https://packagecloud.io/install/repositories/jookies/jasmin-sms-gateway/script.deb.sh | sudo bash apt-get install jasmin-sms-gateway apt update -y && apt upgrade -y
OR
curl -s https://setup.jasminsms.com/deb | sudo bash apt install jasmin-sms-gateway apt update -y && apt upgrade -y
systemctl enable jasmind systemctl start jasmind systemctl status jasmind
@primeKal what os/version you have ?
Stale issue detected, remove stale label or comment or this will be closed soon.
Still having this issue on Debian, anyone ever found a solution ?
I have a debian buster os and wanted to install through the pypi model and followed the steps created the user and owned files to then but when i start systemctl, it gives error no file named jasmind.py. i think pip install jasmin did not install the py file at /usr/local/bin which the script jasmind.service points too.. what can i do? When i manually copy and paste the jasmind.py folder from /opt/bitnami/python/bin/jasmind.py, it gives an error like the one below
Aug 19 13:24:37 debian jasmind[16181]: return opener.open(url, data, timeout) Aug 19 13:24:37 debian jasmind[16181]: File "/opt/bitnami/python/lib/python3.7/urllib/request.py", line 510, in open Aug 19 13:24:37 debian jasmind[16181]: req = Request(fullurl, data) Aug 19 13:24:37 debian jasmind[16181]: File "/opt/bitnami/python/lib/python3.7/urllib/request.py", line 328, in init Aug 19 13:24:37 debian jasmind[16181]: self.full_url = url Aug 19 13:24:37 debian jasmind[16181]: File "/opt/bitnami/python/lib/python3.7/urllib/request.py", line 354, in full_url Aug 19 13:24:37 debian jasmind[16181]: self._parse() Aug 19 13:24:37 debian jasmind[16181]: File "/opt/bitnami/python/lib/python3.7/urllib/request.py", line 383, in _parse Aug 19 13:24:37 debian jasmind[16181]: raise ValueError("unknown url type: %r" % self.full_url) Aug 19 13:24:37 debian jasmind[16181]: builtins.ValueError: unknown url type: '//etc/jasmin//resource//amqp0-9-1.xml'