Pro install trouble Ubuntu (18.04 LTS)

Backendless Version (Pro )

im trying to install the pro version for two days now. i got around all the errors with missing packages and now im stuck at this error

bl-swarm_bl-server.1.pzwdmswiuq50@ip-172-31-29-125    | 00:11:41.364 [INFO] WaiterService |main|  SQL database 'main_backendless' is not accessible. Error message: invalid database address: jdbc:mysql://bl-mysql:3306?zeroDateTimeBehavior=convertToNull&&useSSL=false&&requireSSL=false&&dumpQueriesOnException=true&&exceptionInterceptors=com.backendless.util.jdbc.ExceptionLogInterceptor&&allowPublicKeyRetrieval=true. Waiting for 3000 millis before retry...
bl-swarm_bl-server.1.pzwdmswiuq50@ip-172-31-29-125    | 00:11:44.365 [ERROR] c.b.u.j.ExceptionLogInterceptor |main|  Error during SQL query execution.
bl-swarm_bl-server.1.pzwdmswiuq50@ip-172-31-29-125    | com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

some guide line is appreciated

here is backendless_status

5b8tqphh5a9x bl-swarm_bl-coderunner-java replicated 1/1 backendless/bl-coderunner-java:latest
goyjh6z5362h bl-swarm_bl-coderunner-js replicated 1/1 backendless/bl-coderunner-js:latest
xoexp3474593 bl-swarm_bl-config-loader replicated 0/1 backendless/bl-config-loader:latest
9dpl0ce2a2px bl-swarm_bl-consul replicated 1/1 consul:1.1.0 *:8400->8400/tcp, *:8500->8500/tcp, *:8600->8600/tcp
5c2f0kdh4thi bl-swarm_bl-hazelcast replicated 1/1 backendless/bl-hazelcast:latest
yvlj1r60xxb2 bl-swarm_bl-mongo replicated 1/1 mongo:3.4.3 *:27017->27017/tcp
fhsbtrffy4li bl-swarm_bl-mysql replicated 0/1 mysql:5.7 *:3306->3306/tcp
asg3bowzs0n3 bl-swarm_bl-redis replicated 1/1 redis:4 *:6379->6379/tcp
rabo8vbkx35r bl-swarm_bl-redis-debug replicated 1/1 redis:4 *:6380->6380/tcp
m37ae9i2ztpc bl-swarm_bl-rt-server replicated 1/1 backendless/bl-rt-server:latest *:5000->5000/tcp
0pvb6q2qfppf bl-swarm_bl-server replicated 0/1 backendless/bl-server:latest *:9000->9000/tcp
l7s7wiehvic4 bl-swarm_bl-taskman replicated 1/1 backendless/bl-server:latest
51os8n2o2qo7 bl-swarm_bl-upgrade replicated 1/1 backendless/bl-upgrade:latest
n0uqg8pp7ip4 bl-swarm_bl-web-console replicated 1/1 backendless/bl-web-console:latest *:80->80/tcp

