Hello,
I have a problem about deployment, and I need your help. All services are up and running. There are no services that has problem when I type ./run ps. The problem that I am having right now is that the deployment of a basic txt.file is not finishing. I am sharing te screenshots of the UI and the log of the mender-deployment service here.
Note: I am using self hosted mender version 3.4.
Approximately, every 10 seconds (10000ms), the logs saying inprogress, pending and list are repeating in the network tag of the browser.
After a couple of tries, the deployment gave me the following failure log :
2023-09-25 08:10:29 +0000 UTC info: Running Mender client version: 3.5.1
2023-09-25 08:10:29 +0000 UTC warning: RetryPollIntervalSeconds is not defined
2023-09-25 08:10:29 +0000 UTC error: Error fetching scheduled update info: code (404)
2023-09-25 08:10:29 +0000 UTC error: Update fetch failed: error receiving scheduled update information server error message: 404 page not found
2023-09-25 08:10:29 +0000 UTC info: State transition: update-fetch [Download_Enter] → fetch-install-retry-wait [Download_Enter]
2023-09-25 08:10:29 +0000 UTC warning: UpdatePollIntervalSeconds is not defined
2023-09-25 08:40:29 +0000 UTC info: State transition: fetch-install-retry-wait [Download_Enter] → update-fetch [Download_Enter]
2023-09-25 08:40:30 +0000 UTC warning: RetryPollIntervalSeconds is not defined
2023-09-25 08:40:36 +0000 UTC error: Error fetching scheduled update info: code (404)
2023-09-25 08:40:36 +0000 UTC error: Update fetch failed: error receiving scheduled update information server error message: 404 page not found
2023-09-25 08:40:36 +0000 UTC info: State transition: update-fetch [Download_Enter] → fetch-install-retry-wait [Download_Enter]
2023-09-25 08:40:36 +0000 UTC warning: UpdatePollIntervalSeconds is not defined
2023-09-25 08:40:36 +0000 UTC info: State transition: fetch-install-retry-wait [Download_Enter] → update-error [ArtifactFailure]
2023-09-25 08:40:36 +0000 UTC info: State transition: update-error [ArtifactFailure] → cleanup [Error]
2023-09-25 08:40:36 +0000 UTC info: State transition: cleanup [Error] → update-status-report [none]
I am not sure about DEPLOYMENTS_AWS_URI and DEPLOYMENTS_AWS_EXTERNAL_URI. I set the external one same as my mender domain name, and set the DEPLOYMENTS_AWS_URI as minio:9000. I am trying to use minio not aws, so I am a little bit confused. I have only one domain by the way. Also, I am using version 3.4 with docker-compose option.
Hello @dekan ,
could you please verify if you could fetch the artifact storage? Preferably from the device itself, or from another host; you should issue something like this:
Specifically, the DEPLOYMENTS_AWS_URI is for internal communication only, and the DEPLOYMENTS_AWS_EXTERNAL_URI is the external storage URL, accessible from the devices.
The AWS names are confusing, but kept for history reasons; it’s safe to use Minio with them.
Another test could be downloading the Artifact from the UI.
First of all, thank you so much for the reply.
I have tried to download the artifact(a basic txt file) from the UI, and it gave me 404 not found. What is the thing that I am doing wrong in this setup ?
I cannot execute the command starting with aws. I tried to install awscli, but I cannot do because of some errors that I cannot solve.
But, I have an idea that may causes this problem. Since I have changed the default port 443 to 44344, may the problem arises because of that? I am not including this port the DEPLOYMENTS_AWS_EXTERNAL_URI.
Good point, the api-gateway (port 443 by default) is also a gateway for Minio. So you can either try falling it back to 443 or by setting DEPLOYMENTS_AWS_EXTERNAL_URI=https://mymenderdomain.com:44344.
Also please set the protocol accordingly (http or https)