Reply
New Member
Posts: 21
Registered: ‎01-14-2016
Kudos: 6
Accepted Solution

Failed Update to 0.13.1

[ Edited ]

Update log here: https://paste.ofcode.org/kf6DxfivjZUbUQaHVeBk9n

 

The only thing sticking out is: 

chown: cannot read directory '/home/unms/data/postgres': Permission denied

I am reticent to make ownership changes on that directory as the installer should address that. All previous upgrades/updates were successful up until now.  


Accepted Solutions
Regular Member
Posts: 729
Registered: ‎02-12-2013
Kudos: 183
Solutions: 59

Re: Failed Update to 0.13.1

@copacabana

I'm inclined to say that you should try again updating again, but try it via the CLI:
curl -fsSL https://unms.com/install > /tmp/unms_inst.sh && sudo bash /tmp/unms_inst.sh --update

To be on the save side, you should probably shutdown UNMS and make a backup first:
sudo ~unms/app/unms-cli stop
#make a backup of /home/unms

View solution in original post


All Replies
Regular Member
Posts: 729
Registered: ‎02-12-2013
Kudos: 183
Solutions: 59

Re: Failed Update to 0.13.1

@copacabana
Strange that it just stops at line 61. You upgraded from 0.13.0, right? Is UNMS running now (as 0.13.0) or is it crashed?
What do you see in the other logs /home/unms/data/logs/ ?
Can you list your docker processes: sudo docker ps | grep unms
New Member
Posts: 21
Registered: ‎01-14-2016
Kudos: 6

Re: Failed Update to 0.13.1

Yes, 0.13.0 going to 0.13.1. It crashed, UNMS did not come back up until a reboot, then 0.13.0 was back to normal.

 

docker ps output

9ba3676ff77e        ubnt/unms-nginx:0.13.0     "/entrypoint.sh ngin…"   3 months ago        Up 4 hours          0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp   unms-nginx
bf768ce4eaea        ubnt/unms-netflow:0.13.0   "yarn start"             3 months ago        Up 4 hours          0.0.0.0:2055->2055/udp                     unms-netflow
7d54a7637f77        ubnt/unms:0.13.0           "/usr/bin/dumb-init …"   3 months ago        Up About an hour                                               unms
4eaf9439524f        rabbitmq:3.7.4-alpine      "docker-entrypoint.s…"   3 months ago        Up 4 hours                                                     unms-rabbitmq
9bc6667da28c        redis:3.2.8-alpine         "docker-entrypoint.s…"   3 months ago        Up 4 hours                                                     unms-redis
432a7c54dd7e        postgres:9.6.1-alpine      "/docker-entrypoint.…"   3 months ago        Up 4 hours                                                     unms-postgres
8cd8a5f2895c        ubnt/unms-fluentd:0.13.0   "/entrypoint.sh /bin…"   3 months ago        Up 4 hours          5140/tcp, 127.0.0.1:24224->24224/tcp       unms-fluentd

Nothing in data/logs that means anything to me. But happy to grep - not sure what to look for - tried "update" and saw a lot of output about npm.

 

 

Regular Member
Posts: 729
Registered: ‎02-12-2013
Kudos: 183
Solutions: 59

Re: Failed Update to 0.13.1

@copacabana

I'm inclined to say that you should try again updating again, but try it via the CLI:
curl -fsSL https://unms.com/install > /tmp/unms_inst.sh && sudo bash /tmp/unms_inst.sh --update

To be on the save side, you should probably shutdown UNMS and make a backup first:
sudo ~unms/app/unms-cli stop
#make a backup of /home/unms
Ubiquiti Employee
Posts: 3,006
Registered: ‎09-08-2017
Kudos: 1151
Solutions: 211

Re: Failed Update to 0.13.1

@copacabana  Hello Derek. We need to see your complete update log, please. You can send it to my email radek.skrivan(at)ubnt.com, and include your forum name and URL of this thread in the message.

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!

New Member
Posts: 21
Registered: ‎01-14-2016
Kudos: 6

Re: Failed Update to 0.13.1

That is the complete update log, Radek.
Ubiquiti Employee
Posts: 3,006
Registered: ‎09-08-2017
Kudos: 1151
Solutions: 211

Re: Failed Update to 0.13.1

@copacabana  Thank you for the info, Derek. I will notify the developers. 

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!

New Member
Posts: 21
Registered: ‎01-14-2016
Kudos: 6

Re: Failed Update to 0.13.1

Here's a screenshot of my terminal:

 

https://gyazo.com/1177f306f505285444fb4bb05a226ec7

 

 

 
Highlighted
New Member
Posts: 21
Registered: ‎01-14-2016
Kudos: 6

Re: Failed Update to 0.13.1

[ Edited ]

Success! CLI update worked.

 

Weird though, update.log has the same content as before but I am now on 0.13.1. Happy to provide logs to UBNT devs if they are curious about this edge case.

Reply