here is backendless_status full

ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
3c3dwm0wy5rjc9xx2dr0jjlcz bl-swarm_bl-coderunner-java.1 backendless/bl-coderunner-java:latest@sha256:4f1b2da50d3acda23433e80f28804ba965dd77d62ab2a2f1a8f7385a5a04bd7c ip-172-31-29-125 Running Running 30 minutes ago
o25ccuc5uuao8fvw8nqjnsxxt bl-swarm_bl-coderunner-js.1 backendless/bl-coderunner-js:latest@sha256:e1cff4cd26c6d877280c31519867de170755299c77268b68ac6e1e21190bd51a ip-172-31-29-125 Running Running 30 minutes ago
agcmkr94w0b91udvcmlxk30ku bl-swarm_bl-config-loader.1 backendless/bl-config-loader:latest@sha256:81ad558583e81e99b05fa9c65be94eb8781be7e09a7f8762e361181b832d10c8 ip-172-31-29-125 Shutdown Complete 30 minutes ago
sfk13u78qtg6wb2vsjo9kimuw bl-swarm_bl-consul.1 consul:1.1.0@sha256:681fa1f035a7f32310d9133eefec0d0a389f09440831fd6aea818d4c0a461c95 ip-172-31-29-125 Running Running 30 minutes ago
l0hs4ppqoyb3opp8u4vmmm4ov bl-swarm_bl-hazelcast.1 backendless/bl-hazelcast:latest@sha256:a3e0fbbf9c13459cedbcc32aadb5253a949dae46cd6997c982373aea6123b839 ip-172-31-29-125 Running Running 30 minutes ago
ui3ce0tcqa3kk0z3yl4qzbt2d bl-swarm_bl-mongo.1 mongo:3.4.3@sha256:2b1c1183829ad5c509b07a617cc53ef24ca77fd60276882608c3635fcd407257 ip-172-31-29-125 Running Running 30 minutes ago
q8okgtgnysf825pc0nnl6pzql bl-swarm_bl-mysql.1 mysql:5.7@sha256:a682e3c78fc5bd941e9db080b4796c75f69a28a8cad65677c23f7a9f18ba21fa ip-172-31-29-125 Ready Ready less than a second ago
c8nd8fvfrb53da5pz40jdr62q _ bl-swarm_bl-mysql.1 mysql:5.7@sha256:a682e3c78fc5bd941e9db080b4796c75f69a28a8cad65677c23f7a9f18ba21fa ip-172-31-29-125 Shutdown Failed less than a second ago “task: non-zero exit (1)”
jnn5o096i8sz99tpc7h1cysct _ bl-swarm_bl-mysql.1 mysql:5.7@sha256:a682e3c78fc5bd941e9db080b4796c75f69a28a8cad65677c23f7a9f18ba21fa ip-172-31-29-125 Shutdown Failed 7 seconds ago “task: non-zero exit (1)”
s8mripqqzyfrbapc38nsfeuzp _ bl-swarm_bl-mysql.1 mysql:5.7@sha256:a682e3c78fc5bd941e9db080b4796c75f69a28a8cad65677c23f7a9f18ba21fa ip-172-31-29-125 Shutdown Failed 13 seconds ago “task: non-zero exit (1)”
lhtz6gyaicqe1020lz1df48hn _ bl-swarm_bl-mysql.1 mysql:5.7@sha256:a682e3c78fc5bd941e9db080b4796c75f69a28a8cad65677c23f7a9f18ba21fa ip-172-31-29-125 Shutdown Failed 20 seconds ago “task: non-zero exit (1)”
0gn877mmifajmb0js4cmpztw6 bl-swarm_bl-redis-debug.1 redis:4@sha256:2e03fdd159f4a08d2165ca1c92adde438ae4e3e6b0f74322ce013a78ee81c88d ip-172-31-29-125 Running Running 31 minutes ago
zw12utub39ogjh0li88da604q bl-swarm_bl-redis.1 redis:4@sha256:2e03fdd159f4a08d2165ca1c92adde438ae4e3e6b0f74322ce013a78ee81c88d ip-172-31-29-125 Running Running 30 minutes ago
1m80mia3ol4pnys0gfyelibhw bl-swarm_bl-rt-server.1 backendless/bl-rt-server:latest@sha256:2b1aa94b4cf8686b3ef3dd73d9e0bc29bcd213aea01a785e09250b889f60bf85 ip-172-31-29-125 Running Running 30 minutes ago
cqcg1e7d7tbenbrz0zwvr1g7q bl-swarm_bl-server.1 backendless/bl-server:latest@sha256:3db59841283332808197ce982bf08f7e09247470da68d2616990365d3f340b90 ip-172-31-29-125 Running Starting 2 minutes ago
0xy80mhxc0q9q5ecikbyhn8ui _ bl-swarm_bl-server.1 backendless/bl-server:latest@sha256:3db59841283332808197ce982bf08f7e09247470da68d2616990365d3f340b90 ip-172-31-29-125 Shutdown Failed 2 minutes ago “task: non-zero exit (137): dockerexec: unhealthy container”
pzwdmswiuq50syy7lpgt678fs _ bl-swarm_bl-server.1 backendless/bl-server:latest@sha256:3db59841283332808197ce982bf08f7e09247470da68d2616990365d3f340b90 ip-172-31-29-125 Shutdown Failed 6 minutes ago “task: non-zero exit (137): dockerexec: unhealthy container”
x4pmhdyd2cjsr3qe9a20fadog _ bl-swarm_bl-server.1 backendless/bl-server:latest@sha256:3db59841283332808197ce982bf08f7e09247470da68d2616990365d3f340b90 ip-172-31-29-125 Shutdown Failed 10 minutes ago “task: non-zero exit (137): dockerexec: unhealthy container”
bmmmzanfoo75lr03y47yl3q1l _ bl-swarm_bl-server.1 backendless/bl-server:latest@sha256:3db59841283332808197ce982bf08f7e09247470da68d2616990365d3f340b90 ip-172-31-29-125 Shutdown Failed 14 minutes ago “task: non-zero exit (137): dockerexec: unhealthy container”
pq686kd728li29cy6mu3s8xci bl-swarm_bl-taskman.1 backendless/bl-server:latest@sha256:3db59841283332808197ce982bf08f7e09247470da68d2616990365d3f340b90 ip-172-31-29-125 Running Running 30 minutes ago
4njznkh9gxf080w1842jlmqwx bl-swarm_bl-upgrade.1 backendless/bl-upgrade:latest@sha256:8a1474a25151309be75596772409d65a70d819f8c0571d550691b7715647123f ip-172-31-29-125 Running Running 30 minutes ago
oqd54m3j2ftttd3nxkth3nsa0 bl-swarm_bl-web-console.1 backendless/bl-web-console:latest@sha256:381be5f331013fb0b93bac8e979661c0b026001300ca912213dc21ab0cf3d82b ip-172-31-29-125 Running Running 30 minutes ago

