# Upgrade Lucee 5.2 to 5.3

**URL:** <https://dev.lucee.org/t/upgrade-lucee-5-2-to-5-3/7251>\
**Category:** support\
**Created:** [July 22, 2020, 6:24am UTC](https://dev.lucee.org/t/upgrade-lucee-5-2-to-5-3/7251 "2020-07-22T06:24:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Diederich](https://dev.lucee.org/user_avatar/dev.lucee.org/michael_diederich/32/3723_2.png) [@Michael\_Diederich](https://dev.lucee.org/u/Michael_Diederich)\
**Post date:** [July 22, 2020, 6:24am UTC](https://dev.lucee.org/t/upgrade-lucee-5-2-to-5-3/7251/1 "2020-07-22T06:24:04Z")

</div>

I want to upgrade my Lucee 5.2.8.50 to 5.3.

I read the changes / backwards compatibility from this thread: [https://lucee.daemonite.io/t/kabang-lucee-5-3-beta-released/3891](https://lucee.daemonite.io/t/kabang-lucee-5-3-beta-released/3891)  
Is there anything more I could check? I have already Tomcat 8 and Java (OpenJDK) 9.  
Is the latest final 5.3 ok or should I start with another version?

_Don’t forget to tell us about your stack!_

**OS** : Ubuntu 18 LTS  
**Java Version** : OpenJDK 9  
**Tomcat Version** : 8  
**Lucee Version** : 5.2.5.80

---

<div class="post-metadata">

**Author:** ![cfmitrah](https://dev.lucee.org/user_avatar/dev.lucee.org/cfmitrah/32/140_2.png) [@cfmitrah](https://dev.lucee.org/u/cfmitrah)\
**Post date:** [July 22, 2020, 6:43am UTC](https://dev.lucee.org/t/upgrade-lucee-5-2-to-5-3/7251/2 "2020-07-22T06:43:35Z")

</div>

@Michael_Diederich Latest release version 5.3.6.61 is OK. But, please update the tomcat and java version too. It would be a little help to prevent some other issues. And if you face any error means, please share it here 🙂.

---

<div class="post-metadata">

**Author:** ![Michael\_Diederich](https://dev.lucee.org/user_avatar/dev.lucee.org/michael_diederich/32/3723_2.png) [@Michael\_Diederich](https://dev.lucee.org/u/Michael_Diederich)\
**Post date:** [July 22, 2020, 11:00am UTC](https://dev.lucee.org/t/upgrade-lucee-5-2-to-5-3/7251/3 "2020-07-22T11:00:07Z")

</div>

I tried to upgrade them manually but I failed, so reinstalled lucee with the latest installer.

I created one datasource, activated “preserve case” for keys (not all UPPERCASE) and activated “full null support” (as I had in lucee 5.2) and I get this error:

`lucee.runtime.exp.DatabaseException: the required sql string is not defined in the body of the query tag, and not in a sql attribute`

The code is a `query.execute().getResult();` and the SQL is set with `query.setSql('SELECT...');` some lines above, before a loop starts.

I downgraded to the working mysql adapter to 5.1.40, same error message.

Any ideas what I could do?

---

<div class="post-metadata">

**Author:** ![Michael\_Diederich](https://dev.lucee.org/user_avatar/dev.lucee.org/michael_diederich/32/3723_2.png) [@Michael\_Diederich](https://dev.lucee.org/u/Michael_Diederich)\
**Post date:** [July 22, 2020, 11:20am UTC](https://dev.lucee.org/t/upgrade-lucee-5-2-to-5-3/7251/4 "2020-07-22T11:20:14Z")

</div>

New Stack:

Lucee 5.3.6.61  
Tomcat/9.0.35  
Java: 11.0.7 (AdoptOpenJDK) 64bit

---

<div class="post-metadata">

**Author:** ![Zackster](https://dev.lucee.org/user_avatar/dev.lucee.org/zackster/32/3484_2.png) [@Zackster](https://dev.lucee.org/u/Zackster)\
**Post date:** [July 22, 2020, 11:34am UTC](https://dev.lucee.org/t/upgrade-lucee-5-2-to-5-3/7251/5 "2020-07-22T11:34:54Z")

</div>

> [@Michael\_Diederich](#):
>
> lucee.runtime.exp.DatabaseException: the required sql string is not defined in the body of the query tag, and not in a sql attribute

I believe that’s this issue [[LDEV-2292] - Lucee](https://luceeserver.atlassian.net/browse/LDEV-2292)

---

<div class="post-metadata">

**Author:** ![Michael\_Diederich](https://dev.lucee.org/user_avatar/dev.lucee.org/michael_diederich/32/3723_2.png) [@Michael\_Diederich](https://dev.lucee.org/u/Michael_Diederich)\
**Post date:** [July 22, 2020, 11:41am UTC](https://dev.lucee.org/t/upgrade-lucee-5-2-to-5-3/7251/6 "2020-07-22T11:41:27Z")

</div>

Thanks, so I have to check every file for `clearParams()` - great ☹

---

<div class="post-metadata">

**Author:** ![Michael\_Diederich](https://dev.lucee.org/user_avatar/dev.lucee.org/michael_diederich/32/3723_2.png) [@Michael\_Diederich](https://dev.lucee.org/u/Michael_Diederich)\
**Post date:** [July 23, 2020, 6:01am UTC](https://dev.lucee.org/t/upgrade-lucee-5-2-to-5-3/7251/7 "2020-07-23T06:01:17Z")

</div>

I found one more issue and update the ticket in the bug tracker: [[LDEV-730] - Lucee](https://luceeserver.atlassian.net/browse/LDEV-730)
