1b.app
Link copied -

API stopped working after update

Good afternoon. The day before yesterday, we upgraded to a new version on our server (there was OneBox, it became OneBox OS), and after that the API stopped working. All links return a 404 error.
Below is an example of an API request that used to work but now returns a 404 error:
Can you please suggest what could be the issue and how to fix it? Perhaps you need to write something in the .vhost file? Here, just in case, is our .vhost file:
root@cromleh /etc/nginx/sites-enabled # cat cromleh.crm-onebox.com.vhost
server {
# listen *:80 default_server; # if need default website
listen *:443 ssl;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_certificate /etc/letsencrypt/live/cromleh.crm-onebox.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/cromleh.crm-onebox.com/privkey.pem; # managed by Certbot
server_name cromleh.crm-onebox.com www.cromleh.crm-onebox.com m.cromleh.crm-onebox.com www.m.cromleh.crm-onebox.com;
root /var/www/cromlehcrmonebo/web1/web/;
index inde
Original question is available on version: ru

Answers:


The day before yesterday, we upgraded to a new version on our server (there was OneBox, it became OneBox OS), and after that the API stopped working

you need to install apps https://crm-onebox.com/ru/app/app-api/ and if necessary https://crm-onebox.com/ru/app/app-api-v2/
27.08.2021, 10:21
Original comment available on version: ru


Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment