ContentBox installation issue

Downloaded from
https://contentbox.ortusbooks.com/intro/introduction

Installation started per the above doc (Commandbox installed).

Current environment, Windows 10, running Lucee 5.3.x

  1. CommandBox started the server and launched a web browser,
  2. I went to Lucee admin to create a datasource named “contentbox”
  3. Fed the create datasource option with “contentbox”, however, it complained such ds does not exist.

At one point mysteriously, it found the ds, however, it bombed at “Continue to install” process, with error like /index.cfm/cbinstaller

How to fix it?

Few questions? Are you trying to install the bleeding edge or stable version?

Also, what steps did you follow with CommandBox?

Luis Majano
CEO
Ortus Solutions, Corp
1-888-557-8057
909-248-3408

Support Open Source: www.patreon.com/ortussolutions
Linked In: https://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/lmajano

CommandBox:commandbox-win-5.1.1> server list
Processing (1) servers, please wait…

commandbox-win-5.1.1 (stopped)
http://127.0.0.1:56821
CF Engine: lucee 5.3.6+61
Webroot: C:\Users\dli\Downloads\commandbox-win-5.1.1
Last Started: 02-Oct-2020 17:05:52

  1. dir
    Oct 03,2020 16:10:50 cbsite/
    Sep 23,2020 18:09:49 coldbox/
    Oct 02,2020 17:10:33 config/
    Oct 02,2020 17:10:33 handlers/
    Sep 23,2020 18:09:44 includes/
    Sep 23,2020 18:09:44 interceptors/
    Oct 02,2020 17:10:33 layouts/
    Oct 02,2020 17:10:33 lib/
    Sep 23,2020 18:09:44 models/
    Oct 03,2020 12:10:08 myapp/
    Oct 02,2020 17:10:02 SimpleBlog/
    Sep 23,2020 18:09:55 testbox/
    Oct 02,2020 17:10:33 tests/
    Oct 02,2020 17:10:33 views/
    Sep 25,2019 14:09:22 0.9 KB .cfconfig.json
    May 05,2020 11:05:50 2.4 KB .cfformat.json
    Jul 31,2018 15:07:42 1.6 KB .cflintrc
    Jul 31,2018 15:07:42 0.3 KB .editorconfig
    May 27,2020 17:05:40 0.5 KB .env
    May 27,2020 17:05:40 0.5 KB .env.example
    Jul 21,2020 17:07:38 1.9 KB Application.cfc
    Jun 01,2020 13:06:14 89.0 MB box.exe
    Sep 23,2020 18:09:02 0.7 KB box.json
    May 27,2020 17:05:40 0.5 KB env.example
    Oct 01,2018 15:10:28 1.1 KB favicon.ico
    Sep 24,2019 08:09:32 0.4 KB index.cfm
    Sep 24,2019 16:09:04 0.7 KB readme.md
    Sep 24,2019 08:09:32 0.5 KB robots.txt
    Oct 03,2020 15:10:24 0.1 KB server.json

// note “cbsite”
// was created by me yesterday via “mkdir cbsite” and contentbox was installed there

  1. CommandBox:commandbox-win-5.1.1> cd cbsite
    C:\Users\dli\Downloads\commandbox-win-5.1.1\cbsite\

  2. server start

  3. see screenshot
    for datasource created tab, it bombed out. fyi, “contentbox” ds has already been created via lucee admin.
    err msg: see screenshot

Thanks.

This doesn’t tell me which command you use to install ContentBox still?

Luis Majano
CEO
Ortus Solutions, Corp
1-888-557-8057
909-248-3408

Support Open Source: www.patreon.com/ortussolutions
Linked In: https://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/lmajano

" install contentbox-installer" per https://contentbox.ortusbooks.com/getting-started/installation/commandbox-installation,
I did it yesterday after the command of creating a new folder named “cbsite” and cd to that folder, “mkdir cbsite --cd”

Here's the content of the "runtime.template" under "config" directory, not
sure if it stands in the way. Also, contentbox seems failed to identify
existing datasources under Lucee installation.

# Driver only used by ACF11+
DB_DRIVER=MySQL5
# Type is only used by Lucee instead of Driver
DB_TYPE=mysql

# Connection String or URL in ACF terms
# DB_CLASS=org.gjt.mm.mysql.Driver

I am revising all your steps, because I cannot replicate it locally.

So can you do me a favor, you say that it errors when you go to `/Index.cfm/cbinstaller`. Can you paste the exception, because, I cannot see any error stack trace anywhere.

Luis Majano
CEO
Ortus Solutions, Corp
1-888-557-8057
909-248-3408

Support Open Source: www.patreon.com/ortussolutions
Linked In: https://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/lmajano

As mentioned earlier, at some point, it mysteriously continued the installation to the point of " /Index.cfm/cbinstaller " error.
But, currently, once server is started “server start” and consequently launched a web browser, it asked for datasource, at URL,
http://127.0.0.1:49437/modules/contentbox-dsncreator/
Since a datasource of “contentbox” for both “admin” role and “web” role has been created I used the “datasourc already created” option and attempted to feed the installer with “contentbox”,however, it is unable to find the Lucee datasource ( err msg has been posted earlier ).

when you say “cannot replicate it locally.”, was it your local computer a windows 10 running Lucee5.3.x?

Yes, on my windows 10 machine.

However, you still have not responded my question.

As mentioned earlier, at some point, it mysteriously continued the installation to the point of " `/Index.cfm/cbinstaller` " error.

What error? Where is the stack trace on that error? I don’t know what error means? Can you make sure you send us the full exception here, because that’s the only way I can track things :slight_smile:

If the installer fails then the dns creator will repeat itself because you the installer is the one that removes the dns creator.

Luis Majano
CEO
Ortus Solutions, Corp
1-888-557-8057
909-248-3408

Support Open Source: www.patreon.com/ortussolutions
Linked In: https://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/lmajano

WHAT ARE YOU TALKING ABOUT “NOT RESPONDING TO YOUR QUESTION”?

THAT “/Index.cfm/cbinstaller` " error.” CANNOT be reproduced because it bombed out at datasource verification process ( see screenshot posted previously ) as CLEARLY indicated in previous message. It really SUCKS with a LOUSY ATTITUDE!

Hi Don, if your running "server start", you are running Lucee within the
inbuilt CommandBox server, not your C:/Lucee. Use the CommandBox Lucee icon
in the right corner of your windows desktop task bar that will appear when
CommandBox starts its Lucee instance. There you'll finde how to access the
Lucee Server Administrator of your running CommandBox Lucee instance. You
need to set the datasource in that Server Administrator, not in the other.

Good luck, andreas

Hi Don.

First of all, Remember that this is totally free and open source support.

Second of all, text does not transmit emotions. So please don’t read into things that don’t exist.

Thirdly, we devote all of our time to help and assist for many years now in the best of our capacity. Our team has been fully into helping and assisting developers now for more than 14 years. So If I am asking for something, it is because I cannot replicate and cannot fully understand the issue.

So if I have no stack trace or an actual exception that can be trackable, I cannot reproduce or even figure out what went wrong with your installation.

I would suggest you start fresh and even do a screencast so I can visualize what happens. Because, so far, I cannot address or replicate or even begin to see where the problem lies.

Happy to serve!

Luis Majano
CEO
Ortus Solutions, Corp
1-888-557-8057
909-248-3408

Support Open Source: www.patreon.com/ortussolutions
Linked In: https://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/lmajano