Error in installation of community edition in AWS

Application ID: BB564ED1-968A-48E7-A3DF-2D5D69F1C212

Cannot read properties of undefined (reading 'forEach')

Problem description

Describe what you did in console that led to the error. Please provide a description of what actually happens. Be descriptive: “it doesn’t work” does not describe what the behavior actually is. This will help us with reproducing the problem.

Steps to reproduce

Please describe steps to reproduce starting from the first action.

  1. I’ve installed backendless in AWS as per video
  2. In Console I’ve created user and logged in
  3. I attempted to create a TestApp to see if it works and this error happened - Cannot read properties of undefined (reading ‘forEach’)
  4. Now, on each attempt to log in the same error appears.

I could create a new TestApp2 and see it.
The problem seems to be with the first application created “TestApp”.
Is there a way to delete it ?
I can’t access anything for that application.

Hello @Paulo_Mira

To help us better understand the issue, please use the browser’s inspector tool. This will allow us to identify which specific request is causing the error. Here are the steps:

  1. Open page in your browser (e.g., Chrome, Firefox, or Safari).
  2. Right-click on the page and select “Inspect” (or press F12 on your keyboard).
  3. Go to the “Network” tab in the opened panel.
  4. Refresh the page to see the list of all requests made by the page.
  5. Look for a request with a status of 500, 404, or another error status.
  6. Click on that request to view its details (URL, method, request parameters, etc.).

Please send us this information (a screenshot or a description) so we can resolve the issue more quickly.

Regards,
Volodymyr

Hi Volodymyr.

Works fine wit new apps created - it just has this problem with the first app I created.
Here’s a snapshot of the page load:

Thanks for your help,

Hi again.

I destroyed the intance I had created and created a new one, repeating the whole process. Still, I get the same error. I tried also to import an app from our cloud account and it answers back that it will send an email but nothing happens. Can you please help me ? Has something changed for installation since the video was released ?
Thank you for your help,

Paulo

I now include a image with a trace that may help you.

Hello @Paulo_Mira,

Could you please open the Inspector Tool in your browser, navigate to the Network tab, and then select Fetch/XHR? Look for the call to the app settings route, as shown in the screenshot below:

Once you locate it, could you copy the response as text and share it here? This information will be very helpful.

Thank you!

Hi Sergii.

Here it is.
Hope it helps.

Thanks,

Paulo

Hello @Paulo_Mira,

It seems like your application is currently broken. To remove the application, you can use the following cURL command in your terminal:

curl -X 'DELETE' 'http://54.247.206.119:32400/<your-app-id>/console/application' -H 'auth-key: <auth-key>' -i

Here’s what you need to replace in the command:

  • <your-app-id>: This can be found in the response displayed on your screen.
  • <auth-key>: You can locate this using the Inspector tool.

Here’s an example image for reference:

Let me know if you need further assistance!

Hi Sergii.

Ok, that’s a way to delete the application.
But th thing is that I can’t create a new app and, as I said, it failed to import one app from the zip file I had for an app that I currently have in the backendless cloud.
It seems that the install is not working…
I’m doing everything as per the video but when it comes to the point of using it creating an app, being blank or importing it, it doesn’t work.
I can try install it again on a new instance in AWS but it already failed twice.
Can you provide any help with why is this happening ?
Am I doing something wrong or does the install process changed since the video was released ?

Thanks very much,

Paulo
Can you help me with this

Hi @Paulo_Mira,

You can find the documentation for installing the PRO version here: Installing Backendless PRO on AWS.

Could you also share the link to the video you used for reference? Additionally, what version of the PRO installation are you trying to set up?

Looking forward to your response!

Hi Sergii.

I’m going to read the doc you pointed me to.

The link for the video is:

As for the version I chose the one by default - probably the last one which is 8.0.0.3.
I’ll pass you an image of the manager below.

Thanks again,

Paulo

Hi Sergii.

The differences I’ve found between the video and the doc you pointed me to are the ports.
In the video the only ports being opened are 5050 (ProManager), 32400 (Console) and 32300 (API).
These are the inbound rules I’ve set as per the video.

Shall I open more like in the doc: 5051, 32600, 80/443 ?
I don’t think this would affect the problem with creating apps but please let me know if I should do it.

Thanks,

Paulo

Hello @Paulo_Mira

I just tried to reproduce the problem in my Backendless Pro, but I couldn’t reproduce it.

  1. I will ask you to upgrade Backendless Pro to the latest version using Pro Manager

  2. When creating an application from an archive, are you using a link or zip archive? If you used an archive, try using the url. Also don’t forget to enter developer signature.

Regards,
Inna

I will also ask you to download all the logs.

Hi Inna.

I’ve used the zip file - I’ll try using the URL as per your suggestion and see what happens.
I’ve tried to upgrade but it just stays the same version (8.0.0.3). Just for a second the button shows Upgrading… and then goes back.
Here are the log files:

logs.zip (11.8 MB)

Thanks for your help,

Paulo

Hi Inna.

Ok, I’ve tried importing app from URL and included the dev signature and it worked!
I don’t know if it was because of the URL or because of the signature but it worked.

However I can’t create a blank app, still - it generates an error, creates the app but always with the same error as before.

Thanks very much,

Paulo

As a workaround, I can suggest you the option to create an empty app in Backendless Cloud, make it a zip and create from a link in Backendless Pro. And we will investigate the problem.

Regards,
Inna

Hi Inna.

Ok, sounds good for now.
What matters most for me now, is being able to import apps from the cloud.
If you need any more data or if you need access to the machine please let me know.

Thank you very much for your help,

Paulo