Coder Social home page Coder Social logo

Failed to delete devices about ui HOT 7 CLOSED

mainflux avatar mainflux commented on July 19, 2024
Failed to delete devices

from ui.

Comments (7)

sunt89 avatar sunt89 commented on July 19, 2024

I just created a new device and removed it, returning 500 errors

Image info

[root@mainflux mainflux-ui]# docker images
REPOSITORY                 TAG                 IMAGE ID            CREATED             SIZE
mainflux/twins             latest              98daf4abfa6d        23 hours ago        20.7MB
mainflux/provision         latest              9f340be7a9f7        23 hours ago        13.1MB
mainflux/bootstrap         latest              5b06d274d835        23 hours ago        17.3MB
mainflux/opcua             latest              5bc8606f5eb3        23 hours ago        15.3MB
mainflux/influxdb-reader   latest              903178f0a574        23 hours ago        13.9MB
mainflux/influxdb-writer   latest              ca1600b6cdeb        23 hours ago        14.3MB
mainflux/lora              latest              bccc4a6993f2        23 hours ago        14.7MB
mainflux/mqtt              latest              0187770d8fdd        2 days ago          15.1MB
mainflux/authn             latest              9dbfd91b1b76        2 days ago          16.1MB
mainflux/things            latest              420b4a8f354e        2 days ago          17.3MB
mainflux/users             latest              77f61d8a1d64        2 days ago          16MB
mainflux/coap              latest              2adce31ac5a0        2 days ago          14.9MB
mongo                      bionic              6d11486a97a7        3 days ago          388MB
mainflux/http              latest              d8d8d06d3205        13 days ago         14.9MB
redis                      5.0-alpine          58084f18c7ec        5 weeks ago         29.7MB
mainflux/vernemq           latest              d56789adf0af        5 weeks ago         100MB
mainflux/ui                latest              64a873e1f91e        2 months ago        44.5MB
jaegertracing/all-in-one   1.13                7c596de19db2        12 months ago       48.7MB
postgres                   10.8-alpine         b97fc2e43226        13 months ago       70.8MB
nginx                      1.16.0-alpine       ef04b00b089d        14 months ago       20.4MB
influxdb                   1.6.4-alpine        778bed28793d        18 months ago       91.1MB
nats                       1.3.0               40a6f5ca1594        22 months ago       7.76MB
grafana/grafana            5.1.3               4700307f41f2        2 years ago         238MB
postgres                   10.2-alpine         400ef39e0dbf        2 years ago         39.5MB

Container info

[root@mainflux mainflux-ui]# docker-compose -f docker/docker-compose.yml ps
          Name                        Command                  State                                                          Ports                                                   
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
mainflux-auth-redis        docker-entrypoint.sh redis ...   Up             6379/tcp                                                                                                   
mainflux-authn             /exe                             Up             0.0.0.0:8181->8181/tcp, 0.0.0.0:8189->8189/tcp                                                             
mainflux-authn-db          docker-entrypoint.sh postgres    Up             5432/tcp                                                                                                   
mainflux-bootstrap         /exe                             Up             0.0.0.0:8202->8202/tcp                                                                                     
mainflux-bootstrap-db      docker-entrypoint.sh postgres    Up             5432/tcp                                                                                                   
mainflux-es-redis          docker-entrypoint.sh redis ...   Up             6379/tcp                                                                                                   
mainflux-grafana           /run.sh                          Up             0.0.0.0:3001->3000/tcp                                                                                     
mainflux-http              /exe                             Up             0.0.0.0:8185->8185/tcp                                                                                     
mainflux-influxdb          /entrypoint.sh influxd           Up             0.0.0.0:8086->8086/tcp                                                                                     
mainflux-influxdb-reader   /exe                             Up             0.0.0.0:8905->8905/tcp                                                                                     
mainflux-influxdb-writer   /exe                             Up             0.0.0.0:8900->8900/tcp                                                                                     
mainflux-jaeger            /go/bin/all-in-one-linux - ...   Up             14250/tcp, 0.0.0.0:14268->14268/tcp, 0.0.0.0:16686->16686/tcp, 5775/udp, 0.0.0.0:5778->5778/tcp,           
                                                                           0.0.0.0:6831->6831/udp, 6832/udp                                                                           
