Reply
Member
Posts: 130
Registered: ‎11-12-2009
Kudos: 10
Solutions: 4
Accepted Solution

Issue Starting

m having a issue on screen just said:

 

 

"UNMS is starting. This should not take more than a minute."

 

any advice....????


Accepted Solutions
Highlighted
Regular Member
Posts: 586
Registered: ‎01-14-2015
Kudos: 478
Solutions: 55

Re: Issue Starting

Hello @Cochrane

 

Try to use this commands:

 

sudo ~unms/app/unms-cli stop
sudo ~unms/app/unms-cli fix-redis-aof
sudo ~unms/app/unms-cli start

Fix redis aof file

 

Then upgrade to the latest version of UNMS

 

curl -fsSL https://unms.com/install > /tmp/unms_ins.sh && sudo bash /tmp/unms_ins.sh --version 0.12.1 --update

 Majo

 

View solution in original post


All Replies
Regular Member
Posts: 586
Registered: ‎01-14-2015
Kudos: 478
Solutions: 55

Re: Issue Starting

[ Edited ]

Hi @Cochrane

 

There are many threads in the UNMS community with the keyword "This should not take more than a minute"

See if something in this threads could be useful to you.

 

Snímka.PNG

 

In general, start with a command

 

sudo docker ps

to know what's going on

 

Majo

 

 

 

 

 

Member
Posts: 130
Registered: ‎11-12-2009
Kudos: 10
Solutions: 4

Re: Issue Starting

i try the command and the result is...

ONTAINER ID        IMAGE                             COMMAND                  CREATED             STATUS                          PORTS                                                                                                 NAMES
21f2a41bdb63        ubnt/unms-nginx:0.12.1-beta.1     "/entrypoint.sh ngin…"   42 minutes ago      Up 35 minutes                   0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp                                                              unms-nginx
91ee7e2b1dee        ubnt/unms:0.12.1-beta.1           "/usr/bin/dumb-init …"   42 minutes ago      Up 2 minutes                                                                                                                          unms
a0e3c416a3ca        postgres:9.6.1-alpine             "/docker-entrypoint.…"   43 minutes ago      Up 34 minutes                                                                                                                         unms-postgres
ffc9ef70f37d        redis:3.2.8-alpine                "docker-entrypoint.s…"   43 minutes ago      Restarting (1) 29 seconds ago                                                                                                         unms-redis
f90d13a7c282        rabbitmq:3.7.4-alpine             "docker-entrypoint.s…"   43 minutes ago      Up 35 minutes                                                                                                                         unms-rabbitmq
f681e17f16b6        ubnt/unms-fluentd:0.12.1-beta.1   "/entrypoint.sh /bin…"   43 minutes ago      Up 35 minutes                   5140/tcp, 127.0.0.1:24224->24224/tcp                                                                  unms-fluentd
058c533d7e76        ubnt/ucrm-billing:2.10.2          "make server"            7 hours ago         Up 34 minutes                   0.0.0.0:2055->2055/udp, 9000/tcp, 0.0.0.0:8080->80/tcp, 0.0.0.0:8181->81/tcp, 0.0.0.0:8443->443/tcp   ucrm_web_app_1
69d01d9deb7a        postgres:9.5                      "docker-entrypoint.s…"   7 hours ago         Up 35 minutes                   5432/tcp                                                                                              ucrm_postgresql_1
4f99a810414b        rabbitmq:3                        "docker-entrypoint.s…"   7 hours ago         Up 35 minutes                   4369/tcp, 5671-5672/tcp, 25672/tcp                                                                    ucrm_rabbitmq_1
35080cffe226        elasticsearch:2                   "/docker-entrypoint.…"   8 days ago          Up 35 minutes                   9200/tcp, 9300/tcp                                                                                    ucrm_elastic_1

and with this other command

cat /var/log/syslog | grep docker

i got this

 