Hello @mohammad_altoiher

Thank you for trying BackendlessPro

Could you please try the following steps:

  1. stop your installation
  2. remove the working directory (or just leave it for now)
  3. open the following guid GitHub - Backendless/BackendlessPro: This is a repo for the distribution of Backendless Pro - the self-hosted version of the product.
  4. download the latest archive and unzip it, the first step of the Getting Started guide
  5. in the second steps instead of running chmod +x *.sh try to run this one: chmod -R 777 /full/path/to/the/working/directory
  6. go through remains steps in the Getting Started guide

Regards, Vlad

Thanks Vlad!
its working now.

i don’t want to open a new thread

is there a guide on migrating my app files and servercode?
i imported the data tables successfully.

is there a guide on migrating my app files and servercode?
i imported the data tables successfully.

just try to zip, download, upload and unzip

JS code did show up
codeless doesn’t show any service

try to go to the Coding section and deploy all the Codeless models

ok deployed the services one by one and i can see them.
now i get an error in every codeless view
Oops. An internal error....... We are working on it. Please try again later

where can i see that error to figure out the issue

Also Users table data is not importing and there is no error
all other data is imported

Have you checked the import log file?

could you check what request is failing in the browser dev console?

i found one issue about an INT field but was STRING in import
corrected that. and this is the log

16:51:02  IMPORT_DATA  Importing Started.
16:51:02  IMPORT_DATA  Preparing files to import
16:51:02  IMPORT_DATA  Creating temporary tables
16:51:02  IMPORT_DATA  Creating user's tables
16:51:02  IMPORT_DATA  Preparing Users table: initializing columns.
16:51:02  IMPORT_DATA  SRS ID was not provided for spatial column w 'user_location'. Default SRS ID '0' will be used.
16:51:04  IMPORT_DATA  Preparing Users table: updating column related IDs.
16:51:04  IMPORT_DATA  Preparing Users table: initializing relations.
16:51:04  IMPORT_DATA  Checking denied and duplicate columns.
16:51:04  IMPORT_DATA  Resolving related table.
16:51:04  IMPORT_DATA  Getting meta-info about insetable tables.
16:51:05  IMPORT_DATA  Start import table: Users
16:51:05  IMPORT_DATA  Started import data from csv Users.csv
16:51:05  IMPORT_DATA  Will perform Inserting or ignore (on duplicate by objectId).
16:51:05  IMPORT_DATA  Reading next portion (0) of data from csv Users.csv.
16:51:05  IMPORT_DATA  Created new import subtask (1) for Users.csv with 122 elements.
16:51:05  IMPORT_DATA  Reading next portion (1) of data from csv Users.csv.
16:51:05  IMPORT_DATA  Started import subtask (1) for Users table.
16:51:05  IMPORT_DATA  Table 'Users' was imported at 0 seconds. Saved 0 records.
16:51:05  IMPORT_DATA  Finish import table: Users
16:51:05  IMPORT_DATA  Started restoring relations.
16:51:05  IMPORT_DATA  Counting relations.
16:51:05  IMPORT_DATA  Clearing user data table cache.
16:51:06  IMPORT_DATA  Deleting temporary tables.
16:51:06  IMPORT_DATA  Finishing pointers export.
16:51:06  IMPORT_DATA  Start import pointers for table: Users
16:51:06  IMPORT_DATA  Finished import of table: Users
16:51:06  IMPORT_DATA  Restoring expiration tasks for DeviceRegistrations.
16:51:06  IMPORT_DATA  Import finished.

still the Users table is empty

try to run the following commands:

docker ps

then find a container_id for bl-web-console and run:

docker logs container_id

