Cloud-API-Doc icon indicating copy to clipboard operation
Cloud-API-Doc copied to clipboard

Issue on the quick start documentation and the given information

Open mhg-local opened this issue 1 year ago • 9 comments

The Sample cloud API demo is experiencing issues; its Docker Compose needs several changes because the provided images are either outdated or non-existent. For example there exist not more docker image on the doker repo with the name of dji/cloud_api_sample:latest or same for the other required docker images. Could you please check out the given toturial?

mhg-local avatar Aug 06 '24 14:08 mhg-local

dji/cloud_api_sample:latest, this is the only docker image that I could find in the repo which has bugs and is not working properly. It is restarting and does not have a stable situation

mhg-local avatar Aug 06 '24 14:08 mhg-local

@mhg-local Hello, nice to meet you. Sorry for interrupting your conversation. I am a system engineer not affiliated with DJI, but I have also encountered this issue before, and I would like to share my solution with you. I have also encountered this issue before, and I would like to share my solution with you.

DJI's instructions are not very user-friendly, but I understand that you need to build the Docker image using the following method:

Method: Download the zip file from this link and build the image from the update_backend.sh file inside.

The latest version of the source code within this zip file can be found at https://github.com/dji-sdk/DJI-Cloud-API-Demo.

There were still some issues that I had to manually fix one by one, so please be prepared for that.

kuri-megane avatar Aug 17 '24 14:08 kuri-megane

Hello unfortunately it is still not possible to install the Cloud API via the Docker quickstart does anyone have any tips

m0uu avatar Sep 05 '24 08:09 m0uu

@mhg-local Hello, nice to meet you. Sorry for interrupting your conversation. I am a system engineer not affiliated with DJI, but I have also encountered this issue before, and I would like to share my solution with you. I have also encountered this issue before, and I would like to share my solution with you.

DJI's instructions are not very user-friendly, but I understand that you need to build the Docker image using the following method:

Method: Download the zip file from this link and build the image from the update_backend.sh file inside.

The latest version of the source code within this zip file can be found at https://github.com/dji-sdk/DJI-Cloud-API-Demo.

There were still some issues that I had to manually fix one by one, so please be prepared for that.

Thannk you very much for the given time but unfortunately I was not trying to run cloud API demo via source code. I tried via quick start and used docker compose image. The mentioned problem raised while I was running docker compose. BTW: I have already tested the given link its repo to see if I can create a new docker image by running the source code, but as you mentioned it has own issues. Have you tried the quick start instracture? Did you encountered the same proble if yes how did you resolve it?

mhg-local avatar Sep 05 '24 09:09 mhg-local

Hello unfortunately it is still not possible to install the Cloud API via the Docker quickstart does anyone have any tips

I tried to modify the docker images in the docker compose manually and it worked and is functionaning. But I still cannot see the right frontend. I can guess what could be the cause of this issue -> The given docker image for cloud API is not existed in the docker repo, I searched and just found one. Perhaps it is not the right version. I raised this issue here to undresatnd where I can find the latest and teh right version of an image for cloud API.

mhg-local avatar Sep 05 '24 09:09 mhg-local

if it works would it be possible to send me the link?

m0uu avatar Sep 05 '24 09:09 m0uu

if it works would it be possible to send me the link?

Please replace the content of docker compose file with the attached file. docker-compose.zip

mhg-local avatar Sep 05 '24 09:09 mhg-local

https://github.com/dji-sdk/Cloud-API-Demo-Web/issues/28

m0uu avatar Sep 06 '24 12:09 m0uu

in the Dockercontiner cloud_api_sample-cloud_api_sample-1 I now always get the following error message

AmazonS3Exception: The specified bucket does not exist (Service: Amazon S3; Status Code: 404; Error Code: NoSuchBucket)

m0uu avatar Sep 07 '24 09:09 m0uu