May 16 12:01:35 ubuntu dockerd[15571]: time="2018-05-16T12:01:35.559528475-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: fluent#send: can't send logs, client is reconnecting"
May 16 12:01:35 ubuntu dockerd[15571]: time="2018-05-16T12:01:35.561429609-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: write tcp 127.0.0.1:56160->127.0.0.1:24224: write: connection reset by peer"
May 16 12:01:35 ubuntu dockerd[15571]: time="2018-05-16T12:01:35.562774549-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: fluent#send: can't send logs, client is reconnecting"
May 16 12:01:36 ubuntu dockerd[15571]: time="2018-05-16T12:01:36.172904985-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: write tcp 127.0.0.1:56166->127.0.0.1:24224: write: broken pipe"
May 16 12:01:36 ubuntu dockerd[15571]: time="2018-05-16T12:01:36.175395751-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: fluent#send: can't send logs, client is reconnecting"
May 16 12:01:37 ubuntu dockerd[15571]: time="2018-05-16T12:01:37.571590234-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: write tcp 127.0.0.1:56174->127.0.0.1:24224: write: connection reset by peer"
May 16 12:01:37 ubuntu dockerd[15571]: time="2018-05-16T12:01:37.578442421-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: fluent#send: can't send logs, client is reconnecting"
May 16 12:01:37 ubuntu dockerd[15571]: time="2018-05-16T12:01:37.580669937-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: write tcp 127.0.0.1:56184->127.0.0.1:24224: write: broken pipe"
May 16 12:01:43 ubuntu dockerd[15571]: time="2018-05-16T12:01:43.816735088-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: fluent#send: can't send logs, client is reconnecting"
May 16 12:01:43 ubuntu dockerd[15571]: time="2018-05-16T12:01:43.822826678-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: write tcp 127.0.0.1:56196->127.0.0.1:24224: write: broken pipe"
May 16 12:01:43 ubuntu dockerd[15571]: time="2018-05-16T12:01:43.868860695-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: fluent#send: can't send logs, client is reconnecting"
May 16 12:01:43 ubuntu dockerd[15571]: time="2018-05-16T12:01:43.872135002-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: write tcp 127.0.0.1:56208->127.0.0.1:24224: write: connection reset by peer"
May 16 12:01:43 ubuntu dockerd[15571]: time="2018-05-16T12:01:43.876419982-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: fluent#send: can't send logs, client is reconnecting"
May 16 12:01:43 ubuntu dockerd[15571]: time="2018-05-16T12:01:43.876914070-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: fluent#send: can't send logs, client is reconnecting"
May 16 12:01:43 ubuntu dockerd[15571]: time="2018-05-16T12:01:43.878536234-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: write tcp 127.0.0.1:56212->127.0.0.1:24224: write: broken pipe"
May 16 12:01:47 ubuntu dockerd[15571]: time="2018-05-16T12:01:47.685687463-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: fluent#send: can't send logs, client is reconnecting"
May 16 12:01:47 ubuntu dockerd[15571]: time="2018-05-16T12:01:47.687563878-07:00" level=error msg="Failed to log msg \"\" for logger fluentd: write tcp 127.0.0.1:56220->127.0.0.1:24224: write: connection reset by peer"
Highlighted
Regular Member
Posts: 586
Registered: ‎01-14-2015
Kudos: 478
Solutions: 55

Re: Issue Starting

Hello @Cochrane

 

Try to use this commands:

 

sudo ~unms/app/unms-cli stop
sudo ~unms/app/unms-cli fix-redis-aof
sudo ~unms/app/unms-cli start

Fix redis aof file

 

Then upgrade to the latest version of UNMS

 

curl -fsSL https://unms.com/install > /tmp/unms_ins.sh && sudo bash /tmp/unms_ins.sh --version 0.12.1 --update

 Majo

 

Ubiquiti Employee
Posts: 2,391
Registered: ‎09-08-2017
Kudos: 971
Solutions: 165

Re: Issue Starting

@Cochrane  Hello Samuel. @MajoV is absolutely correct with his advice. Also please note that if the 'fix-redis-aof' command would not work you can try 'rewrite-redis-aof' too. 

UBNT_Alternate_Logo.png
UNMS Support - If you want to report an issue please use this guide.

Check out our ever-evolving Help Center for answers to many common questions!

Member
Posts: 130
Registered: ‎11-12-2009
Kudos: 10
Solutions: 4

Re: Issue Starting

thank you it works....
Reply