# Ruby on Rails Upgrade Today

**URL:** https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014
**Category:** Product Updates
**Created:** [December 2, 2016, 1:39pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014 "2016-12-02T13:39:56Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![dave](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/dave/32/13_2.png) [@dave](https://community.trooptrack.com/u/dave)
#### Post date: [December 2, 2016, 1:39pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/1 "2016-12-02T13:39:56Z")

</div>

Good morning! Happy Friday!

Back in the early fall we attempted a major upgrade of Ruby on Rails, the application framework that we use to build TroopTrack. We are currently on version 4.2, but the latest stable version is now 5.0. That upgrade didn’t go well and we had to back it out. We decided to wait until the super busy season (August - early November) was over before we tried it again.

This morning we are trying it again. We’ve spent a lot of time fixing the problems we saw back in September, and I hope it will go much better this time.

That said… this is a big deal and there is a big possibility we will see some problems throughout the day. We will resolve them as quickly as possible, so please bear with us today.

This upgrade is really important since it is delaying a lot of improvements we want to make to TroopTrack, like this one: [The future of magic mailing lists, custom mailing lists, and mailboxes](https://community.trooptrack.com/t/the-future-of-magic-mailing-lists-custom-mailing-lists-and-mailboxes/2571)

Have a great day and a better weekend!

~ Dave

---

<div class="post-metadata">

### Author: ![njmike](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/njmike/32/587_2.png) [@njmike](https://community.trooptrack.com/u/njmike)
#### Post date: [December 2, 2016, 2:51pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/2 "2016-12-02T14:51:23Z")

</div>

Well that explains what I’m seeing this morning…

Good luck all!

![](https://canada1.discourse-cdn.com/flex027/uploads/trooptrack/original/2X/f/f30d2c2bce0a96b34e1c47f89b0cac31d5519d07.jpg)

---

<div class="post-metadata">

### Author: ![dave](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/dave/32/13_2.png) [@dave](https://community.trooptrack.com/u/dave)
#### Post date: [December 2, 2016, 3:07pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/3 "2016-12-02T15:07:39Z")

</div>

We are currently rebooting all servers. Please bear with us.

---

<div class="post-metadata">

### Author: ![hheiber](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@hheiber](https://community.trooptrack.com/u/hheiber)
#### Post date: [December 2, 2016, 3:07pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/4 "2016-12-02T15:07:55Z")

</div>

Can I recommend using a site offline / under maintenance page when things are being upgraded and unavailable? I was getting a page isn’t working error message which is not user friendly. Luckily I had the support forums open in another tab and was able to find this message.

Thanks.

---

<div class="post-metadata">

### Author: ![dave](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/dave/32/13_2.png) [@dave](https://community.trooptrack.com/u/dave)
#### Post date: [December 2, 2016, 3:14pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/5 "2016-12-02T15:14:15Z")

</div>

You’re such a dork. I ❤ you man.

---

<div class="post-metadata">

### Author: ![dave](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/dave/32/13_2.png) [@dave](https://community.trooptrack.com/u/dave)
#### Post date: [December 2, 2016, 3:17pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/6 "2016-12-02T15:17:47Z")

</div>

We think that’s a good idea for when we are totally down. The upgrade we are going through is past the “totally down” part - we’re trying to fix problems that only occur under load right now.

---

<div class="post-metadata">

### Author: ![dave](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/dave/32/13_2.png) [@dave](https://community.trooptrack.com/u/dave)
#### Post date: [December 2, 2016, 3:26pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/7 "2016-12-02T15:26:02Z")

</div>

Rebooting all servers. Again. At least it’s Friday!

---

<div class="post-metadata">

### Author: ![dave](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/dave/32/13_2.png) [@dave](https://community.trooptrack.com/u/dave)
#### Post date: [December 2, 2016, 4:31pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/8 "2016-12-02T16:31:33Z")

</div>

Things are still rough. Working on it.

---

<div class="post-metadata">

### Author: ![dave](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/dave/32/13_2.png) [@dave](https://community.trooptrack.com/u/dave)
#### Post date: [December 2, 2016, 6:58pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/9 "2016-12-02T18:58:42Z")

</div>

We’ve rolled back. We’ll do some more testing and try again. 😢

---

<div class="post-metadata">

### Author: ![njmike](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/njmike/32/587_2.png) [@njmike](https://community.trooptrack.com/u/njmike)
#### Post date: [December 2, 2016, 8:04pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/10 "2016-12-02T20:04:08Z")

</div>

Ahhhhhhhhh nuts. Sorry to hear it.

---

<div class="post-metadata">

### Author: ![JamynShanley](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/jamynshanley/32/481_2.png) [@JamynShanley](https://community.trooptrack.com/u/JamynShanley)
#### Post date: [December 2, 2016, 11:51pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/11 "2016-12-02T23:51:32Z")

</div>

Sorry to hear it didn’t go well this time. I don’t know what challenges resulted in a rollback, but If I could do something to help plan or test I’m willing to help. I don’t have rails experience, but I’ve done a bit of QA and related work.

---

<div class="post-metadata">

### Author: ![mwestcott](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@mwestcott](https://community.trooptrack.com/u/mwestcott)
#### Post date: [December 9, 2016, 5:52pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/12 "2016-12-09T17:52:55Z")

</div>

Just a suggestion for next time - will you post somewhere in advance that there might be a disruption to TT service on a specific day? Maybe you did, and I just didn’t see it? Or maybe certain roles/ permissions were informed, and I am not one of them.

(It was unfortunate timing for TT not to be up - our shopper was planning to place our first order with AHG using TT that day, and was unable to log in to do so. She had to fall back on her Excel spreadsheets to place the order in time.)

Thanks!

---

<div class="post-metadata">

### Author: ![cubmaster165](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@cubmaster165](https://community.trooptrack.com/u/cubmaster165)
#### Post date: [December 12, 2016, 4:47pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/13 "2016-12-12T16:47:52Z")

</div>

Some better change management communication and timing would be nice. Announce to the community ahead of time when you plan to try an upgrade so that we can plan around it. Also, maybe these things can be done at the least busy times? Analyze traffic patterns and attempt during lowest usage times.

Hope you get it figured out.

---

<div class="post-metadata">

### Author: ![dave](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/dave/32/13_2.png) [@dave](https://community.trooptrack.com/u/dave)
#### Post date: [December 20, 2016, 4:41pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/14 "2016-12-20T16:41:31Z")

</div>

> [@Rails 5 is alive!](https://community.trooptrack.com/t/rails-5-is-alive/4128):
>
> Brainwaves come from the weirdest things. This morning, because of a minor error on my part, the drag-and-drop feature on the patrols/dens/sections page was broken in my development environment. Someh…

---

<div class="post-metadata">

### Author: ![joshuasanders](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/joshuasanders/32/231_2.png) [@joshuasanders](https://community.trooptrack.com/u/joshuasanders)
#### Post date: [December 20, 2016, 5:24pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/15 "2016-12-20T17:24:02Z")

</div>

I’m seeing some weirdness (perhaps in relation to the Ruby upgrade) on my patrol pages. Anyone that has a profile pic has this message instead.  
-Joshua

![](https://canada1.discourse-cdn.com/flex027/uploads/trooptrack/original/2X/8/88f9040d0c633ee5ddb7a83c089f0524636a1bd5.png)

---

<div class="post-metadata">

### Author: ![marste3945](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/marste3945/32/1785_2.png) [@marste3945](https://community.trooptrack.com/u/marste3945)
#### Post date: [December 20, 2016, 5:31pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/16 "2016-12-20T17:31:37Z")

</div>

This might be upgrade related, You are not allowed to upload “pdf” files, allowed types: jpg, jpeg, gif, png  
I uploaded a pdf yesterday.

---

<div class="post-metadata">

### Author: ![dave](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/dave/32/13_2.png) [@dave](https://community.trooptrack.com/u/dave)
#### Post date: [December 20, 2016, 6:17pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/17 "2016-12-20T18:17:29Z")

</div>

What happens if you upload a new avatar? Does it work then?

---

<div class="post-metadata">

### Author: ![dave](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/dave/32/13_2.png) [@dave](https://community.trooptrack.com/u/dave)
#### Post date: [December 20, 2016, 6:18pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/18 "2016-12-20T18:18:11Z")

</div>

We have lots of places in TroopTrack you can upload things - where exactly are you trying to upload a pdf?

---

<div class="post-metadata">

### Author: ![marste3945](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/marste3945/32/1785_2.png) [@marste3945](https://community.trooptrack.com/u/marste3945)
#### Post date: [December 20, 2016, 6:36pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/19 "2016-12-20T18:36:55Z")

</div>

Share \> Pack Documents \> Upload a Document

This might be related, When I edit a page on my Pack Web Site and try to add a picture I get the error  
"We’re sorry, but something went wrong. We’ve been notified about this issue and we’ll take a look at it shortly."

Share \> Home \> Manage this page \> Edit \> Image Button \> Browse Server

[https://colpack9.trooptrack.com/ckeditor/pictures?CKEditor=comatose\_page\_body&CKEditorFuncNum=1&langCode=en](https://colpack9.trooptrack.com/ckeditor/pictures?CKEditor=comatose_page_body&CKEditorFuncNum=1&langCode=en)

---

<div class="post-metadata">

### Author: ![MatthewPodraza](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.trooptrack.com/matthewpodraza/32/512_2.png) [@MatthewPodraza](https://community.trooptrack.com/u/MatthewPodraza)
#### Post date: [December 20, 2016, 6:53pm UTC](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014/20 "2016-12-20T18:53:41Z")

</div>

I uploaded a fresh picture and it displayed as expected.

[Next page](https://community.trooptrack.com/t/ruby-on-rails-upgrade-today/4014.md?page=2)
