Lucee 4.5 to 5 RC

75 views
Skip to first unread message

Ivan

unread,
Apr 14, 2016, 11:53:36 AM4/14/16
to Lucee
Hi everyone,
I'm simulating a migration from Lucee version 4.5 to 5rc.

I try to explain quickly.





HTTP
Status 404 -

type
Status report

message

description The requested resource is not available.

Apache Tomcat/8.0.28




I tried to restart the VPS, but have not solved ...

tips? -_-

Ivan

unread,
Apr 14, 2016, 12:09:39 PM4/14/16
to Lucee

I forgot the last log: catalina.out

Jordan Michaels

unread,
Apr 14, 2016, 2:28:15 PM4/14/16
to lu...@googlegroups.com
Hi Ivan:

- in /opt/lucee/bin remove all jar (rm *.jar)

I am not familiar with the /opt/lucee/bin directory. Where did that come from? The directory you're probably looking for is /opt/lucee/lib. Remove what's in that directory and drop in the lucee-5.0.0.219-RC.jar (or whatever version you're upgrading to) into that directory. You should NOT be changing the content of "bin" directories (unless you're updating more than just Lucee.

Hope this helps.

--
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: "Ivan" <ivan....@gmail.com>
To: "Lucee" <lu...@googlegroups.com>
Sent: Thursday, April 14, 2016 8:53:36 AM
Subject: [Lucee] Lucee 4.5 to 5 RC

Hi everyone,
I'm simulating a migration from Lucee version 4.5 to 5rc.

*I try to explain quickly.*


- downloaded and compiled nginx
- Migrated all files & DB on the migration test VPS
- Download and install this:
http://cdn.lucee.org/downloader.cfm/id/143/file/lucee-4.5.2.018-pl0-linux-x64-installer.run
- I configured the file /opt/lucee/tomcat/conf/server.xml so:
*https://gist.github.com/ivanionut/264621ea1097d675736737a955b7f4da*
<https://gist.github.com/ivanionut/264621ea1097d675736737a955b7f4da>
- *tested. Everything works!*
- Stop lucee (sudo /opt/lucee/lucee_ctl stop)
- in /opt/lucee/bin remove all jar (rm *.jar)
- create /opt/lucee/bin/*etc*/
- download from here: http://preview.lucee.org/download/ this
http://release.lucee.org/rest/update/provider/loader/5.0.0.235-RC in
/opt/lucee/bin/etc/ and rename this in “*lucee.jar*” (and chmod 777
lucee.jar *Just to be sure...*)
- Start lucee (sudo /opt/lucee/lucee_ctl start) and go to http://ip:8888
- *after a few minutes, comes out error:*



HTTP Status 404 -

type Status report

message

*description *
*The requested resource is not available.*
Apache Tomcat/8.0.28




I tried to restart the VPS, but have not solved ...

tips? -_-

--
Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/35337a86-56c7-47d1-a0a5-5a1fd867d271%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
luceelib.png

Ivan

unread,
Apr 14, 2016, 4:31:24 PM4/14/16
to Lucee
Yes you are right.... I wanted to write /opt/lucee/lib/etc/
I now put the jar file into /opt/lucee/lib/ (without etc as written in the guide) but the situation does not change ...

Ivan

unread,
Apr 14, 2016, 4:57:27 PM4/14/16
to Lucee
I tried to do a new installation (entire VPS, to make sure I have not forgotten anything).
Everything works fine with version 4.5

Now, after updating to version 5, the Lucee process dies.

Jordan Michaels

unread,
Apr 14, 2016, 5:15:57 PM4/14/16
to lu...@googlegroups.com
I just did the following on a Ubuntu system:

sudo ./lucee-4.5.2.018-pl0-linux-x64-installer.run
sudo /opt/lucee/lucee_ctl stop
cd /opt/lucee/lib/
sudo rm -rf *
cp /path/to/lucee-5.0.0.235-RC.jar /opt/lucee/lib/
sudo /opt/lucee/lucee_ctl start

Worked like a charm.

--
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: "Ivan" <ivan....@gmail.com>
To: "Lucee" <lu...@googlegroups.com>
Sent: Thursday, April 14, 2016 1:57:26 PM
Subject: Re: [Lucee] Lucee 4.5 to 5 RC

I tried to do a new installation *(entire VPS, to make sure I have not
forgotten anything)*.
*Everything works fine with version 4.5*

Now, after updating to version 5, the Lucee process dies.
This is the complete log of
catalina.out: https://gist.github.com/ivanionut/14935030b9caf4dc814f169eaa3dc932

--
Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/223e916d-c7ec-4ff0-82ea-1e5b818b8833%40googlegroups.com.

Jordan Michaels

unread,
Apr 14, 2016, 5:19:26 PM4/14/16
to lu...@googlegroups.com
I should point out that if you have settings in your Lucee admin that you want to KEEP, this is not the way to do that. If that's the case, you'll want to preserve your lucee-server directory which contains your server-based settings if that's the case.

Hope this helps.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/399442532.527682.1460668553551.JavaMail.zimbra%40viviotech.net.

Ivan

unread,
Apr 15, 2016, 9:25:56 AM4/15/16
to Lucee
Hello,
  • doing a clean install of the 4.5 version and upgrading the jar to version 5, it works well.
  • I also executed a clean installation of version 4.5 and set up the server.xml file (tomcat). Result: Lucee 4.5 work. But if I upgrade (jar) to version 5, Lucee 5 does not start ...

I solved more easily doing a clean installation of Lucee 5 and then I imported the old settings manually ...

thank you Jordan for your advice (and also for your useful linux installer)!
Reply all
Reply to author
Forward
0 new messages