General DOs and DONTs to follow during an upgrade (any gottchas in there?)

General DOs and DONTs to follow during an upgrade (any gottchas in there?)

skidudeskidude Posts: 6Questions: 3Answers: 0

Hi All:

I'm currently running DataTables (and Editor) on Ubuntu/Apache with PostgreSQL.
It's a beautiful thing, with a parent table and a child table. Working flawlessly. Performance is amazing.

Currently using:

DataTables-1.10.16
Editor-1.7.0
jQuery 3.2.1

Now considering to back up all my work and attempt an upgrade to the latest of everything.

Based on your wisdom and experience, would you recommend any particular approach as I work through this upgrade?
Are there any best practices to follow? Any pitfalls to avoid?

Thanks for any guidance, as there are many firsts in here for me.

-Alan

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @skidude ,

    Those releases are fairly recent, so the upgrade will just slip in - there wouldn't be any problems there.

    Cheers,

    Colin

  • skidudeskidude Posts: 6Questions: 3Answers: 0

    Indeed, I think my upgrade was successful. Here's what I did:
    1: back up my previous codebase
    2: make use of the download builder (no compression, no concatenation)
    3: capture the stylesheet and script references as generated for me.
    4: download the bundle, unzip it in Windows
    5: adjust my "front" page: replace the old css and script references w the new ones.
    6: using WinSCP, I pushed all the new components over to my web server.
    7: stop/start Apache, though probably not needed.

    This (upgrade process) was very straightforward. Apart from the tweaks in my "front" page, I did not have to adjust any of my own code or config. My own structures and configurations are in separate files, therefore safe from the overwrite of the new bundle. My application pops with data just as it should.

    Side Effect: With this upgrade I have switched from DataTables default styling to styling that is based on Bootstrap 4. I'll have to spend some time in that arena to get better visual results. As left yesterday the styling is pretty horrid. I will need to debug there and/or make some better styling determinations.

    But the upgrade to new components was as easy as it could possibly be.
    Thanks again for DataTables and Editor!

This discussion has been closed.