mainflux-lora              /exe                             Up             0.0.0.0:8187->8187/tcp                                                                                     
mainflux-lora-redis        docker-entrypoint.sh redis ...   Up             6379/tcp                                                                                                   
mainflux-mqtt              /exe                             Up                                                                                                                        
mainflux-nats              /gnatsd -c /etc/nats/nats.conf   Up             4222/tcp, 6222/tcp, 8222/tcp                                                                               
mainflux-nginx             /entrypoint.sh                   Up             0.0.0.0:1883->1883/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp, 0.0.0.0:8883->8883/tcp                   
mainflux-opcua             /exe                             Up             0.0.0.0:8188->8188/tcp                                                                                     
mainflux-opcua-redis       docker-entrypoint.sh redis ...   Up             6379/tcp                                                                                                   
mainflux-things            /exe                             Up             0.0.0.0:8182->8182/tcp, 0.0.0.0:8183->8183/tcp, 0.0.0.0:8989->8989/tcp                                     
mainflux-things-db         docker-entrypoint.sh postgres    Up             5432/tcp                                                                                                   
mainflux-twins             /exe                             Up             0.0.0.0:9021->9021/tcp                                                                                     
mainflux-twins-db          docker-entrypoint.sh mongo ...   Up             27017/tcp, 0.0.0.0:27018->27018/tcp                                                                        
mainflux-ui                nginx -g daemon off;             Up             0.0.0.0:3000->3000/tcp, 80/tcp                                                                             
mainflux-users             /exe                             Up             0.0.0.0:8180->8180/tcp                                                                                     
mainflux-users-db          docker-entrypoint.sh postgres    Up             5432/tcp                                                                                                   
mainflux-vernemq           start_vernemq                    Up (healthy)   1883/tcp, 4369/tcp, 44053/tcp, 8080/tcp, 8883/tcp, 8888/tcp, 9100/tcp, 9101/tcp, 9102/tcp, 9103/tcp,       
                                                                           9104/tcp, 9105/tcp, 9106/tcp, 9107/tcp, 9108/tcp, 9109/tcp  

from ui.

manuio avatar manuio commented on July 19, 2024

@sunt89 Looks like you have images from 2 years ago. Can you pull latest images please.

from ui.

sunt89 avatar sunt89 commented on July 19, 2024

@manuio I'm using the latest master branch, Then I executed Docker-composit-f docker/ docker-composite.up

from ui.

manuio avatar manuio commented on July 19, 2024

@sunt89 To use latest master branch does not mean that you are using latest docker images. Try with docker-compose -f docker/docker-composite.yml pull.

Apart from this, I don't think that this is an issue that you found in the code but an issue that you have with your local setup. Please, next time use Gitter for this kind of questions.

from ui.

sunt89 avatar sunt89 commented on July 19, 2024

@manuio Ok, I am sorry, but the docker-Composite file in your master branch already has the image version configured, and my image version is the same as the docker-Composite file

from ui.

manuio avatar manuio commented on July 19, 2024

@sunt89 It have the image version set as latest, which means that it will use any latest image in your computer even if it's an image from 2 years ago. That's why you must do a clean-up of your images and start again to pull new images from Dockerhub. You can also force it with the command that I shared with you in my previous message.

from ui.

sunt89 avatar sunt89 commented on July 19, 2024

@manuio I know what you're talking about, but my environment is a virtual machine that was created yesterday, and the latest code that was downloaded yesterday.The Docker-Composite file is also the latest file on the Master branch.If there is a problem with my image version, there is also a problem with the configured version in the docker-composite file.

from ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.