2021-06-18T19:06:53.380Z - error: [API_PROXY] Received an error from ProxyServer: http://bl-server:9000 message=getaddrinfo ENOTFOUND bl-server, stack=Error: getaddrinfo ENOTFOUND bl-server
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26), errno=ENOTFOUND, code=ENOTFOUND, syscall=getaddrinfo, hostname=bl-server
2021-06-18T19:06:53.381Z - error: message=getaddrinfo ENOTFOUND bl-server, stack=Error: getaddrinfo ENOTFOUND bl-server
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26), errno=ENOTFOUND, code=ENOTFOUND, syscall=getaddrinfo, hostname=bl-server
2021-06-18T19:09:37.375Z - info: Load Console Status
2021-06-18T19:10:19.957Z - error: [INTERNAL SERVER ERROR] 2b0a38941aa72d6412ea6ff4b7276043 message=getaddrinfo ENOTFOUND backendless.local, stack=Error: getaddrinfo ENOTFOUND backendless.local
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26), errno=ENOTFOUND, code=ENOTFOUND, syscall=getaddrinfo, hostname=backendless.local, id=2b0a38941aa72d6412ea6ff4b7276043
2021-06-18T19:10:29.962Z - warn: Send notification email about: Unhandled internal error: “getaddrinfo ENOTFOUND backendless.local”

Group: Unhandled internal error: “getaddrinfo ENOTFOUND backendless.local”

Contains 1 error

========================================================================================

Unhandled internal error id: 2b0a38941aa72d6412ea6ff4b7276043

ApplicationId: 591EF93F-79A6-EA6C-FF04-C92B42F34C00

Address: ::ffff:10.0.0.2

Time: Fri, 18 Jun 2021 19:10:19 GMT

Request:

{
  "method": "GET",
  "url": "/591EF93F-79A6-EA6C-FF04-C92B42F34C00/console/localservices/codeless/0A99661A-2771-35EF-FFF3-CFCB839F5300/likeReplay/logic",
  "params": {
    "appId": "591EF93F-79A6-EA6C-FF04-C92B42F34C00"
  },
  "query": {},
  "headers": {
    "host": "backendless.local",
    "user-agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0",
    "accept": "*/*",
    "accept-language": "en-US,en;q=0.5",
    "accept-encoding": "gzip, deflate",
    "auth-key": "ibchdsojsqvvdjktrphzwpklbgnwwzidajop",
    "x-request-uid": "2728BD3B-05C8-B938-7102-6054CAD862F8",
    "x-request-initiator": "console-client",
    "connection": "keep-alive",
    "referer": "http://backendless.local/m7l_e/bl/services/AskAroundService/likeReplay",
    "cookie": "dev-auth-key=ibchdsojsqvvdjktrphzwpklbgnwwzidajop; dev-last-used-app-id=591EF93F-79A6-EA6C-FF04-C92B42F34C00; io=XSUExEJpZ3RunVerAAAB"
  },
  "body": {}
}

Error Message: getaddrinfo ENOTFOUND backendless.local

Error: getaddrinfo ENOTFOUND backendless.local
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26)

========================================================================================

don’t i have to setup a domain name instead of backendless.local? to use it from the web.

Hi, @mohammad_altoiher

To understand in which subsystem of your problem i need information from you, will you need to show the output to such commands?

sudo grep “backendless.local” /etc/hosts

docker ps | grep bl-server

ping bl-server

no output but sudo nano /etc/hosts show this

27.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

127.0.0.1               backendless.local
28d1fbee1df9   backendless/bl-server:latest            "/opt/backendless/st…"   34 minutes ago   Up 34 minutes (healthy)                                                                bl-swarm_bl-server.1.jf0say7cy1wl7v0u44krw8jtu
d93448a380a7   backendless/bl-server:latest            "/opt/backendless/st…"   17 hours ago     Up 17 hours                                                                            bl-swarm_bl-taskman.1.tx5h6z6gczoglm1nq9fntuhom

ping: bl-server: Name or service not known

Hello @mohammad_altoiher

Sorry for the late response. Please add the following line to etc/hosts file:

127.0.0.1 backendless.local

Its already there as i mentioned in my previous post

maybe this will help

2021-06-23T09:39:29.507Z - info:

2021-06-23T09:39:29.508Z - info: *************************************************************************************

2021-06-23T09:39:29.508Z - info: *** Backendless.Console is running, talking to API server on http://bl-server:9000

2021-06-23T09:39:29.508Z - info: *** Open http://localhost:80 in a browser to view the app.

2021-06-23T09:39:29.508Z - info: *************************************************************************************

2021-06-23T09:39:29.508Z - info:

2021-06-23T10:41:07.548Z - info: Load Console Status

2021-06-23T10:41:29.552Z - error: [INTERNAL SERVER ERROR] 5c31af9972eafa92b97d5bc754c4580f message=getaddrinfo ENOTFOUND backendless.local, stack=Error: getaddrinfo ENOTFOUND backendless.local

at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26), errno=ENOTFOUND, code=ENOTFOUND, syscall=getaddrinfo, hostname=backendless.local, id=5c31af9972eafa92b97d5bc754c4580f