Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on the quick start documentation and the given information #23

Open
mhg-local opened this issue Aug 6, 2024 · 9 comments
Open

Comments

@mhg-local
Copy link

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
Copy link
Author

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

@kuri-megane
Copy link

@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.

@m0uu
Copy link

m0uu commented Sep 5, 2024

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

@mhg-local
Copy link
Author

mhg-local commented Sep 5, 2024

@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
Copy link
Author

mhg-local commented Sep 5, 2024

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.

@m0uu
Copy link

m0uu commented Sep 5, 2024

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

@mhg-local
Copy link
Author

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

@m0uu
Copy link

m0uu commented Sep 6, 2024

@m0uu
Copy link

m0uu commented Sep 7, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants